PinnedKH Huang·Jul 31, 2023Simplify Go Development: Boost Your Productivity with Powerful ToolsAs a Go developer, you know the importance of maintaining a clean and efficient development workflow. To enhance productivity and code…A response icon4A response icon4
PinnedInStackademicbyKH Huang·Aug 18, 2023Integrating pprof with GinProfiling applications is crucial for understanding performance bottlenecks. In Go, the standard library offers the pprof package for this…
PinnedKH Huang·Jul 30, 2023Simplify Your Go Development Workflow with air and Custom BinariesIntroduction
PinnedInAI MindbyKH Huang·Aug 17, 2023Unleashing Python’s Hidden Power: Profiling for Performance OptimizationProfiling is a fundamental technique in software development that enables programmers to identify and rectify performance bottlenecks in…
KH Huang·Dec 22, 2025Automated AsyncAPI Docs in Django: WebSocket Schemas Like SwaggerSwagger-like docs for REST are easy. For WebSockets, it’s usually a README and wishful thinking.
KH Huang·Dec 21, 2025Caching Systems (Part 3): Building Cache-Aside in Go with RedisPart 2 covered invalidation strategies. This part shows a cache-aside implementation in Go that is safe in production: TTL jitter, request…
KH Huang·Dec 21, 2025Caching Systems (Part 2): Versioned Caches, Pub/Sub Invalidation, and ConsistencyPart 1 explained caching layers and failure modes. This part is about keeping caches correct when data changes in a distributed system…
KH Huang·Dec 21, 2025Caching Systems (Part 1): Layers, Strategies, and Failure ModesCaching is one of the highest-leverage tools in backend engineering: it can turn expensive work into cheap work, flatten latency spikes…
KH Huang·Dec 21, 2025Django DRF-Spectacular Envelope Responses: Advanced Patterns and Trade-offsThis article is a continuation of “Django DRF-Spectacular: Documenting Custom Envelope Responses”. If you have not read the previous piece…
KH Huang·Dec 21, 2025Django DRF-Spectacular: Documenting Custom Envelope ResponsesMany teams using Django REST Framework (DRF) adopt a custom response envelope to keep API responses consistent across services. A common…A response icon1A response icon1