Software Engineering
In-depth resources for frontend and backend engineers, from system design and engineering practice to interview prep
Series in this topic
System Design TutorialSystem Design TutorialEngineer Must-ReadSoftware engineering learning resources and classic software engineering book summariesFullstack TutorialFullstack development tutorialInterview PrepsHundreds of questions with high-quality answersInterview QuestionsFrom frontend, backend to system design, a complete collection of the most common interview questions
Latest Articles
All articles →Browser and NetworkingSecurity Awareness in the AI Era (1): Personal PreventionAI makes it easier for attackers to hunt for vulnerabilities at scale, giving engineers a reason to rethink their everyday security habits. This article explores software supply chain risks, dependency pinning, update cooldowns, lockfiles, and the tradeoffs of reducing or maintaining your own dependencies.System DesignDDIA Chapter 7 — Sharding (Part 1)This guide explains how sharding distributes different subsets of data across machines and works alongside replication to improve availability. It explores the benefits of horizontal scaling and the practical costs of choosing partition keys, querying across shards, and coordinating transactions.System DesignDDIA Chapter 6 — Replication (Part 1)This guide covers the first half of Chapter 6 of Designing Data-Intensive Applications, explaining how replication reduces read latency and improves availability and read throughput. It explores single-leader replication, the tradeoffs between synchronous and asynchronous replication, and the challenges of adding replicas and managing storage costs.System DesignDDIA Chapter 6 — Replication (Part 2)This guide to the second half of Chapter 6 of Designing Data-Intensive Applications explores how multi-leader replication reduces cross-region write latency and the tradeoffs it introduces for fault tolerance and consistency. It compares all-to-all, circular, and star replication topologies, with leaderless replication covered in the follow-up available exclusively to E+ members.Full Stack Case StudiesWhat Is Replication, and Why Do Databases Need It?Data replication stores copies of the same data across multiple nodes or regions to improve availability and reduce access latency. This article explains single-leader, multi-leader, and leaderless replication, along with the latency tradeoffs between strong and eventual consistency.FrontendWhy Are More Design Systems Choosing StyleX in the Age of AI Agents?Why are more teams choosing StyleX as AI agents take on more UI development? Drawing on examples from Linear and Polar, this article explores how types, design tokens, and static checks can keep generated styles consistent and reduce the burden of code review.Full Stack Case StudiesReducing Latency Through ColocationColocation reduces internode and intranode communication latency by moving users, servers, databases, and computing resources physically closer together. This article uses edge computing, CDNs, CPU caches, and the tradeoffs between TCP and UDP to explain how colocation improves system latency in practice.DevOpsWhat Are Docker and Containers? Why Do We Need Them, and How Do You Get Started?This article introduces the basics of Docker and containers, explaining how containers let applications run in consistent, isolated environments and how they differ from virtual machines. It also walks through hello-world and Node.js examples to clarify the relationship between the Docker CLI, Docker daemon, images, and containers.