1. Designing a Feed Systemhistorical

    A feed keeps presenting information as the screen scrolls. These notes start with that experience and compare pull, push, and hybrid fan-out approaches.

  2. Designing a Short URL Systemhistorical

    Short URLs turn ordinary addresses into shorter ones for easier sharing. These notes examine generation and redirection through that requirement.

  3. Designing an E-Commerce Detail Pagehistorical

    If the data volume is relatively small, a fully static design can be used: the static-generation system queries all product data from the database, renders it into HTML files with Thymeleaf + HTML templates, places the files in the Nginx directory, and serves them through Nginx.

  4. Designing a Leaderboard Systemhistorical

    A ranking system starts with requirements and presentation, followed by ranking updates and queries. These notes examine implementation and maintenance using approaches such as sorted sets.

  5. Designing User Registration and Loginhistorical

    After login, the system returns a credential used to identify the user in later requests. These notes continue with passwords, verification codes, and third-party login.

  6. Designing a Frequency-Control Systemhistorical

    Rate-control logic scattered across business code affects reuse, extension, and maintenance. These notes examine extracting that logic into a shared service.

  7. Designing a TCP Frameworkhistorical

    This note organizes TCP framework design through requirements, entity relationships, class diagrams, and sequence diagrams for connection setup and message handling.

  8. Designing a Cache Middlewarehistorical

    Cache middleware hides details such as reads, writes, concurrency, eviction, and distribution from applications. These notes organize shared caching capabilities around those responsibilities.

  9. Designing a TCP Connection Poolhistorical

    A TCP connection pool reuses connections to reduce repeated setup and teardown costs. These notes examine its design from that requirement.

  10. Designing an RPC Frameworkhistorical

    RPC lets programs invoke remote services through interfaces resembling local procedure calls. These notes examine framework components and flows through that need.