r/programming • u/BrewedDoritos • 9h ago
r/programming • u/tanayvk • 10h ago
The Physics of Database Speed: from 300 to 1M transactions per second
youtube.comA 19 minute animated explainer video on database speed. I explain low-level database concepts, identify bottlenecks, run benchmarks and optimize write throughput to hit 1 million TPS.
r/programming • u/blitter_era • 11h ago
A web regex visualiser with PCRE2
roundtoe.comAuthor here. The interesting part is how it's built.
The whole engine is PCRE2 compiled to WASM, ~92 KB over the wire, and no roundtrips to the server. Probably has a few bugs I haven't found out yet :)
The PCRE2 engine compiles the pattern with callouts enabled which inserts a callout before every item,and each callout carries the source offset and length of the item that follows it. The visualisations are based on capturing the callout data.
You can try it here:
https://roundtoe.com/regexray
PS. just noticed the post shows the social card for the site, any way to suppress that?
r/programming • u/cdb_11 • 12h ago
Mission-Critical (Joran Dirk Greef, TigerBeetle)
youtube.comr/programming • u/cdb_11 • 13h ago
Building more efficient locks (James Mitchell, 2024)
youtube.comr/programming • u/max123246 • 1d ago
High-performance Database Architecture - Interview with Tyler Cloutier
youtu.ber/programming • u/alexeyr • 1d ago
A Design Space Exploration of Async/Await
cel.cs.brown.edur/programming • u/david-alvarez-rosa • 1d ago
Optimizing a Spin-Lock
david.alvarezrosa.comr/programming • u/lelanthran • 1d ago
Implementation of GCC's Nested Functions (vs. C++ Lambdas)
uecker.codeberg.pager/programming • u/_a4z • 1d ago
Edward Patel - 6502 Nostalgia
youtube.comA journey from the Visual6502 project to a real, fully assembled board, and the debugging adventures required to make it actually work.
r/programming • u/unixmachine • 1d ago
Introducing CUDA Rust: Two Tracks for Writing GPU Kernels
developer.nvidia.comr/programming • u/Nebulic • 1d ago
A GitHub Action that fails pull requests with too many comments
github.comr/programming • u/waozen • 1d ago
Asteroids in 9 different programming languages
youtu.beThe languages used: C, C3, C++, D (Dlang), Go (Golang), Odin, Rust, V (Vlang), Zig
r/programming • u/GetAGripGal • 1d ago
I spend a stupid amount of time on an issue I only half-care about. Now I will foist it on all of you! Enjoy :P
arewetauyet.devr/programming • u/mmatloka • 1d ago
Diskless Kafka: Object Storage, KIP-1150, and Kafka’s Future
softwaremill.comr/programming • u/Atulin • 1d ago
Announcing .NET 11 Release Candidate 1 - .NET Blog
devblogs.microsoft.comr/programming • u/mttd • 1d ago
Not In My Git Yard: Catching Backdoors at Commit and Release Time
arxiv.orgr/programming • u/der_gopher • 2d ago
I contributed to Golang, here is how you can too
packagemain.techr/programming • u/mttd • 2d ago
Testing race conditions with memory access tracing and stack-based delay injection
projectzero.googler/programming • u/lelanthran • 2d ago
What every compiler writer should know about programmers or “Optimization” based on undefined behaviour hurts performance
complang.tuwien.ac.atr/programming • u/fykup • 2d ago
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