Tagged articles

Outbox

22 articles · Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Aug 22, 2026 · Backend Development

High-Concurrency Wallet Design: Hot Accounts, Idempotent Deductions, and Sharding Practices

The article analyses why wallet balance deduction is more error‑prone than inventory, outlines the root causes of a real‑world 60 k TPS outage, and presents a production‑grade architecture that separates strong‑consistent user deductions from asynchronous hot‑account crediting using idempotent requests, unique DB constraints, sharding, outbox messaging, and comprehensive monitoring to guarantee financial correctness under extreme load.

High ConcurrencyOutboxidempotency
0 likes · 32 min read
High-Concurrency Wallet Design: Hot Accounts, Idempotent Deductions, and Sharding Practices
Cloud Architecture
Cloud Architecture
Aug 20, 2026 · Backend Development

How a JSON Schema Can Power Billions‑Daily Dynamic Forms: Enterprise‑Level Data Model Architecture

This article explains why dynamic forms are fundamentally a dynamic data‑model problem, outlines a complete enterprise‑grade architecture that compiles JSON Schema into a cached, versioned runtime, and details the end‑to‑end submission flow, multi‑tenant governance, indexing, projection, and observability needed to sustain billions of daily submissions.

CachingData ModelingJSON Schema
0 likes · 36 min read
How a JSON Schema Can Power Billions‑Daily Dynamic Forms: Enterprise‑Level Data Model Architecture
Ray's Galactic Tech
Ray's Galactic Tech
Aug 19, 2026 · Backend Development

Designing a 12‑State Payment System State Machine from Pending to Completed

This article presents a complete design for a 12‑state payment order state machine that handles high‑concurrency scenarios such as payment callbacks arriving after an order has been cancelled, using explicit state transitions, database CAS updates, Redis + DB idempotency, Outbox pattern and Kafka‑driven asynchronous processing to achieve reliable, auditable and compensatable order lifecycle management.

ConcurrencyKafkaMySQL
0 likes · 39 min read
Designing a 12‑State Payment System State Machine from Pending to Completed
Ray's Galactic Tech
Ray's Galactic Tech
Aug 13, 2026 · Backend Development

Event Sourcing Primer: Rebuilding State Without a Database

This article explains how event sourcing replaces the traditional current‑state table with an immutable event log, allowing systems to reconstruct any state, handle concurrency, support auditing, and power flexible read models through projections, while outlining the necessary architectural components such as aggregates, event stores, snapshots, outbox, idempotency, and the natural transition to CQRS.

CQRSEvent SourcingOutbox
0 likes · 32 min read
Event Sourcing Primer: Rebuilding State Without a Database
Cloud Architecture
Cloud Architecture
Aug 1, 2026 · Operations

From Alert Storm to Sub‑Second Insight: Building a Production‑Grade AIOps Platform with Spring Boot 3.x

This article walks through the step‑by‑step design of a production‑ready AIOps platform that tackles massive alert storms in a large e‑commerce environment by unifying signal ingestion, deduplication, RBAC, outbox‑driven event publishing, and sub‑second WebSocket push, all backed by Spring Boot 3.x, MySQL, Redis and RocketMQ.

AIOpsOutboxRocketMQ
0 likes · 50 min read
From Alert Storm to Sub‑Second Insight: Building a Production‑Grade AIOps Platform with Spring Boot 3.x
Cloud Architecture
Cloud Architecture
Jul 14, 2026 · Backend Development

Building a Billion‑Message, Millisecond‑Scale Private Messaging System with Spring Boot, RabbitMQ & Redis

This article presents a production‑grade design for a social private‑messaging system that handles billions of messages with millisecond latency, detailing how MySQL serves as the message fact store, RabbitMQ provides low‑latency distribution, Redis manages online state and indexes, and Outbox plus idempotent consumption ensure reliability and ordering.

OutboxRabbitMQRedis
0 likes · 35 min read
Building a Billion‑Message, Millisecond‑Scale Private Messaging System with Spring Boot, RabbitMQ & Redis
Cloud Architecture
Cloud Architecture
Jul 13, 2026 · Backend Development

Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration

This article explains why a payment system is more than a simple SDK integration, presents a four‑layer architecture (access, state, event, governance), details state machines, idempotent callbacks, outbox pattern, reconciliation, high‑concurrency handling, observability, security, and provides Java code examples for integrating Alipay and WeChat across all channels.

AlipayHigh ConcurrencyJava
0 likes · 29 min read
Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration
Cloud Architecture
Cloud Architecture
Jul 8, 2026 · Backend Development

High‑Concurrency Order System Architecture: How Redis, MySQL, and Elasticsearch Collaborate Without Overstepping

This article presents a production‑grade, high‑concurrency order system design that separates responsibilities among Redis for traffic control, MySQL as the single source of truth, Kafka for event propagation, and Elasticsearch for search, while detailing state‑machine modeling, outbox patterns, seckill flow, and comprehensive observability and deployment practices.

ElasticsearchHigh ConcurrencyMySQL
0 likes · 31 min read
High‑Concurrency Order System Architecture: How Redis, MySQL, and Elasticsearch Collaborate Without Overstepping
Cloud Architecture
Cloud Architecture
Jul 7, 2026 · Backend Development

From HTTP Polling to MQTT Push: Evolving High‑Concurrency IoT Device Access Architecture

Switching from HTTP polling to MQTT for massive IoT deployments requires rethinking connection models, topic design, state management, and engineering practices, as the article details the architectural evolution, four‑plane production design, code patterns, and operational safeguards needed for reliable high‑concurrency device access.

