Architect's Guide
Author

Architect's Guide

Dedicated to sharing programmer-architect skills—Java backend, system, microservice, and distributed architectures—to help you become a senior architect.

701
Articles
0
Likes
4.3k
Views
0
Comments
Recent Articles

Latest from Architect's Guide

100 recent articles max
Architect's Guide
Architect's Guide
Aug 9, 2026 · Backend Development

SpringBoot API Encryption & Decryption Made Easy with a Custom Starter

This article walks through building a reusable SpringBoot starter that automatically encrypts response data and decrypts request payloads using hutool‑crypto, request/response body advice, and a reusable request‑stream wrapper, eliminating repetitive security code.

Custom StarterRequestBodyAdviceResponseBodyAdvice
0 likes · 17 min read
SpringBoot API Encryption & Decryption Made Easy with a Custom Starter
Architect's Guide
Architect's Guide
Aug 8, 2026 · Databases

Why Do Indexes Speed Up Database Queries?

The article explains how database indexes, built on sorted data and binary search, dramatically reduce query time compared to full table scans, while also covering storage fundamentals, the cost of excessive indexes, clustered indexes, index failure scenarios, and practical SQL optimization techniques.

SQL optimizationbinary searchclustered index
0 likes · 12 min read
Why Do Indexes Speed Up Database Queries?
Architect's Guide
Architect's Guide
Aug 7, 2026 · Backend Development

A Clear Diagram of the User Login Verification Process

This article walks through a complete user login flow—including client verification, token generation, expiration policies, gateway validation, logout handling, anonymous access, rate‑limiting via authorized tokens, regex path checks, and blacklist management—illustrated with diagrams and Spring‑Redis code examples.

AuthenticationRate LimitingRedis
0 likes · 9 min read
A Clear Diagram of the User Login Verification Process
Architect's Guide
Architect's Guide
Aug 6, 2026 · Backend Development

What Is a Software Scaffold, Why Do You Need It, and Which Ones Are Common?

The article explains the concept of software scaffolding, why it is essential for reuse, DRY, and open‑closed principles, presents a case study comparing a custom persistence layer with Spring Data, and surveys popular scaffolds such as Vue, Maven, Netty, Java EE, Dropwizard and Spring Boot.

Spring BootVuebackend development
0 likes · 12 min read
What Is a Software Scaffold, Why Do You Need It, and Which Ones Are Common?
Architect's Guide
Architect's Guide
Aug 5, 2026 · Databases

How to Combine Pagination and Multi‑Condition Fuzzy Search in Redis

This article explains how to implement pagination using Redis Sorted Sets, achieve multi‑condition fuzzy queries with Hashes and HSCAN, and then combine both techniques into a single solution while discussing performance trade‑offs and optimization strategies such as key expiration and data‑sync methods.

HSCANRedisSorted Set
0 likes · 9 min read
How to Combine Pagination and Multi‑Condition Fuzzy Search in Redis
Architect's Guide
Architect's Guide
Aug 3, 2026 · Backend Development

Say Goodbye to if‑else: Elegant Parameter Validation in Spring Boot

This article walks through why manual if‑else checks are cumbersome for API input validation, introduces Java Bean Validation (JSR‑303/349/380) and its implementations, shows how to use @Validated and @Valid annotations in Spring Boot, and demonstrates unified exception handling for clean error responses.

Bean ValidationHibernate ValidatorJava
0 likes · 21 min read
Say Goodbye to if‑else: Elegant Parameter Validation in Spring Boot
Architect's Guide
Architect's Guide
Jul 25, 2026 · Backend Development

The Art of Building a High‑Concurrency Flash‑Sale System

This article dissects the architecture of a massive flash‑sale service like 12306, covering multi‑layer load balancing, Nginx weighted round‑robin, stock‑deduction strategies, a Go‑based implementation with Redis and Lua, and performance results that demonstrate handling millions of concurrent ticket requests.

GoNginxRedis
0 likes · 22 min read
The Art of Building a High‑Concurrency Flash‑Sale System
Architect's Guide
Architect's Guide
Jun 28, 2026 · Cloud Native

Kubernetes Networking Explained with 16 Detailed Diagrams

This article provides a comprehensive, diagram‑driven analysis of Kubernetes networking, covering underlay and overlay models, the role of VLAN, OSPF, BGP, and various CNI plugins such as Flannel host‑gw, Calico BGP, IPVLAN/MACVLAN, Multus, and Danm, as well as tunnel technologies like VxLAN and IPIP.

CalicoFlannelIPIP
0 likes · 13 min read
Kubernetes Networking Explained with 16 Detailed Diagrams
Architect's Guide
Architect's Guide
Jun 27, 2026 · Information Security

A Comprehensive Guide to Front‑End and Back‑End Authentication Strategies

This article systematically explains ten common authentication approaches—from basic HTTP authentication and session‑cookie mechanisms to token, JWT, SSO, OAuth 2.0, QR‑code login, and one‑click login—detailing their principles, workflows, advantages, drawbacks, and typical usage scenarios with concrete examples and code snippets.

AuthenticationCookieJWT
0 likes · 42 min read
A Comprehensive Guide to Front‑End and Back‑End Authentication Strategies
Architect's Guide
Architect's Guide
Jun 24, 2026 · Databases

Nine Essential Aspects of Redis: A Comprehensive Technical Guide

This article provides an in‑depth technical overview of Redis, covering its single‑threaded model, core data structures, persistence options, master‑slave replication, Sentinel and cluster architectures, eviction policies, progressive rehash, skiplist implementation, bitmap usage for massive active‑user counting, and strategies for handling MySQL‑Redis write‑through consistency.

BitMapClusterPersistence
0 likes · 30 min read
Nine Essential Aspects of Redis: A Comprehensive Technical Guide