-
Book Overview & Buying
-
Table Of Contents
Machine Learning in Microservices
By :
The first step in refactoring the ABC-monolith is to create the microservices based on the system functions we previously identified. This is a straightforward mapping between the existing functions and the microservices.
The key point here is that, by looking only at each function by itself without considering any function calls or data connections, you need to be as granular as possible in your function decomposition.
At first glance, the notify_user() function is doing too many things for a microservice, displaying a web user message status/update, notifying the user by email, and/or notifying the user by SMS. Each of these functions can have its own rules, design, issues, and concerns. Splitting the notify_user() function into three functions is a better approach from an MSA perspective to achieve the separation of concerns.
Accordingly, we split the notify_user() function into one function for handling web messages and notifications, one for handling...
Change the font size
Change margin width
Change background colour