HHamed Yousefi3h ago · 16 min readActors in Production: How Discord, LinkedIn and Halo Use the Actor ModelThe actor model is easy to describe: small units that own their state, handle one message at a time, and talk only by messages. If you haven't met it yet, my previous article covers where it came fromhmdsefi.hashnode.dev
GGowtham Muthuvel1d ago · 9 min readVirtual Thread Pinning in Java 25: What Still Pins After JEP 491In Java 21, virtual threads had one well-known catch: block inside a synchronized block and the virtual thread gets pinned to its carrier thread. That carrier, which is a real OS thread, can't run anygowthammuthuvel.hashnode.dev
TThinkerQAQ1d ago · 11 min readConcurrency Programming (4): How Mutexes Are Implemented — From Runtime to CPUTable of Contents 0. What Does This Article Answer Next? 1. How Does HotSpot Implement synchronized? 1.1 Layers 1.2 End-to-End Implementation Path for synchronized 1.3 Guarantees at the Runtime / Lanthinkerqaq.hashnode.dev
HHamed Yousefi2d ago · 15 min readThe Actor Model: Why It Was Invented and How It WorksIf you have written concurrent code with threads, you know the routine. Several threads touch the same data, so you put a lock around it. Then you add a second lock, take the two in the wrong order onhmdsefi.hashnode.dev
VVishal Raghav2d ago · 6 min readPython Multithreading vs MultiprocessingWhen we add threads to a Python script, we expect it to run faster. Most of the time, it runs at the exact same speed. Textbooks and YouTube tutorials make Processes, Threads, and the GIL sound way mo32AYvishalraghav.hashnode.dev
TThinkerQAQ2d ago · 7 min readConcurrency Programming (3): Mutexes — Atomicity, Visibility, and Ordering at the Language LevelTable of Contents 0. Continue from the Previous Article 1. What Guarantees Do the Lock Rules in Each Language Provide? 1.1 Java: synchronized and Monitors 1.2 Go: sync.Mutex 1.3 CPython: threading.Lothinkerqaq.hashnode.dev
MMuhittin Çamdalı2d ago · 10 min readSwift 6 Strict Concurrency: Production Migration PlaybookSwift 6 Strict Concurrency: Production Migration Playbook Swift 6.0's strict concurrency looks, at first glance, like an opt-in compile flag. But in reality? It's a serious refactor mandate touching emuhittincamdali.hashnode.dev
MMuhittin Çamdalı2d ago · 18 min readSwift 6.3 Migration: Actor Isolation Warnings and Escape HatchesDon't be surprised if a project that compiled cleanly on Swift 6.2 starts throwing actor isolation warnings after you move to Swift 6.3 without changing a line — it's not a coincidence. Swift 6.3 intrmuhittincamdali.hashnode.dev
ZZyVOP2d ago · 16 min readConcurrency: Threads, Processes, and asyncio (and Why LLM Apps Love Async)Imagine you need to ask a language model 100 questions. Each answer takes about two seconds to come back. If you ask them one at a time, that's over three minutes of your program mostly sitting still blog.zyvop.com
CCiphemic academia2d ago · 16 min readProcesses vs. Threads vs. Async: How WhatsApp Held 2 Million Connections on One ServerProcesses vs. Threads vs. Async: How WhatsApp Held 2 Million Connections on One Server In 2012, WhatsApp engineer Rick Reed told an Erlang conference that the company's servers were holding more than ciphemicacademia.hashnode.dev