Skip to content

Writing

Writing on systems, infrastructure, and AI. Written by @fardinkai.

8 pieces

  1. LLM Quantization Explained: The Engineering Behind Smaller, Faster, and Cheaper Models

    Learn how quantization shrinks it with scales, group-wise INT4, GPTQ, AWQ, SmoothQuant and NF4, why fewer bits don't guarantee faster inference, and how to validate quality, throughput and KV cache memory before production.

    20 min readllm, quantization, llm-inference, model-optimization, gpu, kv-cache

  2. Inside the LLM Scheduler: How Modern Inference Engines Balance Tokens, KV Cache, Latency, and GPU Utilization

    A large language model can have plenty of GPU capacity available and still feel slow. A production LLM server isn’t just calling generate() — it is continuously deciding which requests should run, how many tokens each should consume, whether KV-cache memory exists, and whether new work can be admitted without destroying latency. Modern inference engines like vLLM and TensorRT-LLM are schedulers and memory managers as much as model runtimes.

    11 min read, also on Medium, LinkedInllm, inference, scheduler, kv-cache

  3. In interviews, I'm often asked about learning, growth, and exposure

    My honest answer is: learning is largely up to you. You can be in the best company, surrounded by brilliant people, working on cutting-edge technology, and still learn nothing if you don't have the curiosity or discipline to learn. A good company can accelerate you. The engine is you.

    2 min read, also on LinkedIncareer

  4. KEDA Isn’t the Autoscaler: Understanding the Four Control Loops Behind Kubernetes Scaling

    Most engineers describe KEDA as the thing that scales Kubernetes pods based on Kafka or RabbitMQ. That’s only a small part of the story. KEDA doesn’t scale your application. It participates in a chain of independent control loops, each responsible for one piece of the scaling process.

    6 min read, also on Medium, LinkedInkubernetes, devops, autoscaling

  5. WAL Internals: The Database Mechanism That Makes Crashes Survivable

    Every database promises durability. Power failures happen, kernels panic, and storage fails at inconvenient times. Write-Ahead Logging is the reason modern databases can make durability guarantees while still delivering high performance — from PostgreSQL replication to Kafka commit logs.

    6 min read, also on Medium, LinkedIndatabase, system-design

  6. NUMA Explained: Why Memory Distance Still Matters Inside Modern Servers

    A 64-core, 512 GB server looked healthy on paper, yet query latency was inconsistent. The root cause wasn’t PostgreSQL, storage, or the network. It was memory locality. Understanding NUMA changes how you think about databases, Kubernetes, and AI infrastructure.

    5 min read, also on Medium, LinkedIninfrastructure, database

  7. Inside the LLM KV Cache: The Hidden System Behind Fast AI Inference

    Model weights stay relatively constant. The memory consumed by user conversations does not. KV Cache is often the difference between serving hundreds of concurrent users and watching GPUs run out of memory while utilization stays low.

    6 min read, also on Medium, LinkedInllm, artificial-intelligence

  8. Don’t idolize people’s institutes, experiences, or achievements

    Rather, idolize your own needs, your reasons, and your path to getting there.

    1 min read, also on LinkedIncareer