August 2018
Intermediate to advanced
314 pages
8h 9m
English
The twelve-factor methodology emphasizes that all processes or components of the application must be stateless and share-nothing, that is, they should not store information. Therefore, in an application decomposed into microservices, each microservice must not store information in memory or use the server cache. This is an important factor for escalating an application. If there is a need to store some states between the requests, or some data to be used later, we can use a database.
When we use memory to store information for later use in another request, we run a risk because the next request may be in a different process (or the request can even be processed by another server):
Read now
Unlock full access