Lobster Programming
Author

Lobster Programming

Sharing insights on technical analysis and exchange, making life better through technology.

174
Articles
0
Likes
1.5k
Views
0
Comments
Recent Articles

Latest from Lobster Programming

100 recent articles max
Lobster Programming
Lobster Programming
Jul 27, 2026 · Backend Development

Mastering Liteflow: Core Concepts and a Real‑World Spring Boot Demo

This article introduces the Liteflow rule‑engine framework, explains its core concepts, syntax, and configuration options, and walks through a complete Spring Boot 3.2 / Java 17 project that demonstrates building, deploying, and testing a multi‑step workflow with practical code examples.

EL SyntaxJava 17LiteFlow
0 likes · 14 min read
Mastering Liteflow: Core Concepts and a Real‑World Spring Boot Demo
Lobster Programming
Lobster Programming
Jul 20, 2026 · Fundamentals

A Comprehensive Guide to New Features from JDK 8 Through JDK 27

The article systematically outlines the major new features introduced in JDK 8 and each subsequent release up to JDK 27, highlighting language enhancements, API additions, module system, garbage collectors, virtual threads, and offering migration recommendations for different project scenarios.

JDKJavaVersion Updates
0 likes · 10 min read
A Comprehensive Guide to New Features from JDK 8 Through JDK 27
Lobster Programming
Lobster Programming
Jul 13, 2026 · Backend Development

Three‑layer mechanism to ensure a single charge for repeated payment attempts

The article explains a three‑layer strategy—pre‑intercept via Redis locks or temporary tokens, mid‑process control using order status and optimistic locking, and post‑fallback with delayed MQ messages and nightly reconciliation—to guarantee that multiple user clicks result in only one successful payment.

MQOptimistic LockToken
0 likes · 7 min read
Three‑layer mechanism to ensure a single charge for repeated payment attempts
Lobster Programming
Lobster Programming
Jul 6, 2026 · Backend Development

Why Kafka Achieves Such High Throughput

Kafka’s exceptionally high throughput stems from a combination of design choices—including sequential disk writes, zero‑copy data transfer, batch processing, partition‑level parallelism, OS page‑cache utilization, and producer‑side compression—that together minimize I/O overhead, CPU usage, and latency.

CompressionKafkaPage Cache
0 likes · 6 min read
Why Kafka Achieves Such High Throughput
Lobster Programming
Lobster Programming
Jun 22, 2026 · Databases

Common Redis Use Cases in Real-World Projects

This article outlines nine practical Redis scenarios—including hot‑data caching, distributed locks with Redisson, Bloom filters for cache‑penetration protection, delayed queues using ZSet, token‑bucket rate limiting, bitmap boolean statistics, UV deduplication via Set/HyperLogLog/Bitmap, geospatial indexing, and lightweight Stream queues—explaining their motivations, implementation steps, and trade‑offs.

BitmapBloom filterCaching
0 likes · 7 min read
Common Redis Use Cases in Real-World Projects
Lobster Programming
Lobster Programming
Jun 15, 2026 · Backend Development

Choosing Between Seata‑AT, TCC, and Saga for Distributed Transactions

The article compares Seata‑AT, TCC, and Saga distributed‑transaction patterns, explains their two‑phase or three‑phase mechanisms, outlines performance and consistency trade‑offs, and provides concrete guidance on which solution fits backend micro‑service scenarios such as core commerce, third‑party integration, or admin tools.

AT modeSeataTCC
0 likes · 8 min read
Choosing Between Seata‑AT, TCC, and Saga for Distributed Transactions
Lobster Programming
Lobster Programming
Jun 8, 2026 · Databases

Why Redis Cache Expiration Triggers System Spikes

The article explains how massive simultaneous expiration of Redis keys can overload the single‑threaded server, causing brief request blocking, response‑time spikes, and even memory‑related issues in master‑slave setups.

Rediscache expirationeviction policies
0 likes · 6 min read
Why Redis Cache Expiration Triggers System Spikes
Lobster Programming
Lobster Programming
Jun 1, 2026 · Backend Development

How ZooKeeper Implements Distributed Locks: Mechanism and Pitfalls

The article explains ZooKeeper's herd effect, how temporary sequential nodes and chain watching reduce notification storms, how client failures are handled, and why most projects use Curator to simplify fault‑tolerant distributed lock implementations.

Chain WatchingCuratorEphemeral Sequential Node
0 likes · 5 min read
How ZooKeeper Implements Distributed Locks: Mechanism and Pitfalls
Lobster Programming
Lobster Programming
May 25, 2026 · Backend Development

Designing a System That Can Survive Sudden Spikes of One Million QPS

The article analyzes why simply adding Redis nodes cannot handle a sudden million‑QPS surge, then presents three practical solutions—key sharding, multi‑level caching with hot‑key detection, and distributed‑lock‑based fallback—to build a resilient high‑concurrency backend.

Cache ShardingRediscircuit-breaker
0 likes · 7 min read
Designing a System That Can Survive Sudden Spikes of One Million QPS