Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Designing a Portable Thread Pool Library: Backpressure, Affinity, and Shutdown
A practical guide to building a portable thread pool library that handles workload backpressure, CPU/core affinity, and...
Implementing Priority Inheritance and Avoiding Priority Inversion in RTOS
Priority inversion is a hidden failure mode in real-time systems that can break deadlines. This article explains priorit...
Efficient Checksum and Hashing Strategies for Networked Storage
Practical strategies for checksums and hashing in distributed storage reduce network load, accelerate repair, and guard...
Measuring and Reducing Tail Latency in Networked System Calls
Tail latency in networked system calls degrades user experience and throughput across databases, microservices, and edge...
Stateful vs Stateless Resource Managers: Cache Coherence and Leasing Models
A practical comparison of stateful and stateless resource managers, focused on cache coherence and leasing models. Shows...
Crash-Consistent Write Paths: Journaling, Copy-on-Write, and Performance Tradeoffs
Examine how journaling and copy-on-write achieve crash consistency in file systems, their performance tradeoffs, and pra...
Designing Upgradeable System Services Without Downtime: Rolling and In-Place Patterns
Practical strategies for upgrading system services without downtime using rolling and in-place patterns. Covers where ea...
Building a Lightweight RPC Layer for High-Performance Local Services
Design a minimal, low-latency RPC layer optimized for same-host services. Learn practical approaches for IPC, serializat...
Analyzing Cache Associativity: How Set-Associative Designs Impact Real-World Workloads
Set-associative cache design is a practical tradeoff between direct-mapped simplicity and fully associative flexibility....