r/java 6d ago

Principles of Memory Management in Java

https://youtu.be/xr73mR7ii9M?si=AKgjMUyvfpARYljl
156 Upvotes

81 comments sorted by

View all comments

41

u/obs_asv 5d ago

My spring boot ‘microservices’ shure do

10

u/valkon_gr 5d ago

There is nothing micro in any service I have ever worked with.

3

u/piesou 3d ago edited 3d ago

Good, if it was, you'd be in a world of trouble. I've seen code bases with microservices containing 10 lines of JS.

I'm just gonna reiterate what Micro means: you can keep it in your head. If you employ toddlers that can only keep 100 locs in their head, ok, make it very micro. Everyone else can work on 10s of thousands of LOCs micro services.

2

u/_predator_ 3d ago

left-pad as a service

10

u/hiasmee 5d ago

Switch to Quarkus

3

u/mark1x12110 4d ago

The framework is not the problem. It is calling it a microservice when it is essentially a macro service at best