Tag: #concurrency
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 16 posts
The Complete Guide to Transaction Isolation Levels: The Part the Application Owns, Not the Database
Lays out the four isolation levels of PostgreSQL 18 exactly as documented, then covers what the application must implement on top of that: the 40001 serialization-failure retry layer, the row-lock ladder from FOR UPDATE
2026-08-15 · 19 min read #database#postgresql#transaction#isolation-level#concurrencyThe Complete Guide to Concurrency: The Order in Which You Shrink Shared State
The working order an application designer follows when facing concurrency. First check whether shared state can be removed at all, narrow its scope when it cannot, put atomicity boundaries and locks around what is left,
2026-08-15 · 24 min read #동시성#아키텍처#concurrency#locking#backpressureWhen Two Services That Passed the Type Checker Halt Waiting for Each Other — Choreography as a Different Approach
Using a language that guarantees memory safety does not stop two services from halting while each waits for a message from the other, because the field of view of a type checker ends at one process. Choreographic program
2026-08-09 · 8 min read #programming-languages#compiler#distributed-systems#type-systems#concurrencyThe SQLite WAL-Reset Bug: A Data Corruption Race That Hid for 15 Years
On March 3, 2026, SQLite developer Dan found and fixed a data race that could, rarely, corrupt a database in WAL mode. The bug lived in every version from 3.7.0 (2010-07-21), when WAL was introduced, through 3.51.2 (2026
2026-07-16 · 18 min read #sqlite#wal#database-internals#concurrency#data-racePython 3.15's abi3t — The Problem a Stable ABI Solves for Free-Threaded Builds, and What It Costs
With PEP 779, free-threaded builds shed their experimental tag in 3.14, but one thing besides interpreter performance still stood between here and Phase III, where free-threading becomes the default build — distribution.
2026-07-16 · 13 min read #python#free-threaded#cpython#concurrency#pep-703Concurrency vs Parallelism — Dealing With vs Doing Many Things
Rob Pike's famous distinction — concurrency is about "dealing with" many things, parallelism is about "doing" many things at once. This post walks through threads and event loops, race conditions and data races, mutexes
2026-07-03 · 12 min read #concurrency#systems#fundamentalsRust Tokio Runtime Deep Dive — Future, Waker, Work-Stealing, Pin, Zero-Cost Async (2025)
Rust async/await promises "infinite concurrency with no runtime", but the internals are intricate. This post dissects the Tokio runtime from the ground up: how async fn compiles into a state machine, the Future/Poll/Wake
2026-04-15 · 15 min read #rust#tokio#async#runtime#concurrencyLock-Free Concurrency Programming Complete Guide 2025: Atomics, Memory Model, CAS, Lock-Free Data Structures
Everything about Lock-Free programming: atomics fundamentals, CPU memory models (x86 vs ARM), CAS (Compare-And-Swap), Lock-Free data structures (Queue/Stack/Hash), ABA problem, Hazard Pointers, RCU, Java/Rust/C++ compari
2026-04-15 · 11 min read #lock-free#concurrency#atomics#memory-model#casDistributed Locks Complete Guide 2025: Redlock, Zookeeper, etcd, Fencing Token, Safe Implementation
Everything about distributed locks! Why it is hard, single Redis lock, Redlock algorithm, Martin Kleppmann critique, Zookeeper/etcd locks, Fencing Token, real-world implementation, pitfalls to avoid.
2026-04-15 · 13 min read #distributed-lock#redis#redlock#zookeeper#etcdGo Complete Guide — Goroutine, Channel, Context, and Real-World Microservices (Season 2 Ep 3, 2025)
Go is famous for being easy to learn, but real production Go is full of non-obvious traps: Context propagation, Goroutine leaks, Channel deadlocks, nil interface gotchas. This post covers the true meaning of Go philosoph
2026-04-15 · 13 min read #go#golang#goroutine#channel#contextThe Complete Actor Model Guide 2025: Erlang OTP, Akka, Orleans, Elixir — The Real Way to Handle Millions of Concurrent Connections
How WhatsApp handled 2 million TCP connections on a single server. From the mathematical foundations of the Actor Model to Erlang OTP, Akka, and Microsoft Orleans — a 720-line deep dive into the "Let it crash" philosophy
2026-04-15 · 32 min read #actor-model#erlang#akka#orleans#elixirConcurrency & Parallel Programming Complete Guide 2025: Async/Await, Thread, Goroutine, Actor Model
Everything about concurrency and parallel programming! Thread vs Coroutine vs Goroutine, Async/Await patterns, Event Loop (Node.js/Python), Actor model (Erlang/Akka), Lock-free data structures, deadlock/race condition pr
2026-04-14 · 27 min read #concurrency#parallelism#async-await#thread#goroutineThe Complete Go Programming Guide — Goroutines, Channels, Interfaces, and Practical Patterns
Why Go? Concurrency with goroutines and channels, interfaces, error handling, generics, and real-world web servers — everything about Go.
2026-04-12 · 16 min read #ai#go#golang#programming#concurrencyGo Language Complete Guide 2025: From Goroutines, Channels, Interfaces to Production Patterns
Everything about Go! Goroutine/channel concurrency, interfaces and duck typing, error handling patterns, generics (1.18+), structs and methods, testing, profiling, gRPC/REST servers, CLI tools, and optimized Docker build
2026-03-23 · 23 min read #go#golang#goroutine#channel#interfaceConcurrency & Parallelism Deep Dive: Multithreading, Async, and Event Loops Explained
From the fundamental difference between concurrency and parallelism! Threads vs coroutines vs virtual threads, event loop (Node.js), Actor model (Erlang/Akka), lock-free data structures, language-by-language concurrency
2026-03-23 · 21 min read #concurrency#parallelism#multithreading#async#event-loopGo Language Complete Syntax Guide: From Basics to Concurrency and Generics
A comprehensive guide covering all core Go language concepts from basic syntax to goroutines, channels, and generics, with practical code examples throughout.
2026-03-17 · 22 min read #go#golang#syntax#programming#backend