Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why migrate your application to microservices?

Why migrate your application to microservices?

Joubert RedRat

July 20, 2022
Tweet

More Decks by Joubert RedRat

Other Decks in Technology

Transcript

  1. Before all, what is monolith? • Business logic, libraries, assets,

    database access, all inside one service or process Why migrate your application to microservices?
  2. What is microservices anyway? • Strategy of software architecture •

    Application as suite of services • High cohesion, low coupling, autonomous and independent • Simple and agnostic communication, HTTP, AMPQ Why migrate your application to microservices?
  3. Where it can have advantages? • Easily to understand and

    develop in small contexts • Vertical and/or horizontal scalability • Easily to deploy • Technology diversity • Easily to do tests Why migrate your application to microservices?
  4. Why migrate your application to microservices? Source: https://www.thoughtworks.com/pt/insights/blog/microservices-nutshell One monolithic

    application have all your functionalities in one unique process... ...and scales replicating the monolithic in multiple servers The microservices architecture put every element of functionality in a separated service... ...and scales distributing the services between servers, replicating by demand
  5. And the disadvantages? • Complexity in implementation and operation of

    distributed systems • Difficulty to monitoring • Premature optimization • Resistance to DevOps culture • Is a enemy of MVP Why migrate your application to microservices?
  6. Why migrate your application to microservices? My , all running

    normally Accounts Collection Invoices Notifications Streaming
  7. Why migrate your application to microservices? Then, promotion? So much

    people registering? We need to scale accounts! Accounts Collection Invoices Notifications Streaming Accounts Accounts Accounts Accounts
  8. Why migrate your application to microservices? Ah, the promotion over?

    Sure, let’s return accounts to initial state Accounts Collection Invoices Notifications Streaming
  9. Why migrate your application to microservices? We need to inform

    our clients about new videos, let's scale Notifications! Accounts Collection Invoices Notifications Streaming Notifications Notifications Notifications Notifications
  10. Why migrate your application to microservices? All people notified, all

    was right! Accounts Collection Invoices Notifications Streaming
  11. Why migrate your application to microservices? Wow! Our invoices isn't

    working, our staff going to solve, but our clients can watch normally Accounts Collection Invoices Notifications Streaming
  12. Why migrate your application to microservices? Yes! Solved, this give

    so much work :) Accounts Collection Invoices Notifications Streaming