Device AccessEvent StreamingHigh Concurrency
0 likes · 46 min read
From HTTP Polling to MQTT Push: Evolving High‑Concurrency IoT Device Access Architecture
Cloud Architecture
Cloud Architecture
Jul 4, 2026 · Backend Development

Production-Ready SMS Verification Login System: Security Countermeasures and Engineering

This article presents a comprehensive guide to building a production-grade SMS verification login system, covering threat modeling, multi-layer rate limiting, state management with Redis, asynchronous message handling, multi‑provider routing, token issuance and operational monitoring to ensure security, cost control, and high availability.

OutboxRate LimitingRedis
0 likes · 36 min read
Production-Ready SMS Verification Login System: Security Countermeasures and Engineering
Cloud Architecture
Cloud Architecture
Jun 30, 2026 · Backend Development

RocketMQ Transactional Messaging in Practice: From Half Message to Production‑Grade Consistency

The article analyses why sending a message is easy but guaranteeing end‑to‑end consistency across databases, brokers, networks and services is hard, explains the exact problems RocketMQ transactional messages solve, compares them with Outbox and CDC, and provides a complete production‑grade design, implementation, monitoring and tuning guide.

CDCOutboxRocketMQ
0 likes · 44 min read
RocketMQ Transactional Messaging in Practice: From Half Message to Production‑Grade Consistency
Cloud Architecture
Cloud Architecture
Jun 27, 2026 · Backend Development

Enterprise Messaging System Deep Dive: Core Engine to High‑Concurrency

This guide explains how enterprise messaging systems reliably propagate state changes across distributed services, covering core concepts, outbox patterns, topic/tag modeling, consumer idempotency, dead‑letter handling, high‑concurrency engineering, monitoring, and Kubernetes deployment to build a production‑grade, observable platform.

High ConcurrencyKafkaOutbox
0 likes · 44 min read
Enterprise Messaging System Deep Dive: Core Engine to High‑Concurrency
Cloud Architecture
Cloud Architecture
Jun 24, 2026 · Backend Development

Spring Boot Alipay Integration: A Production-Ready Solution for High Concurrency and Financial Consistency

This article explains how to build a production‑grade Alipay payment subsystem with Spring Boot that goes beyond simple API calls, covering asynchronous flow, idempotent notification handling, state‑machine design, outbox event delivery, high‑concurrency safeguards, and end‑to‑end reconciliation.

AlipayOutboxPayment Integration
0 likes · 32 min read
Spring Boot Alipay Integration: A Production-Ready Solution for High Concurrency and Financial Consistency
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 5, 2026 · Backend Development

RocketMQ 4.x Deep Dive: Send Mechanics, Thread Model & High‑Concurrency

This article explains why a RocketMQ producer is more than a simple send API, detailing its role in system throughput, consistency and fault isolation, and walks through sending principles, thread models, high‑concurrency design, retry strategies, back‑pressure mechanisms, outbox integration and production‑grade monitoring.

High ConcurrencyJavaOutbox
0 likes · 54 min read
RocketMQ 4.x Deep Dive: Send Mechanics, Thread Model & High‑Concurrency
Cloud Architecture
Cloud Architecture
May 6, 2026 · Backend Development

Why Polling Breaks at Scale and How Spring Boot Webhooks Enable High‑Concurrency Event‑Driven Architecture

The article explains why traditional polling becomes unsustainable under high load, contrasts polling with webhook‑based event delivery, and provides a complete Spring Boot implementation—including outbox pattern, Kafka integration, retry logic, security, observability, and operational best practices—to build a production‑grade, scalable webhook platform.

High ConcurrencyKafkaOutbox
0 likes · 36 min read
Why Polling Breaks at Scale and How Spring Boot Webhooks Enable High‑Concurrency Event‑Driven Architecture
Ray's Galactic Tech
Ray's Galactic Tech
Mar 30, 2026 · Backend Development

Build a Production-Ready Go Microservice with Gin: Architecture & Scaling

This comprehensive guide walks through designing, implementing, and operating a production-grade Go microservice using Gin, covering architecture layers, domain modeling, reliable messaging, observability, CI/CD pipelines, GitOps deployment, high‑concurrency safeguards, security measures, and best‑practice testing to ensure stability, scalability, and maintainability in real‑world e‑commerce scenarios.

CI/CDGinGo
0 likes · 58 min read
Build a Production-Ready Go Microservice with Gin: Architecture & Scaling
Cloud Architecture
Cloud Architecture
Mar 29, 2026 · Backend Development

Kafka Ordered Writes and Reads: The Full Truth Behind Message Sequencing

This article demystifies Kafka's ordering guarantees, explains the difference between partition‑level, key‑level, and global ordering, and provides a complete, production‑grade guide—including architecture, configuration, code samples, and best‑practice patterns—to achieve reliable ordered processing while maintaining high throughput and scalability.

CDCConsumerExactly-Once
0 likes · 35 min read
Kafka Ordered Writes and Reads: The Full Truth Behind Message Sequencing
Architect
Architect
Jun 27, 2023 · Backend Development

Design and Implementation of an Outbox Redis Local Cache to Reduce Read Amplification

The article analyzes the high‑CPU pressure on the outbox Redis cluster caused by feed‑stream read amplification during hot events, proposes a local‑cache solution for hot UPs, details its design, consistency mechanisms, and shows that the optimization cuts peak CPU usage by over 40% while achieving more than 55% cache hit rate.

OutboxPerformance Optimizationcache
0 likes · 10 min read
Design and Implementation of an Outbox Redis Local Cache to Reduce Read Amplification