Microservices (Beta)
As part of the move towards microservice-oriented development, Canvas offers the following features as microservices. These microservices shall be provided as Docker container images, which can be deployed on your project or application Dockers.
- Metadata – This microservice fetches the metadata of Canvas components such as apps, forms, workspaces, etc. used in your application. When a customer logs-on to your application and clicks on a widget or form, all the requests for the metadata shall be routed to the microservice. The microservice will connect to the database to retrieve the metadata for the first time. Earlier, the metadata retrieval for the Canvas components was handled via Widget Controller Servlet.
- Notifications – This microservice takes care of sending the alerts such as SMS, email, push notifications and inbox. There is no impact to the application flow due to this new microservice because it is a standalone service that exposes the notification capability as a readily consumable service.
Microservices-based development offers the following benefits:
- Modularized deployment of features
- Load distribution on the server
- Easier application scaling
- Reduction in server startup time from seven seconds to one second.
For more information, refer Canvas Microservices (Beta).