2025 Recap
8 minA year of struggle
Service Rate Limiting in Practice
3 minA practical design note on user-facing rate limiting, downstream circuit breaking, and asynchronous write-back for an LLM-powered comment bot.
BILIBILI Like System Architecture
2 minA quick note on BILIBILI's like system under write-heavy traffic, hot-key pressure, and disaster recovery constraints.
Spring Servlet Recap
3 minJava Servlets evolved as an efficient, standardized way to handle web requests in Java, replacing earlier CGI solutions and serving as the foundation for Spring MVC's architecture through the DispatcherServlet.
Explaining cookies, sessions and tokens in authentication
4 minA quick refresher on how cookies keep state, why servers maintain sessions, and where stateless tokens such as JWT fit in.
Troubleshooting SSH prompts triggered by the Obsidian Git plugin
3 minDocument the root cause of repeated passphrase prompts when Obsidian's Git plugin pushes via SSH, recap how the SSH handshake works, and configure ssh-agent so keys are unlocked automatically.
synchronized & volatile: reasoning from the singleton pattern
8 minWalk through several singleton implementations to explain why synchronized, double-checked locking and volatile matter, and how eager, static-inner-class and enum singletons compare.