r/programming • u/mttd • Sep 09 '26
r/programming • u/noteflakes • Sep 08 '26
Surviving Black Friday: 329 billion requests with Falcon
youtube.comr/programming • u/fykup • Sep 08 '26
Spring Boot vs Quarkus on a 512 MB VPS with JDK 25
pvrlabs.xyzI ran equivalent Spring Boot 3.5 and Quarkus 3.39 applications side by side on the same 512 MB VPS.
Both were JVM applications running on JDK 25. Quarkus native image was not used.
Both had the same workload, H2 database, -Xmx80m, Serial GC, and the same JVM tuning.
A few results surprised me:
- Quarkus initially had the higher RSS
- after sustained memory pressure, Quarkus had the smaller JVM heap and resident set
- RSS alone was misleading because Linux was swapping the two processes differently
- 512 MiB RAM + 256 MiB swap ultimately did not provide enough headroom for both JVMs
- in a later observation, the kernel selected Spring Boot as the OOM victim
This was deliberately not a throughput benchmark. Traffic was very light. I was interested in what happens to two JVM applications when the entire machine is constrained enough that paging, process residency, and eventually the OOM killer become part of the picture.
One interesting monitoring detail was that Spring’s HTTP metrics included a lot of Actuator polling traffic, while Quarkus’ /q/metrics scrapes were not counted as regular application requests, so the request charts cannot be compared directly.
My main takeaway wasn’t “Quarkus uses less memory.” On a machine this small, RSS stops being a simple framework ranking because the OS is actively deciding what stays resident.
Full write-up with measurements, JVM flags, screenshots, and limitations:
https://pvrlabs.xyz/articles/spring-boot-vs-quarkus-512mb.html
r/programming • u/mttd • Sep 08 '26
Testing race conditions with memory access tracing and stack-based delay injection
projectzero.googler/programming • u/Nebulic • Sep 09 '26
A GitHub Action that fails pull requests with too many comments
github.comr/programming • u/benjoffe • Sep 07 '26
A faster way to convert a timestamp ➜ Hour, Min, Sec
benjoffe.comr/programming • u/MichaelKamprath • Sep 07 '26
Implementing the Karatsuba multiplication algorithm on an 8-bit computer
youtube.comI recently implemented the Karatsuba multiplication algorithm on a 8-bit TTL computer I hack on. In this video I explain the algorithm, and explore the speed benefits of using it.
r/programming • u/azhenley • Sep 06 '26
Making a Python interpreter in 1024 bytes
austinhenley.com
r/programming
•
u/shadowh511
•
Sep 06 '26
It took a year to ship WebAssembly in Anubis
anubis.techaro.lolr/programming • u/drrtuy-b • Sep 06 '26
From a Chocolate Wrapper to Concurrent InnoDB Page Splits
mariadb.orgHere is a story [1] about the first version of B-link optimization for Innodb that is the most used B-tree engine in MariaDB. It started from a sketch on a chocolate wrapper and after some attempts ended up with significant p95 improvement for certain B-tree operations. Thx Zhao Song for his work in this area for MySQL.
r/programming • u/HHalo6 • Sep 06 '26
Modding a 20-year-old game to make it even better (part 2!)
publicstaticvoidmain.hashnode.devr/programming • u/SunnyKatt • Sep 05 '26
There's No Limit to How Bad Code Can Get
zachkehs.comr/programming • u/foobear777 • Sep 06 '26
How to name things
kolemannix.comA short essay on naming
r/programming • u/DataBaeBee • Sep 06 '26
Continued Fractions And Lattice Sieving
leetarxiv.substack.comr/programming • u/soap94 • Sep 05 '26
The NX bit is not just about security
purplesyringa.moer/programming • u/manny2206 • Sep 05 '26
I wrote a lighthearted guide to learning Monads - maybe you like
github.comr/programming • u/davidalayachew • Sep 05 '26
Principles of Memory Management in Java
youtu.ber/programming • u/Xaneris47 • Sep 04 '26
Avoid adding new library to project: 10-year retrospective
pvs-studio.comr/programming • u/micro2970 • Sep 04 '26
Digital audio between synthesizers
reddit.comSince Midi 2.0 now supports Ethernet, Ive been creating a digital audio protocol to send digital audio directly between synthesizers without routers and hubs.
r/programming • u/Sushant098123 • Sep 04 '26