Explains unit-testing and integration-testing practices in Spring projects, including JUnit, Mockito, and PowerMock, along with configuration strategies for data sources, external RPC-interface mocks, and test containers.
A systematic explanation of zero-copy I/O, beginning with the four-copy overhead of ordinary I/O and covering DMA, mmap, sendfile, and Direct I/O, including their use cases and limitations.
Explores how a microservice Facade layer can change aggregated RPC calls from serial to parallel. Compares Callable+Future, CompletableFuture, and Spring Event approaches, and discusses eventual-consistency safeguards and thread-pool configuration.
Analyzes different behavior when thread-pool tasks throw exceptions under execute, submit, and schedule: execute throws directly and rebuilds the thread; submit requires get to observe the exception; schedule silently stops the periodic task. Explains the causes and solutions through source code.
Reflections on Mo Yan’s Life and Death Are Wearing Me Out: Ximen Nao’s six reincarnations trace over fifty years of Chinese history, revealing life’s impermanence and the difficulty of letting go.
A systematic review of core conventions and scheduling schemes for interactions among microservices. It covers exception conventions, four-field response design, idempotency conventions, and scheduled retries, compares synchronous RPC with asynchronous MQ, and helps establish a complete understanding of microservice interaction.
A record of three iterations in my technical system from 2019 to 2021: from interview-driven knowledge categories, to scenario practice and foundational knowledge, and then to a methodology centered on both business practice and technical thinking. My understanding of technology moved from textbook categories toward engineering application.
A retrospective on leading a major project as a technical PM for the first time. It describes the four core responsibilities of a technical PM, requirement and project milestone processes, and more than ten practical lessons and project-management principles.
A Java developer's reproduction and analysis of the Log4j2 remote-code-execution vulnerability, explaining how JNDI is exploited, showing the attack sequence, and outlining the fix.
A backend-oriented frontend-free operations platform that abstracts operations into four steps. Through annotations and the strategy pattern, backend developers only need to implement interfaces to generate operations pages automatically.