liandk
Author

liandk

Seasoned Java and mobile developer with years of experience, specializing in mini‑programs, public accounts, and full‑stack front‑end development. In the AI era, I continuously learn to broaden my knowledge and evolve. I revived a public account I started a decade ago during a dessert‑startup venture, using code as a vessel and knowledge as a companion. I share personal projects, technical articles, programming tips, and growth insights—let’s improve together and set sail.

129
Articles
0
Likes
698
Views
0
Comments
Recent Articles

Latest from liandk

100 recent articles max
liandk
liandk
Oct 15, 2026 · Backend Development

AI-Generated Cache & Rate Limiting Code: Hidden Concurrency Bugs Exposed by Stress Testing

This postmortem reveals how AI-generated Redis caching and rate limiting code for a real estate query API passed unit tests but collapsed under 200 concurrent requests, exposing critical flaws in Bloom filter synchronization, mutex lock recursion, random expiration logic, and non-atomic rate limiting — with fixes using Redisson, Lua scripts, and async hot-key refresh.

AI-generated codeLua scriptRate Limiting
0 likes · 11 min read
AI-Generated Cache & Rate Limiting Code: Hidden Concurrency Bugs Exposed by Stress Testing
liandk
liandk
Oct 13, 2026 · Artificial Intelligence

Mac Local LLM Deployment Pitfalls: Ollama Memory Optimization & Model Selection Guide

This article details real-world pitfalls when deploying large language models locally on Mac using Ollama, covering memory overflow causes, key parameter tuning (num_ctx, num_parallel, num_gpu), quantization level selection, model recommendations for coding vs chat, and monitoring strategies to avoid swap-induced performance degradation.

LLM deploymentMacModel Selection
0 likes · 14 min read
Mac Local LLM Deployment Pitfalls: Ollama Memory Optimization & Model Selection Guide
liandk
liandk
Oct 12, 2026 · Backend Development

AI-Generated SQL Locks Database, Exhausts Tomcat Connection Pool: Production Post-Mortem

A production post-mortem reveals how AI-generated SQL caused long-running queries that locked SQL Server, exhausted Tomcat's 300-connection pool, and repeatedly hung the service until restart; the article details root-cause analysis, missing SQL execution timeout, and fixes including connection pool abandonment recovery, query optimization, and monitoring alerts.

AI-generated SQLMonitoringSQL Server
0 likes · 8 min read
AI-Generated SQL Locks Database, Exhausts Tomcat Connection Pool: Production Post-Mortem
liandk
liandk
Oct 5, 2026 · Backend Development

Root-Cause Analysis & Fixes for Production Dirty Data & Inconsistency

This article systematically analyzes six root causes of production data inconsistency, details fixes for five core scenarios (inventory, orders, funds, points, cache), reveals four hidden bugs, and provides a three-layer verification system, an 8-step repair SOP, and nine ironclad rules for data high availability.

SOPcache consistencydata verification
0 likes · 16 min read
Root-Cause Analysis & Fixes for Production Dirty Data & Inconsistency
liandk
liandk
Oct 4, 2026 · Backend Development

High-Concurrency Flash Sale Architecture: Layered Rate Limiting, Overselling Prevention & Cache Protection

This article details a production-grade five-layer architecture for high-concurrency flash sale systems, covering traffic shaping via message queues, multi-level rate limiting, three-tier overselling prevention using Redis atomic operations and database optimistic locking, and solutions for cache penetration, breakdown, and avalanche, plus nine common failure scenarios and a troubleshooting SOP.

Message QueueRate LimitingRedis
0 likes · 17 min read
High-Concurrency Flash Sale Architecture: Layered Rate Limiting, Overselling Prevention & Cache Protection
liandk
liandk
Sep 30, 2026 · Cloud Native

Microservice Registration & Gateway Fault Troubleshooting: Nacos/Eureka Heartbeat, Jitter, Routing Failures, Avalanche Solutions

This article provides a comprehensive troubleshooting guide for microservice registration discovery and gateway routing failures, covering 10 high-frequency Nacos faults, Eureka-specific issues, gateway routing problems, a step-by-step SOP, and production high-availability specifications to eliminate cascading outages.

CacheEurekaGateway
0 likes · 17 min read
Microservice Registration & Gateway Fault Troubleshooting: Nacos/Eureka Heartbeat, Jitter, Routing Failures, Avalanche Solutions
liandk
liandk
Sep 30, 2026 · Backend Development

Distributed Transaction Deep Dive: CAP/BASE, TCC/SAGA & 8 Production Faults

This article provides a comprehensive guide to distributed transactions in microservices, covering CAP/BASE theory, four major patterns (2PC, local message table, TCC, SAGA), eight common production faults with root causes and fixes, selection guidelines, a troubleshooting SOP, and high-availability standards.

2PCBASE theoryCAP theorem
0 likes · 19 min read
Distributed Transaction Deep Dive: CAP/BASE, TCC/SAGA & 8 Production Faults
liandk
liandk
Sep 29, 2026 · Backend Development

Java Fault Analysis Masterclass: 7-Step Review, 6 Root Causes, 8 HA Principles

This final chapter of a 20-part Java series presents a 7-step fault review SOP, categorizes 99% of production faults into six root causes, defines eight high-availability architecture principles, and outlines a four-layer risk prevention system to shift from reactive firefighting to proactive stability.

Fault AnalysisHigh AvailabilityJava
0 likes · 13 min read
Java Fault Analysis Masterclass: 7-Step Review, 6 Root Causes, 8 HA Principles