Top Architect
Author

Top Architect

Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.

3.1k
Articles
0
Likes
8.1k
Views
0
Comments
Recent Articles

Latest from Top Architect

100 recent articles max
Top Architect
Top Architect
Mar 30, 2026 · Databases

How MyBatis Uses Over 10 Design Patterns to Simplify ORM Architecture

The article analyzes MyBatis’s 20,000‑line source code, showing how it applies more than ten classic design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—to decouple complex ORM scenarios, improve extensibility, and illustrate practical implementation details.

Design PatternsJavaMyBatis
0 likes · 12 min read
How MyBatis Uses Over 10 Design Patterns to Simplify ORM Architecture
Top Architect
Top Architect
Mar 30, 2026 · Backend Development

Why Upgrading to MyBatis‑Plus Breaks LocalDateTime Mapping and How to Fix It

A newcomer replaced MyBatis with MyBatis‑Plus in an old MySQL‑based project, triggering a "Conversion not supported for type java.time.LocalDateTime" error, which was traced to MyBatis 3.5.1 dropping built‑in type handling and an outdated mysql‑connector‑java, and resolved by upgrading the connector and adjusting validation logic.

ConnectorDebuggingJava
0 likes · 10 min read
Why Upgrading to MyBatis‑Plus Breaks LocalDateTime Mapping and How to Fix It
Top Architect
Top Architect
Mar 29, 2026 · Backend Development

Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC

This article explains how to automatically include userId and orderId in log messages of an e‑commerce system by defining log placeholders, storing IDs in ThreadLocal, and using a custom @UserLog annotation with Spring AOP to push the values into MDC, complete with configuration, code examples, and verification steps.

AOPJavaLogging
0 likes · 9 min read
Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC
Top Architect
Top Architect
Mar 27, 2026 · Backend Development

Why FastExcel Is the Next‑Gen High‑Performance Java Excel Library

FastExcel, created after Alibaba stopped updating EasyExcel, offers seamless EasyExcel compatibility, dramatically lower memory usage, and high‑speed read/write for massive Excel files, while being free under the MIT license and backed by a thriving open‑source community that also fuels the AI‑driven database tool Chat2DB.

Chat2DBExcelFastExcel
0 likes · 19 min read
Why FastExcel Is the Next‑Gen High‑Performance Java Excel Library
Top Architect
Top Architect
Mar 25, 2026 · Backend Development

Inside a Payment Platform: How Transaction and Payment Cores Interact

This article provides a detailed technical walkthrough of a typical payment platform architecture, covering the overall system overview, core transaction and payment modules, service governance mechanisms such as unified context and data consistency, and practical production practices like performance testing and asynchronous processing.

Data ConsistencyPayment Architectureasynchronous processing
0 likes · 7 min read
Inside a Payment Platform: How Transaction and Payment Cores Interact
Top Architect
Top Architect
Mar 25, 2026 · Backend Development

Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3

This article explains how to design and implement a three‑level cache pyramid (Caffeine → Redis → MySQL) in Spring Boot 3, covering configuration, a reusable CacheTemplate, hot‑key handling, random TTL, warm‑up, monitoring, and load‑test results that show latency dropping from tens of milliseconds to a few milliseconds while cutting CPU and network usage dramatically.

Backend DevelopmentCachingCaffeine
0 likes · 11 min read
Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3
Top Architect
Top Architect
Mar 22, 2026 · Databases

How to Enable Read/Write Splitting with MySQL Router 8.2 and InnoDB ReplicaSet

Discover how to set up MySQL InnoDB ReplicaSet and configure MySQL Router 8.2 for automatic read/write splitting, enabling reads to be routed to replicas and writes to the primary without code changes, complete with step-by-step commands, configuration snippets, and visual verification.

Database PerformanceInnoDB ReplicaSetMySQL
0 likes · 6 min read
How to Enable Read/Write Splitting with MySQL Router 8.2 and InnoDB ReplicaSet
Top Architect
Top Architect
Mar 18, 2026 · Backend Development

Boost Your Java Projects with Hutool: Essential Utilities and Real‑World Examples

This article introduces Hutool, a comprehensive Java utility library, outlines its main modules such as SecureUtil, HtmlUtil, and CronUtil, provides code snippets for common tasks like password hashing, HTML escaping, and scheduling, and shares practical tips for integrating these tools into applications.

CronUtilHtmlUtilHutool
0 likes · 7 min read
Boost Your Java Projects with Hutool: Essential Utilities and Real‑World Examples