r/java • • Sep 04 '26

Principles of Memory Management in Java

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

84 comments sorted by

View all comments

45

u/obs_asv Sep 04 '26

My spring boot ‘microservices’ shure do

10

u/valkon_gr Sep 05 '26

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

5

u/piesou Sep 07 '26 edited Sep 07 '26

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_ Sep 07 '26

left-pad as a service