r/SpringBoot • u/MaterialAd4539 • Aug 09 '24
Where to start in Microservices & design patterns?
Can someone please provide me a rough roadmap of what all topics to cover in Microservices & design patterns to get a basic idea of what's generally being used in projects.
6
Aug 09 '24
By working with the design pattern spring-mvc who allows you to separate the composants of your project and to work with different type of modules from spring like spring datas, spring security, etc.
Don’t forget to initially design your database with the Merise method followed by UML diagrams. It will ease your work when you’ll start manage your entities.
5
u/MiserableBoss Aug 10 '24
Here is Some terms which you can google
Configuration server, Eureka server, Eureka client, Gateway, Authentication, Loadbalancer, Circuit breaker
5
4
u/HungryAnxiety4557 Aug 11 '24
Check this.
🚀 🔥 Mastering Microservices: Spring boot, Spring Cloud and Keycloak In 7 Hours https://youtu.be/jdeSV0GRvwI
3
u/devo_bhai Aug 12 '24
He is the only youtuber i found most helpful on youtube yet!!
If you know other who are good.
Please recommend for us senpai
2
u/Which_Description_97 Aug 10 '24
You can go with laur spilca on YouTube, he has playlist on soft arch and it’s for free.
2
u/WaferIndependent7601 Aug 09 '24
Don’t learn microservices. Learn how to create a modolith.
1
1
u/devo_bhai Aug 12 '24
That's a very strong argument to say!!
I would say try both and see what fits your requirements for the projects!!
2
u/Sheldor5 Aug 09 '24
Microservice Architecture is almost never used, it is just hyped but brings so many disadvantages that it literally kills startups and small companies (they are going bankrupt because it is extremely time consuming and therefore costs are sky rocketing even for little changes).
Just don't do it.
3
u/theanadimishra Aug 10 '24
Microservices is not a silver bullet, but is neither a hype, it’s one of the ways to build distributed systems. If your use cases are not of scale, rapid roll out of services and the like then yes a stateless monolith is still as good at it in terms of scalability
6
u/theanadimishra Aug 10 '24
Start with Microservices.io Chris has put the literature in a good progression of increasing complexity while starting from simpler use cases. Sam Newman’s book is also a good starter 👍🏼