DEV Community

Ashik Patel
Ashik Patel

Posted on

2 1

Microservices at First !

Image description
Hey There !
let's talk about microservices.

Basic principles:

  • Microservices serve only one specific solution to the given problem. For an example, we can retrieve all the list of top 10 movies from the backend of our streaming app.

  • It can be deployed completely on independent system which do not necessarily have any relation with main system.

  • It always communicate over http methods.

Umm, Benefits ?

  • New Developers do not need to understand whole application and can focus on main assigned area.

  • These services can be developed by independent team according to the requirements.

  • No programming language barrier for developing microservices. You can choose best language according to need.

  • Bingo ! if one specific service goes down, take a deep breath your application won't get affected by this failure.

Whoah ! Drawbacks !!

  • Hard to Monitor end-to-end development

  • Dependency problems if one microservice depend on other when it is time to roll back changes.

  • Hard to test

  • All complexity now bear by network layer as it communicates via network protocols.

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay