systemsRole: Systems Engineer & Student ResearcherPeriod: 3 Months (2025)

KernelCache: Memory & Distributed Cache Simulator

Visualizing LRU, LFU & Multi-Tier Cache Eviction Policies at Scale

KernelCache: Memory & Distributed Cache Simulator preview
Technologies & Architecture
TypeScriptC++WebAssemblyReactTailwind CSSVite
The Problem & Architectural Challenge

Bottlenecks & Constraints

Visualizing cache hit/miss ratios, spatial locality, and page fault replacement algorithms is notoriously difficult in conventional textbook lectures.

Engineered Solution

Architectural Resolution

Designed an interactive multi-level memory simulator with algorithmic step-through execution, customizable associativity (Direct Mapped, N-Way Set Associative, Fully Associative), and benchmark comparison graphs.

Key Technical Highlights

Configurable cache parameters: block size, set count, eviction policies (LRU, LFU, FIFO, Clock)
Synthetic trace file loader compatible with standard Valgrind memory trace logs
Real-time hit/miss metrics with tabular numeric displays and heatmaps
Interactive timeline scrubbing for step-by-step memory line inspection
Deep Systems Inspection

System Architecture

Architecture Model: Core eviction engine written in modern C++ and compiled to WebAssembly via Emscripten; UI layer orchestrated with React 19 and Tailwind CSS.

Verified Performance: Executes 500,000 memory access traces in under 120 milliseconds.

Implementation Highlights:
  • ·Used by fellow Computer Systems Engineering students at university
  • ·Strict memory bounds preventing browser tab lockups
  • ·Comprehensive unit test coverage verifying exact hit/miss counts

System Visualizations

KernelCache: Memory & Distributed Cache Simulator interface architecture preview 2

Interested in Technical Collaboration?

I build robust, type-safe full-stack systems and algorithmic solutions. Let's build together.

Initiate Technical Discussion