Posts
My Toolbox
· β˜• 3 min read
1. Documentation Pandoc Pandoc is a text conversion tool written in Haskell. It is fast and supports a wide range of formats, converting Markdown, LaTeX, and others into HTML, Docs, PDF, and more. All it takes is a simple command: 1 pandoc mypaper.md -o mypaper.docx Graphviz An open-source toolkit developed

API Rate Limiting for Backend Services
· β˜• 3 min read
1. Flow Control Caching, degradation, and rate limiting are common methods for protecting high-concurrency systems. Caching trades space for time and cuts the time spent on CPU and network calls; degradation protects the high availability of core services by delaying or refusing to handle non-core requests during peak periods; rate

Getting Started with Go
· β˜• 5 min read
1. Background For the past decade or so, C/C++ has not developed well in the computing field and has not kept pace with the advance of computers. With existing programming languages, development speed and system efficiency often cannot be had at the same time. Either execution is fast but development and compilation are inefficient, or execution is slow but compilation is efficient.

Processes, Threads, and Coroutines in Python
· β˜• 5 min read
1. Processes A process is an instance of a running program, and it is the most basic unit by which the kernel allocates resources. A process has its own independent heap and stack, its own address space, and its own resource handles. Processes are scheduled by the OS, the scheduling

Stateless Services
· β˜• 3 min read
1. Problem Description Background: a SaaS application developed with Django, offering document services externally. Its search feature is implemented through Django Haystack. Problem: the search feature is sometimes available and sometimes not. After repeated testing, the available and unavailable states were found to alternate, each occurring with a probability of