Microservices Architecture Handbook: Non-Programmer’s Guide for Building Microservices
Rate it:
Kindle Notes & Highlights
12%
Flag icon
Problems of Monoliths Large-size monoliths are hard to maintain and evolve due to their complexity. Finding bugs requires long perusals through their code base. Monoliths also suffer from the “dependency hell,” in which adding or updating libraries results in inconsistent systems that either do not compile/run or, worse, misbehave. Any change in one module of a monolith requires rebooting the whole application. For large projects, restarting usually entails considerable downtimes, hindering the development, testing, and maintenance of the project. Deployment of monolithic applications is ...more
This highlight has been truncated due to consecutive passage length restrictions.
Hossam
Problems of monolithic
52%
Flag icon
A microservice has a database per service pattern, meaning that it has an independent database for every dependent or independent service.
Hossam
Microservice DB
57%
Flag icon
Testing Pyramid To illustrate testing microservices, we use the testing pyramid. The Testing pyramid showcases how a well-designed test strategy is structured.   Testing Pyramid: -        System Tests (Top) -        Service Tests (Middle) -        Unit Tests (Bottom)
Hossam
Testing pyramid
70%
Flag icon
In 2012, Adam Wiggins developed a set of principles known as a 12-factor app, which can be used to deploy microservices.
Hossam
12 rules for microservices
85%
Flag icon
A circuit breaker is a fault monitor component which is configured to each service in the application. The fault monitor then observes service failures, and when they reach a certain threshold, the circuit breaker stops any further requests to the services. This is essential in avoiding unnecessary resource consumption by requesting delay timeouts. It is also important in monitoring the whole system.
Hossam
Circuit Breaker