5 ms·
We're happily writing everything Java in 2022. We have quick development turnaround, developer productivity, high execution speed, simplicity, reliability, and
by exabrial 4y ago
We're happily writing everything Java in 2022. We have quick development turnaround, developer productivity, high execution speed, simplicity, reliability, and transparency. CDI, Tomcat, JAX-RS, slf4j, JPA, Junit, Mockito, Hawtio, Maven, ActiveMQ are all things we leverage. Everything is monitored in production, and we handle thousands of messages per second and thousands of requests per second, all on modest hardware. Deployments are super simple too: everything is packaged up as a native Debian package using the JDeb maven plugin and is a one touch install. Isolation is done using systemd, avoiding the rat race and un-needed complexity of docker and other complicated tech.
- pojzon 4y agoPpl are slowly fighting with millions of requests / messages per minute. Java is not feasible to work in that world. JVM is too heavy to do that. Modern languages like Go are much better for that. If I recall correctly soon half of all new projects will start as a Go project.
- exabrial 4y agoWe easily push 1 million messages per second with a 512m heap and two cpu cores, and 80m of heap to applications... so I'm not sure what about that is "heavy" or "unsuited" but... I mean ok. We also spent 0 time trying to optimize this because it's so fast by default.
- pojzon 4y agoWhats yoir architecture how fast you scale up and down, can you handle 10million requests per minute without warm up on scaled down infrastructure ? How long will it take to scale out? How easy it is to write event driven architecture, can ppl pick up the code in two days and become efficient? Java has issues that other languages requiring a bit more grunt work dont have.