Tech Blog
Frontend deep dives, architecture design, performance optimization, and development insights
Quick Access
Online Resume Editor: Next.js 16 + React 19 + Koa Full-Stack
The architecture of an online resume editor: PDF double-buffering flicker-free preview, CJK line-breaking patches, template abstraction, and SEO engineering.
Bank Card BIN Lookup Guide: IIN, Card Networks, Luhn Checks
A practical guide to bank card BIN/IIN lookup: what it identifies, what it cannot verify, how Luhn differs, and using BIN data safely in risk workflows.
JWT Authentication Best Practices: Algorithms, Storage
JWT authentication best practices: structure and algorithms, common mistakes, algorithm attacks, token design, secure storage, and revocation.
PostgreSQL Indexing and Query Optimization: A Practical Guide
A practical guide to PostgreSQL indexing and query optimization: B-tree, GIN, GiST, BRIN, partial and expression indexes, and EXPLAIN ANALYZE.
React 19 and Server Components: A Deep, Practical Guide
A practical deep dive into React 19 Server Components: new hooks (use, useOptimistic, Actions), the RSC execution model, and 'use client' boundaries.
Redis Caching Patterns for Production: Penetration, Breakdown
Production-grade Redis caching patterns: Cache Aside, Read-Write Through, Write Behind, plus solutions for penetration, breakdown, and avalanche.
TypeScript Advanced Types: From Conditional to Type-Level
A hands-on breakdown of TypeScript's advanced type system: conditional types, infer, mapped types with key remapping, and template literal types.
Electron Desktop App Development: From Setup to Production
Build cross-platform desktop apps: main/renderer process communication, window management, security hardening, native modules, and auto-update deployment.
Prettier Pre-commit: ESLint, Husky & lint-staged
Set up a Prettier pre-commit hook with ESLint Flat Config, Husky and lint-staged, then add commitlint, shared VS Code settings and CI checks.
JavaScript Event Loop & Async: Macrotasks to Microtasks
An in-depth exploration of the JavaScript event loop: call stack, task queues, microtask vs macrotask, Promise/A+ internals, and Node.js event loop phases.
Monorepo Engineering: PNPM Workspaces, Turborepo Pipelines
A production Monorepo guide: PNPM workspace configuration, Turborepo pipeline optimization, dependency management, CI/CD, and migration data from 15 repos.
Node.js Streams: Backpressure to Pipeline Patterns
An in-depth exploration of Node.js Streams: four types, backpressure mechanics, pipe vs pipeline, custom streams, and production applications.
Playwright E2E Testing: From Test Cases to CI Integration
A guide to Playwright in production: locator strategies, assertions, network interception and mocking, visual regression, auth reuse, and CI/CD integration.
PostgreSQL Query Optimization: EXPLAIN ANALYZE & Index Tuning
A production guide to PostgreSQL query optimization covering EXPLAIN ANALYZE, index types and selection, query plan reading, and partition pruning.
React Server Components in Production: Architecture, Patterns
A battle-tested guide to React Server Components covering the mental model shift, Server/Client boundaries, and streaming SSR with Suspense.
WebRTC in Production: Signaling, NAT Traversal & SFU Design
A battle-tested guide to WebRTC production deployment covering signaling protocols, STUN/TURN NAT traversal, SFU vs MCU architectures, and simulcast.
Grafana Observability: Dashboards, PromQL, Alerting
A practical guide to Grafana: effective dashboards, PromQL, templating with variables, multi-source (Prometheus/Loki/Tempo), alerting, and dashboards as code.
LLM Reasoning Models in Production: o1, o3, DeepSeek-R1
A practical guide to reasoning LLMs (OpenAI o1/o3, DeepSeek-R1, QwQ, Claude): when to use them, prompt design, cost/latency tradeoffs, and pitfalls.
MongoDB Document Modeling: Embedding vs Referencing, Indexes
A practical guide to MongoDB data modeling: embedding vs referencing, schema patterns, indexing (compound, covered, TTL), and aggregation pipelines.
MySQL Performance Tuning in 2026: EXPLAIN, Indexing
A practical MySQL performance guide: EXPLAIN analysis, B+Tree and covering indexes, leftmost-prefix rule, slow query log, and InnoDB buffer pool tuning.