All guides
Every SevyDevy Learn guide, newest first.
501 guides · Newest first · Updated
- Gossip Protocols and Failure DetectionA plain-English guide to gossip protocols and failure detection, from heartbeats to SWIM and phi accrual, built on one running cache cluster example.System design · 25 min read ·
- GraphRAG: Knowledge Graphs Meet RetrievalHow it builds a knowledge graph from documents and retrieves by following relationships.AI and GenAI · 24 min read ·
- Hotel Booking System Design: Search and No Double BookingsStoring room nights, fast date search and stopping double bookings.System design · 25 min read ·
- How TLS Works: The HTTPS Handshake and CertificatesThe TLS 1.3 handshake, certificates, the chain of trust and renewals.Backend · 25 min read ·
- Image Optimization: Formats, Sizes and Lazy LoadingFormats, responsive sizes, lazy loading and video, built on one running example of a craft marketplace.Frontend · 30 min read ·
- Instagram System Design: Photos, Stories and the FeedPhoto uploads, storage, CDN delivery, post IDs and 24-hour stories.System design · 27 min read ·
- JSON vs Protobuf vs Avro: Size, Speed and Schema ChangesMessage size, decode speed and schema evolution.Backend · 24 min read ·
- Design a Gaming Leaderboard with Sorted Sets and Live RanksSorted sets, fair tie-breaks, city and weekly boards, safe score updates and sharding.System design · 28 min read ·
- Liveness vs Readiness Probes: Stop Routing to Sick PodsWhat each one checks, what happens on failure and how to set them, built on one running ambulance dispatch example.Backend · 22 min read ·
- LLM Capacity Planning: Back-of-the-Envelope MathsA plain-English guide to sizing an LLM feature for a traffic spike, from users to requests, tokens, GPUs, memory, rate limits and cost, built on one running example of a test-prep chat helper.AI and GenAI · 22 min read ·
- LLM Customer Support Bot System Design: Ticket to HandoffIntake, triage, help centre answers, human handoff, cost per resolved ticket and SLAs.AI and GenAI · 24 min read ·
- Error Analysis for LLM Apps: Read Traces Before MetricsSampling traces, writing failure notes, grouping them into categories and turning them into tested checks.AI and GenAI · 22 min read ·
- LLM Quantization: INT8, INT4 and Quality LossHow INT8 and INT4 shrink a model, why it gets faster, where quality drops, and how to test it, built on one running Hindi chatbot example.AI and GenAI · 23 min read ·
- LLMOps Explained: From MLOps to Production LLMsHow it differs from MLOps, what to version, and how to ship LLM changes safely.AI and GenAI · 22 min read ·
- LoRA and QLoRA Explained: Fine-Tune a Model on One GPUHow small adapters and a 4-bit frozen base let you fine-tune a large model on one GPU.AI and GenAI · 26 min read ·
- MapReduce vs Spark: Disk, Memory and What RDDs ChangedWhy one writes to disk between steps, how RDDs keep data in memory and recover with lineage, built on one running crop-yield example.System design · 23 min read ·
- Business Metrics vs ML Metrics: Better AUC, Worse RevenueWhy a model with a better AUC can earn less, and how to pick, connect and test the right metrics, using one running online store example.AI and GenAI · 23 min read ·
- Multi-Turn Evaluation: Testing Whole LLM ConversationsScenarios, simulated users, scoring and repeated runs.AI and GenAI · 25 min read ·
- Multimodal RAG: Searching Images, Tables and ScansHow to search photos, scanned forms and tables as well as text.AI and GenAI · 27 min read ·
- Music Streaming System Design: Build an App Like SpotifyThe catalogue, fast playback, offline downloads and play counting.System design · 27 min read ·
- Parent Document Retrieval: Search Small, Return Big ContextA plain-English guide to parent document and multi-representation retrieval, from search keys to parent stores, built on one running appliance-manual support search.AI and GenAI · 22 min read ·
- Plan-and-Execute vs ReAct Agents: Plan First or Step by StepSpeed, token cost, replanning and prompt-injection safety.AI and GenAI · 23 min read ·
- Prompt Versioning: Testing, Releases and RollbackStoring prompts like code, testing every change in CI, staged rollouts and fast rollback, built on one running telemedicine example.AI and GenAI · 23 min read ·
- Keeping a RAG Index Fresh: Updates, Deletes and Re-indexingA plain-English guide to keeping a RAG index fresh through updates, deletes and full re-indexing, shown on one running example of a hospital HR policy assistant.AI and GenAI · 25 min read ·