Mateus Prado discusses microservices and their advantages over monolithic architectures. Some key points of microservices include:
- They are small, independently deployable services that focus on doing one thing well. This makes them easier to develop, test, and maintain.
- Their independence allows for different services to be written in different programming languages and use different data stores. This promotes flexibility and experimentation.
- Their modularity enables individual services to scale independently based on demand. It also allows failed services to be replaced without disrupting the entire system.
- Automating deployment through continuous delivery is important to take advantage of microservices' properties and enable rapid, resilient deployment of changes.
14. Small, single responsibility
Fit in your head
“If a class is bigger than my head then it is too
big”
You can throw them away - rewrite, maintain
Easy to test.
15. Resilience
Yes, they will fail, inevitably happen when least desired.
Failures test in production?
Yes.
If you do not find, your customer will.
Deploy automation, continuous delivery…
17. Many technologies
Use Ruby for GET /users/login
Use Java for POST /checkout
Use C for GET /metrics/time-first-byte
Use .Net for GET /about-us :)
Try languages, db, queue