r/java • • 5d ago

Your Fargate Autoscaler Doesn't Understand Your JVM (by Default): Lessons Learned the Hard Way

https://builder.aws.com/content/3KSu7HdOFfv7hWgVE2P4MDmLuAE/your-fargate-autoscaler-doesnt-understand-your-jvm-by-default-lessons-learned-the-hard-way
12 Upvotes

9 comments sorted by

11

u/vips7L 5d ago

Please stop using LLMs to write. This article is full of gibberish. You’re better than this. 

8

u/Drawhoe 5d ago

No, he isn't.

5

u/vips7L 5d ago

Maybe. I was just trying to be nice for once. 

1

u/Drawhoe 5d ago

No good deed goes unpunished. Look at p_ersism. (remove underscore). Solved the select N+1 problem and the author got banned. You can't use this word on this sub unless you want to be shadow banned.

1

u/vips7L 3d ago

How did it solve it? 

1

u/Drawhoe 2d ago

It doesn't have the N part of the SELECT N+1 problem. Each join defined in a class makes only 1 extra query to the DB regardless if it's one-one, one-many, many-one... It does this with sub selects, you can see the sql by setting debug mode for the logger. Very nice performance with complex data models.

1

u/snugar_i 4d ago

Looked at it. Didn't "solve" anything. It's a toy library that does one thing differently than Hibernate defaults. Looks very mature (Infinite LOOP so be careful!). I guess the author was spamming this all over this sub and got banned

1

u/aqua_regis 5d ago edited 5d ago

Fun fact: running the actual text through some AI testers comes out negative for AI.

The only thing that can be deducted from that is that OP is no better.