Architecture Digest
Author

Architecture Digest

Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.

2.3k
Articles
0
Likes
5.0k
Views
0
Comments
Recent Articles

Latest from Architecture Digest

100 recent articles max
Architecture Digest
Architecture Digest
Oct 2, 2025 · Backend Development

How to Reliably Close Unpaid Orders: Proven Backend Strategies

This article examines common pitfalls and compares five backend solutions—database scans, JDK DelayQueue, Redis keyspace notifications, Redis sorted sets, and delayed MQ messages—for reliably handling order timeout in high‑traffic e‑commerce systems, highlighting their advantages, drawbacks, and best‑fit scenarios.

Message Queuebackendorder timeout
0 likes · 11 min read
How to Reliably Close Unpaid Orders: Proven Backend Strategies
Architecture Digest
Architecture Digest
Sep 30, 2025 · Backend Development

Why Does FastJSON Call isChinaName() During Serialization? Deep Dive & Fix

This article investigates a NullPointerException caused by FastJSON invoking the isChinaName() method during serialization, explains the underlying JavaBeanSerializer mechanisms, demonstrates debugging steps with code examples, and provides best‑practice guidelines using @JSONField annotations to control serialization behavior.

FastJSONJSONFieldJava serialization
0 likes · 7 min read
Why Does FastJSON Call isChinaName() During Serialization? Deep Dive & Fix
Architecture Digest
Architecture Digest
Sep 29, 2025 · Fundamentals

Unlock Java’s New Power: 10 JDK 17 Features That Transform Your Code

This article explores the most impactful JDK 17 enhancements—including records, sealed classes, pattern matching, text blocks, improved switch expressions, var type inference, and advanced Stream API features—showing how they simplify Java code, boost readability, and increase performance for developers transitioning from older versions.

JDK 17JavaPattern Matching
0 likes · 14 min read
Unlock Java’s New Power: 10 JDK 17 Features That Transform Your Code
Architecture Digest
Architecture Digest
Sep 28, 2025 · Backend Development

When to Use SSE vs WebSocket: A Practical Guide with Node.js Demo

This article explains server‑to‑client push scenarios, compares polling, WebSocket and Server‑Sent Events (SSE), details SSE APIs and browser compatibility, and provides complete front‑end and back‑end Node.js demos to help you choose the right technology for real‑time data delivery.

Node.jsPollingReal-time communication
0 likes · 11 min read
When to Use SSE vs WebSocket: A Practical Guide with Node.js Demo
Architecture Digest
Architecture Digest
Sep 25, 2025 · Databases

How to Tackle MySQL Master‑Slave Replication Lag and Prevent Dirty Reads

This article explains why MySQL master‑slave replication lag causes dirty reads, breaks down the asynchronous replication pipeline, and presents three practical mitigation strategies—including semi‑synchronous replication, forcing reads from the master, and cache double‑delete techniques—so you can choose the right solution for your workload.

MySQLSemi-synchronouscache invalidation
0 likes · 9 min read
How to Tackle MySQL Master‑Slave Replication Lag and Prevent Dirty Reads
Architecture Digest
Architecture Digest
Sep 24, 2025 · Backend Development

Streamlining Spring Controllers with Unified Responses and Validation

This article explains how to simplify Spring MVC controller code by introducing a unified response format, leveraging ResponseBodyAdvice for automatic wrapping, applying JSR‑303 validation for request parameters, creating custom validators, and handling exceptions globally to keep business logic clean and maintainable.

ControllerJavaSpring
0 likes · 15 min read
Streamlining Spring Controllers with Unified Responses and Validation
Architecture Digest
Architecture Digest
Sep 23, 2025 · Backend Development

How to Ensure Zero Message Loss in Kafka: Proven Strategies for High‑Reliability Systems

This article explains Kafka's storage architecture, identifies three major message‑loss scenarios across production, storage, and consumption, and provides practical end‑to‑end configurations, detection methods, and business‑level patterns to achieve near‑zero message loss in high‑concurrency distributed systems.

Data ConsistencyKafkaMessage Queue
0 likes · 13 min read
How to Ensure Zero Message Loss in Kafka: Proven Strategies for High‑Reliability Systems
Architecture Digest
Architecture Digest
Sep 22, 2025 · Databases

From Single Node to Distributed Cluster: Mastering Redis Evolution

This article walks through Redis's journey from a simple single‑instance cache to a robust, highly available, and horizontally scalable distributed system, covering persistence mechanisms, master‑slave replication, Sentinel automatic failover, and sharding clusters for real‑world high‑traffic applications.

Persistenceclusteringdatabase
0 likes · 12 min read
From Single Node to Distributed Cluster: Mastering Redis Evolution
Architecture Digest
Architecture Digest
Sep 21, 2025 · Fundamentals

What Truly Builds a Programmer’s Competitive Edge?

The article argues that a programmer’s true moat isn’t a specific language or framework but core abilities such as rapid learning, problem abstraction, engineering mindset, communication, and genuine passion, which remain valuable despite fast‑changing technologies.

CommunicationProblem SolvingSkills
0 likes · 4 min read
What Truly Builds a Programmer’s Competitive Edge?