Cloud Architecture
Author

Cloud Architecture

Focuses on cloud‑native and distributed architecture engineering, sharing practical solutions and lessons learned. Covers microservice governance, Kubernetes, observability, and stability engineering to help your systems run stable, fast, and cost‑effectively.

217
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from Cloud Architecture

100 recent articles max
Cloud Architecture
Cloud Architecture
Jun 15, 2026 · Backend Development

Trillion‑Message Engine Showdown: RabbitMQ vs Kafka Architecture, Performance and Cloud‑Native Pitfalls

An experienced architect compares RabbitMQ and Kafka across core protocols, storage, replication, consumption semantics, and real‑world production designs, offering Java 17/Spring Boot code, cloud‑native deployment tips, observability, and a decision framework that matches messaging patterns to business requirements.

Event StreamingJavaKafka
0 likes · 45 min read
Trillion‑Message Engine Showdown: RabbitMQ vs Kafka Architecture, Performance and Cloud‑Native Pitfalls
Cloud Architecture
Cloud Architecture
Jun 14, 2026 · Backend Development

RabbitMQ Exchanges Mastery: Routing Basics to Scalable High‑Concurrency Design

This guide explains why the Exchange is the routing core of RabbitMQ, details its five-layer capabilities, shows how to design reliable, scalable topologies with direct, topic, fanout and headers exchanges, and provides Spring Boot code examples for production‑grade routing, retries, dead‑letter handling and monitoring.

ExchangeOutboxQuorum Queue
0 likes · 46 min read
RabbitMQ Exchanges Mastery: Routing Basics to Scalable High‑Concurrency Design
Cloud Architecture
Cloud Architecture
Jun 12, 2026 · Backend Development

Building an Engineering‑Grade Full‑Link API Test Suite for Spring Boot: From Unit Tests to Production Load Testing

The article explains why many Spring Boot services still crash in production despite passing unit and integration tests, defines a full‑link testing concept that covers code correctness, component collaboration, contract stability, end‑to‑end business flow, and production‑scale performance, and provides a layered, risk‑driven testing architecture with concrete code examples, tooling, and CI/CD integration.

API-testingCI/CDSpring Boot
0 likes · 40 min read
Building an Engineering‑Grade Full‑Link API Test Suite for Spring Boot: From Unit Tests to Production Load Testing
Cloud Architecture
Cloud Architecture
Jun 12, 2026 · Backend Development

1 Million QPS Coupon‑Grab System: Distributed Rate Limiting, Stock Capping, and CAP Trade‑offs

The article explains how a production‑grade coupon‑grab service can survive millions of requests per second by treating rate limiting as a business admission layer, separating stock capping from throttling, making explicit CAP trade‑offs, and implementing a hybrid Redis‑based token‑bucket limiter with local fallback, monitoring, and deployment best practices.

CAP theoremKubernetesRedis
0 likes · 28 min read
1 Million QPS Coupon‑Grab System: Distributed Rate Limiting, Stock Capping, and CAP Trade‑offs
Cloud Architecture
Cloud Architecture
Jun 11, 2026 · Backend Development

RocketMQ Storage HA Deep Dive: CommitLog Mechanics to Production Controller Failover

This article analyzes RocketMQ’s storage high‑availability, detailing the CommitLog, ConsumeQueue, flushing and replication mechanisms, comparing traditional master‑slave, DLedger and Controller modes, and provides engineering configurations, code examples, capacity planning, Kubernetes deployment, monitoring and recovery practices for production‑grade fault tolerance.

CommitLogControllerDLedger
0 likes · 42 min read
RocketMQ Storage HA Deep Dive: CommitLog Mechanics to Production Controller Failover
Cloud Architecture
Cloud Architecture
Jun 11, 2026 · Databases

MySQL Deadlock Elimination: 9 Golden Rules and Production‑Ready Defense

Deadlocks in MySQL are not random glitches but the inevitable result of uncontrolled concurrency, lock granularity, transaction boundaries, and resource ordering; this article explains the underlying lock mechanisms, common deadlock scenarios, and presents nine practical, production‑grade rules for architecture design, lock management, and observability to keep deadlocks within acceptable SLA limits.

InnoDBPerformancedeadlock
0 likes · 31 min read
MySQL Deadlock Elimination: 9 Golden Rules and Production‑Ready Defense
Cloud Architecture
Cloud Architecture
Jun 10, 2026 · Backend Development

Million-Connection Single-Server with Netty: Architecture, Extreme Tuning, and Production Deployment

This article details how to design and tune a Netty‑based single‑machine gateway capable of handling one million concurrent TCP long‑connections, covering network model, memory management, protocol design, OS and JVM optimizations, clustering, load balancing, graceful shutdown, monitoring, and practical deployment considerations.

JavaLong ConnectionsNetty
0 likes · 43 min read
Million-Connection Single-Server with Netty: Architecture, Extreme Tuning, and Production Deployment
Cloud Architecture
Cloud Architecture
Jun 10, 2026 · Backend Development

How to End Duplicate Consumption in RocketMQ with Idempotence and High‑Concurrency Architecture

The article explains why RocketMQ inevitably delivers duplicate messages under at‑least‑once semantics, analyzes root causes in producer, broker and consumer stages, and presents a production‑grade idempotent solution that combines business keys, Redis caching, Redisson locks, a MySQL idempotent table, AOP interception, and comprehensive monitoring to guarantee exactly‑once business outcomes even under high concurrency and Kubernetes graceful shutdown.

IdempotenceJavaRedis
0 likes · 34 min read
How to End Duplicate Consumption in RocketMQ with Idempotence and High‑Concurrency Architecture
Cloud Architecture
Cloud Architecture
Jun 9, 2026 · Cloud Native

Kubernetes Deployment Node Scheduling: A Complete Guide Beyond Just Running Pods

The article explains why the default Kubernetes scheduler is insufficient for production, details the four scheduling constraints—resource, topology, performance, and governance—covers the scheduler's internal phases, and provides practical patterns, code examples, and troubleshooting steps for robust Deployment node scheduling.

DeploymentKubernetesNode Scheduling
0 likes · 43 min read
Kubernetes Deployment Node Scheduling: A Complete Guide Beyond Just Running Pods
Cloud Architecture
Cloud Architecture
Jun 8, 2026 · Backend Development

Why Fixed‑Window Rate Limiting Fails in High‑Concurrency: Full Guide to Three Production‑Ready Approaches

The article explains why the simple fixed‑window counter is a hidden trap for high‑traffic systems, outlines five essential questions for production‑grade rate limiting, and compares three practical deployment patterns—single‑node Guava token bucket, Redis‑based distributed sliding window, and Sentinel‑driven microservice governance—complete with code and operational tips.

GuavaRedisSentinel
0 likes · 44 min read
Why Fixed‑Window Rate Limiting Fails in High‑Concurrency: Full Guide to Three Production‑Ready Approaches