Giriş
Genellikle bulut sağlayıcısı tarafından sunulur. Açıklaması şöyle. Yani geliştirici koduna odaklanıyor ve geri kalan altyapısal şeyleri PaaS platformu sağlıyor
PaaS (Platform as a Service) is essentially having the cloud provider host and manage both the infrastructure and database components. PaaS services vary, but in nearly all cases, backups, high availability, and patching are taken care of by the cloud vendor. In some cases, your service may auto scale with the workload.
Heroku, Google App Engine, Azure App Service gibi PaaS sağlayıcıları var
Heroku
Örnek
Bir örnek şöyle
And finally, Platform as a Service (PaaS) providers like Heroku have spent the last decade working out how to outsource not only application hosting but also the add-on marketplace. They take care of the infrastructure and the platform with pre-configured installations of a wide variety of technology stacks. You can kick the tires on third party suppliers, get ideas to market in just hours, and easily pay for their services through one bill.
Örneğin Heroku Streaming Data Connectors yeteneği sağlar. Bu yetenek şu işe yarar.
The way this works is that you add a managed Kafka and a "data connector" to your Heroku application, defining the tables and columns where changes should generate events. Then, you can set up your new microservices to consume events from Kafka topics.
Böylece Change Data Capture (CDC) işlevi çalışmaya başlar. Bu işlev ile şunu yapabiliriz.
Say you want to add an onboarding email flow to your application, so that new users receive helpful emails over the course of several days after they create an account. Using CDC, you can create this new flow as a microservice. Whenever a new user record is added to your main users table, a new event is created. Then, your new microservice would consume that event and manage the onboarding process, without requiring any further changes to your main legacy application. Another example would be to send users an exit survey after they deleted their account, to capture data on why your service no longer meets their requirements.
Hiç yorum yok:
Yorum Gönder