/Learn
AI systems · 48 modules

AI systems, part by part.

Each module opens with the whole idea, states the question, walks the mechanism, then tests you. Use Explore to filter by mode, tier or time.

Mobile systems

Startup, observability, security, location, push, experiments
Tier 2 · Mechanisms · 15 minApp Startup: Cold Start From Tap to First FrameStartup is the first performance number users feel, and most of it is work you chose to do too early.Tier 2 · Mechanisms · 15 minMobile Observability: Crashes, ANRs, Traces and Rollout GatesYou cannot roll back a phone, so telemetry has to catch a bad release while only 1% of users have it.Tier 2 · Mechanisms · 15 minMobile Security: Tokens, Keystore, Pinning and TamperingAssume the phone can be lost, rooted or reverse-engineered, then decide what an attacker still cannot do.Tier 3 · Edge cases · 45 minLive Location Tracking for a Driver AppA location stream combines every mobile constraint at once: battery, background limits, bad networks and scale.Tier 2 · Mechanisms · 45 minPush Notification Platform at ScalePush looks like one API call until you need priority, retries, per-user limits and delivery you can measure.Tier 2 · Mechanisms · 40 minFeature Flag and Experimentation SDKFlags are how mobile teams change behaviour without a store release, and bad assignment logic silently ruins experiments.Tier 2 · Mechanisms · 15 minReact Native New Architecture: JSI, Fabric, TurboModules and ThreadsMost older React Native advice is about the bridge. Knowing what replaced it shows which advice still holds.Tier 2 · Mechanisms · 15 minReact Native State: Server Cache, Client Store and Render StormsPutting every kind of state in one global store makes one change redraw half the screen.Tier 2 · Mechanisms · 15 minModular React Native for Many Apps: The Modularity LadderCodebases rarely fail from network speed. They fail from merge conflicts and features that can't be removed.Tier 3 · Edge cases · 15 minMemory Leaks in React Native: Three Heaps, One StaircaseA leak can hide in the JavaScript heap, the native heap or the boundary between them, and each needs a different tool.Tier 3 · Edge cases · 20 minOffline Sync in React Native: What to Persist and WhereA queue held in memory loses unsent changes when the OS kills the app. Persist the mutations, and keep them atomic with the local write.Tier 3 · Edge cases · 15 minThe 95/5 Rule and Performance Budgets in CIMost code can stay in React Native. A few pieces belong in native code, and CI should stop performance from slipping.

Model serving and inference

PagedAttention, KV cache, vLLM, continuous batching

Distributed training

Data and tensor parallelism, DeepSpeed ZeRO, FSDP

Fine-tuning (PEFT)

LoRA, QLoRA, adapter merging, DPO, Unsloth

Vector search and RAG

HNSW, hybrid search, chunking, GraphRAG

GPU kernels and low-level systems

Triton, FlashAttention, memory traffic

Evaluation and benchmarks

RAGAS, LLM-as-a-judge, eval gates

LLM safety and guardrails

Prompt injection, Llama Guard, schema validation

Multimodal systems

ViT, CLIP, visual reasoning benchmarks

Prompt engineering

Chain of thought, few-shot, structured output

MLOps and infrastructure

SLURM, Ray Serve, NCCL, checkpointing
AI Engineer · AI systems modules