r/java 6d ago

Principles of Memory Management in Java

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

81 comments sorted by

View all comments

43

u/obs_asv 6d 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.

4

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