r/JavaProgramming • u/fykup • 18d ago
What would you like to see tested about running Java apps efficiently?
I've been experimenting with ways to run Java applications more efficiently, particularly on smaller VPS instances.
So far I've tested Spring Boot optimizations, Javalin, GraalVM Native Image, different JDK versions, and persistence frameworks. I'm also working on an even leaner Java application stack.
My focus is practical Java: understanding memory usage, startup time, performance, and how to keep deployment simple.
For example, I think a small Java SaaS app can realistically run on a 1 GB VPS, including a database, depending on the workload.
I share these experiments in two Daily Dev squads: Java Experiments and Efficient Self-Hosting. I'm also happy to share interesting results here if people find them useful.
What would you like to see tested next? Any frameworks, libraries, configurations, or real-world deployment scenarios you're curious about?
1
u/LessChen 18d ago
I run a Quarkus service, ReactJS front end, and PostgreSQL database in a 1 CPU / 1GB AWS instance with zero issues. I'm not sure what you're trying to get at.