» Tag
concurrency
31 postsRace-Safe Idempotent POST Endpoints in Go
Learn about the implementation challenges and solutions for idempotent POST endpoints in Go.
Rust WebRTC SFU moves to thread-per-core: 70ms to 10ms latency
PulseBeam migrated its Rust WebRTC SFU from Tokio's work-stealing scheduler to a thread-per-core design, cutting P99.99 latency from 70ms to 10ms and boosting capacity 25%.
Building auth on a store that only does get and put
How we built an authentication system on a store that only supports get and put, using key design and ETag-based concurrency instead of SQL.
CommitBrief — AI code reviews, right in your terminal
A provider-agnostic, local-first CLI that reviews your staged changes, a historic range, or a whole GitHub pull request. Zero telemetry, no server. Free and open source.
commitbrief.comConcurrency vs. Throughput: Why More Parallelism Can Slow Down Databases
A long-running transaction in a MySQL database led to significant performance issues. Key insights on managing concurrency and throughput.
Test a one-hour timeout without waiting an hour
Utilize Go 1.25's testing/synctest for efficient concurrent testing with virtual time.
Cache-Conscious Data Layout in Rust: Field Zoning and False Sharing
Exploring field zoning, cache alignment, and false-sharing prevention for multi-core Rust data structures, illustrated through an SPSC ring buffer design.
Standalone Web Server Written in Pure PHP
Qbix Server is a standalone web server written in pure PHP, increasing concurrent requests and improving performance.
Reproducing an OAuth Refresh-Token Rotation Race with Two Requests
OAuth refresh-token rotation requires managing concurrency to prevent security risks.
Solo Dev Built a Sharded Go Library with WAL Instead of Kafka
A solo developer built Flux, a sharded, WAL-backed Go library for batching database writes instead of running Kafka or Redis, ensuring crash safety.
Mechanical Sympathy: Principles for Hardware-Aware Software Design
How CPU cache hierarchies, false sharing, and single-writer architectures underpin mechanical sympathy principles for building high-performance systems.