Skip to content

Blog

/Blog_

Notes on machine learning, software design, and the systems work that sits under it. Reverse-chronological.

2025

2024

2023

2023-12-29 systems ml
Multi-Dimensional Aggregation
Feature store rollups without reaching for pandas.
2023-12-15 api
Fair Allocation with Priority
Constrained distribution with guaranteed minimums.
2023-12-02 api
Graph Traversal with Command Pattern
Separating the data graph from the traversal strategy.
2023-11-18 api
Queue-Based Stage Decoupling
High-throughput message processing architecture.
2023-11-05 api
Ingest-Transform-Serve Pipeline
Scheduled ingestion to a REST API.
2023-10-22 api
Adjacency List vs Nested Set
Hierarchy storage for cheap reads or cheap writes. You pick.
2023-10-10 api
Hierarchical Tree Flattening
Tree-building from flat parent pointers.
2023-09-28 algo
LRU Cache
O(1) get/put with hash map + doubly linked list.
2023-09-15 algo
Large File Processing
Top-K from a 50GB file using heaps.
2023-08-30 algo
Rule Parser
String parsing with structured rules.
2023-08-12 algo
Sub Domain Hits
Counting subdomain visit frequencies.
2023-07-24 algo
Split String
Word-boundary-aware string splitting.
2023-07-15 systems ml
Session Window Feature Engineering
Sessionization for recommendation and churn models.
2023-07-09 algo
String Rotation
Detecting rotation with the concatenation trick.
2023-06-30 systems
Memory Allocation and Fragmentation
The malloc/free patterns behind GPU caching allocators.
2023-06-21 algo
String Match
Pattern matching algorithms.
2023-05-29 algo
Sort Algorithms
Merge sort, quicksort, when to use which.
2023-05-20 systems
Sequential Access Optimization (SCAN)
Disk scheduling for data loader performance.
2023-04-17 algo
Tree Algorithms
Traversal, search, tree manipulation.
2023-04-02 algo
Grid Traversal Strategies
Greedy, BFS, DFS compared.
2023-03-15 systems ml
Unbiased Random Permutation
Fisher-Yates for fair sampling in ML pipelines.
2023-03-04 algo
Graph Algorithms
Traversal, shortest path, related problems.
2023-02-28 systems
Composable Unit Expression Parser
Recursive parsing for mixed-unit feature engineering.
2023-02-14 systems
Single-Pass Map-Side Aggregation
Lightweight ETL with dictionary accumulation.
2023-01-20 algo
Stack, Queue, Heap
Core data structure implementations.

2022