KAKareem Ashrafinkareemdev.hashnode.dev·2d ago · 17 min readFrom Ephemeral Ports to GC Pauses: The Full Cost of a Missing Connection PoolWhy Connection Pooling Is Not Optional: A Deep Dive From the OS Up This article builds the full picture from scratch: what a TCP connection actually is, what happens inside your process when you open 00
KAKareem Ashrafinkareemdev.hashnode.dev·4d ago · 16 min readThe Endpoint That Almost Broke Our App — And How Binary Encoding Saved ItThe Problem: A Filter Endpoint That Grew Out of Control We had a single endpoint. Its job sounded simple: return all the metadata the frontend needed to build its filtration system dynamically. The fr00
KAKareem Ashrafinkareemdev.hashnode.dev·Jul 27 · 22 min readBeyond the Event Loop: How V8, libuv, and Node.js Actually Work TogetherMost tutorials teach you the event loop — timers, poll, check, close — and stop there. That's useful, but it skips the part that actually explains why the event loop behaves the way it does. The event00
KAKareem Ashrafinkareemdev.hashnode.dev·Jul 26 · 32 min readObject Storage Design Patterns: Uploads, Consistency, and Delivery with S3 and TUS I remember when I was learning AWS S3 and working on my first production system that needed to handle image uploads and retrieval at scale. I was going through the AWS docs, reading about presigned UR00
KAKareem Ashrafinkareemdev.hashnode.dev·Jul 24 · 16 min readContention at Scale: From Row Locks to Distributed SystemsIntroduction When two requests touch the same data at the same time, each can look correct on its own and still produce a wrong result together. That is contention — and most of the bugs it causes are00