Writing

In-depth engineering notes, deep dives, and architectural explorations.

4 min read

Understanding KV-Cache Optimization in Modern LLM Serving

A deep dive into Key-Value caching mechanics, memory fragmentation bottlenecks, PagedAttention, Multi-Query Attention (MQA), and speculative prefix caching.

#LLM Inference#Systems#CUDA#vLLM#Memory Optimization
2 min read

Zero-Copy Data Pipelines in Rust with Apache Arrow

How memory-mapped buffers, cache line alignment, and Apache Arrow columnar formats eliminate serialization overhead in high-throughput analytical streaming.

#Rust#Apache Arrow#Data Engineering#Performance#Systems