Architecture Pony
Author

Architecture Pony

Learning notes

31
Articles
0
Likes
49
Views
0
Comments
Recent Articles

Latest from Architecture Pony

31 recent articles
Architecture Pony
Architecture Pony
Nov 5, 2026 · Backend Development

Spring Cloud Ecosystem: Component Map, Version Traps & Request Flow

This article provides a comprehensive overview of the Spring Cloud ecosystem, detailing its six-layer component architecture, strict version compatibility rules, end-to-end request flow, core abstraction interfaces, recommended project structure, common configuration pitfalls, and a structured learning path with interview questions.

FeignGatewayMicroservices
0 likes · 25 min read
Spring Cloud Ecosystem: Component Map, Version Traps & Request Flow
Architecture Pony
Architecture Pony
Nov 5, 2026 · Databases

ShardingSphere Sharding: Production Patterns, Pitfalls & Source-Code Deep Dive

This article details Spring Boot database sharding with ShardingSphere, covering sharding strategies, configuration, five-step SQL routing, rewrite and merge engines, distributed ID generation, pagination pitfalls, cross-shard joins, scaling procedures, and eight common pitfalls with troubleshooting tips.

PaginationSQL routingShardingSphere
0 likes · 22 min read
ShardingSphere Sharding: Production Patterns, Pitfalls & Source-Code Deep Dive
Architecture Pony
Architecture Pony
Nov 4, 2026 · Backend Development

Spring Boot Distributed Locks: From Redisson Watchdog to RedLock Controversy

This article analyzes distributed locking in Spring Boot using Redis and Redisson, covering atomic locking with SET NX EX, watchdog lease renewal, reentrant Hash-based design, pub/sub wait notification, the RedLock algorithm debate including Martin Kleppmann's GC pause and clock jump critiques, and production pitfalls with annotation-based AOP encapsulation.

Distributed LockLua ScriptRedLock
0 likes · 23 min read
Spring Boot Distributed Locks: From Redisson Watchdog to RedLock Controversy
Architecture Pony
Architecture Pony
Nov 4, 2026 · Cloud Native

Spring Boot Containerization: Docker Image Slimming from 800MB to 200MB & K8s Probe Tuning

This article details Spring Boot containerization best practices: multi-stage Dockerfiles with JRE-alpine and layered jars cut image size from 800MB to ~200MB; startup probes prevent slow-start mis-kills; readiness/liveness separation avoids DB-induced restart storms; rolling updates with maxUnavailable=0, preStop sleep, and terminationGracePeriod eliminate 502 errors; CPU limits omitted to prevent GC throttling.

CDSContainerizationDocker
0 likes · 19 min read
Spring Boot Containerization: Docker Image Slimming from 800MB to 200MB & K8s Probe Tuning
Architecture Pony
Architecture Pony
Nov 3, 2026 · Backend Development

Spring Boot RabbitMQ Reliability: From RabbitTemplate to Dead Letter Queues in Production

This comprehensive guide covers Spring Boot RabbitMQ integration for production reliability, detailing three message-loss scenarios, the three-layer exchange/queue/binding model, publisher confirms and returns, manual acknowledgment modes, local vs requeue retry strategies, dead letter queue triggers, and practical patterns for idempotency, ordering, and backlog handling with code examples.

Dead Letter QueueManual AcknowledgmentMessage Reliability
0 likes · 19 min read
Spring Boot RabbitMQ Reliability: From RabbitTemplate to Dead Letter Queues in Production
Architecture Pony
Architecture Pony
Nov 3, 2026 · Backend Development

Spring Boot Event-Driven Decoupling: ApplicationEvent Patterns & Pitfalls

This article explores Spring Boot's ApplicationEvent mechanism for decoupling business side effects, detailing synchronous default behavior, transaction-boundary listeners, async patterns with dedicated thread pools, exception handling strategies, event chaining, and practical refactoring of an order service, while contrasting in-process events with message queues.

ApplicationEventDecoupling PatternsEvent-Driven Architecture
0 likes · 24 min read
Spring Boot Event-Driven Decoupling: ApplicationEvent Patterns & Pitfalls
Architecture Pony
Architecture Pony
Nov 2, 2026 · Backend Development

Spring Boot Scheduled Tasks: @Scheduled Internals to Distributed Scheduling Evolution

This article explores Spring Boot scheduled task evolution from @Scheduled basics through thread pool configuration, source code analysis of scheduling internals, distributed locking with ShedLock, and migration to XXL-JOB for sharding and high availability, including common pitfalls and a reconciliation system case study.

@ScheduledDistributed SchedulingShedLock
0 likes · 21 min read
Spring Boot Scheduled Tasks: @Scheduled Internals to Distributed Scheduling Evolution