业务系统
System Design · 6 notes
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.