Skip to main content
This knowledge base is a structured collection of technical notes, deep dives, and interview reference material for backend engineers. It covers the full stack of backend engineering — from low-level OS concepts and data structures to distributed systems design, MySQL and Redis internals, Go and Java development patterns, and algorithm problem-solving. Each topic reflects real learning encountered during development, code review, and technical interviews.

Databases

MySQL, Redis, Elasticsearch, and Kafka. Covers indexing, transactions, caching strategies, and message queue patterns.

Backend Engineering

Go and Java development. Includes concurrency models, Spring Boot, microservices, and Docker.

Computer Science

Networking, operating systems, data structures, and algorithms with working code examples.

Software Design

Design patterns, DDD, distributed systems, and software architecture principles.

Interview Prep

The STAR method, structured Q&A, algorithm practice, and real interview questions.

Tools & Workflow

Git workflows, AI tools, and productivity software for engineers.

How to Use This Knowledge Base

Each page covers one focused technical concept. Notes follow a consistent structure (see the note template) so you always know where to find the background, root cause analysis, solution comparison, and practical advice. Use the sidebar to navigate by topic area. If you are preparing for interviews, start with the Interview Guide and work backwards into the technical depth you need. If you are debugging a specific problem — a Redis cache stampede, a Go memory leak, a MySQL slow query — jump directly to the relevant topic page.

Topics at a Glance

Covers MySQL storage engine internals, index design, MVCC and transaction isolation levels, Redis data structures and eviction policies, cache patterns (avalanche, breakdown, penetration), Elasticsearch query DSL, Kafka message queue mechanics, and comparisons for when to use each technology.
Go coverage includes the GMP scheduler, goroutines and channels, garbage collection, generics, and idiomatic patterns. Java coverage spans the JVM, Spring Boot, MyBatis-Plus, multithreading, and Java 8+ features. Microservices covers gRPC, etcd, CAP theorem, distributed transactions, and SpringCloud.
Networking notes cover TCP three-way handshake and teardown, HTTP versions, WebSocket, SSL/TLS, JWT, and CSRF. Operating systems cover processes vs threads, virtual memory, CPU scheduling, and I/O models including epoll. Data structures cover trees, heaps, hash tables, and graphs with complexity analysis.
Organized by technique: dynamic programming (digit DP, tree DP, knapsack, interval DP), graph algorithms (Dijkstra, Floyd-Warshall, topological sort), greedy patterns, and mathematical algorithms including modular inverse and matrix exponentiation. Includes complete C++ implementations.
Covers all 23 GoF design patterns organized by category, domain-driven design concepts (bounded contexts, aggregates, domain events, anti-corruption layer), and distributed systems fundamentals (CAP theorem, Raft consensus, distributed locks, reliability patterns).
Structured Q&A for networking and database topics, system design interview framework, the STAR method for behavioral questions, and a study plan with recommended reading order across knowledge base topics.