Writing

Blog

Technical articles on Java backend, distributed systems, AI agents, and engineering practices.

Type
Year
2026-06-15Tech Deep Dive

Atomic Inventory Deduction with Redis + Lua for High-Concurrency Seckill

A deep dive into using Redis cache preheating and Lua scripting to combine inventory checking, purchase limits, and stock deduction into a single atomic operation, significantly reducing database row lock pressure.

RedisLuaHigh ConcurrencySeckillInventorySpring Boot
2026-05-10Tutorial

Building an Intelligent RAG Q&A System with Spring AI

Build a RAG-powered intelligent Q&A system from scratch using Spring AI and Milvus vector database, with document upload, text chunking, vector retrieval, and query augmentation capabilities.

Spring AIRAGMilvusVector SearchAI AgentEmbedding