The challenge of rendering HTML markup has been present since the inception of the web. This problem is solved by a multiple patterns mostly on the server side. Such patterns as...
The challenge of rendering HTML markup has been present since the inception of the web. This problem is solved by a multiple patterns mostly on the server side. Such patterns as...
Model View Controller is a well known pattern, which was described in the late 1970s. Since then, it is widespread architectural pattern, which influenced many frameworks and...
The Repository is a design pattern, which helps to load data from the database providing abstract API, concealing the storage implementation details.
Lazy load is a pattern to get data the data at the last moment, when it is actually required. This pattern is applied, when loading the data can have negative performance impact....
Unit of work collects all changes about domain objects, that need to be synced (with the database) and lets committing those at the end of a (business) transaction. Tracking and...
In the book Patterns of Enterprise Application Architecture by Martin Fowler two patterns are defined to handle business logic in the system. I do not think that much have changed...
Microservices can communicate synchronously and asynchronously. These are the main group of communication means for microservices. Lest dig in to unwrap, what does it mean.
You want to scale your microservice, when the load exceeds the available resources. Resources can be CPU, RAM, database throughput, workers pool. I will describe two common...
Transactions in microservices are not possible, because of the distributed nature of microservices. Though you can implement compensation mechanisms to handle failures in multiple...
patterns by Sam Newman from the book Microservices 2nd edition