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.

653
Articles
0
Likes
2.1k
Views
0
Comments
Recent Articles

Latest from Architect's Guide

100 recent articles max
Architect's Guide
Architect's Guide
Apr 18, 2026 · Databases

How to Import 1 Billion Records into MySQL at Lightning Speed

This article analyzes the constraints of loading a billion 1‑KB log records from HDFS/S3 into MySQL, evaluates single‑table limits, proposes batch inserts, sharding, file‑reading techniques, task coordination with Redis, Redisson, and Zookeeper, and offers practical performance‑tuning recommendations.

Bulk InsertPerformance tuningRedis
0 likes · 21 min read
How to Import 1 Billion Records into MySQL at Lightning Speed
Architect's Guide
Architect's Guide
Apr 14, 2026 · Databases

What Happens When MySQL Auto‑Increment IDs Reach Their Limits?

This article explains how MySQL handles auto‑increment primary keys, InnoDB internal row_id, Xid, trx_id, and thread_id when their numeric limits are reached, illustrating the resulting errors, data overwrites, and potential consistency bugs with practical SQL examples and verification steps.

InnoDBXidauto_increment
0 likes · 13 min read
What Happens When MySQL Auto‑Increment IDs Reach Their Limits?
Architect's Guide
Architect's Guide
Apr 12, 2026 · Fundamentals

Why 7‑Zip Beats WinRAR: License, Features, and Compression Ratio Explained

The article explains that 7‑Zip is an open‑source compression program released under GNU LGPL (with AES under BSD and unRAR under dual licenses), highlights its key features, compares its compression ratios to WinRAR using Firefox and Google Earth files, and provides the GitHub repository link.

7-ZipFile CompressionGitHub
0 likes · 3 min read
Why 7‑Zip Beats WinRAR: License, Features, and Compression Ratio Explained
Architect's Guide
Architect's Guide
Apr 10, 2026 · Operations

How to Block Foreign IPs with NGINX and the ngx_http_geoip2 Module

This step‑by‑step guide shows how to install the GeoIP2 library, compile NGINX 1.18 with the ngx_http_geoip2 module, download the latest MaxMind GeoLite2 database, configure geoip2 directives, and verify that foreign IP requests are blocked with a 404 response.

Server Securityblock foreign IPgeoip2
0 likes · 7 min read
How to Block Foreign IPs with NGINX and the ngx_http_geoip2 Module
Architect's Guide
Architect's Guide
Apr 5, 2026 · Backend Development

Demystifying Spring Bean Creation: From Simple Instantiation to Three‑Level Caching

This article breaks down Spring's bean lifecycle, explaining the minimal creation steps, the role of BeanFactoryPostProcessor and BeanPostProcessor, how Spring resolves bean references, handles circular dependencies with three‑level caches, and clarifies common misconceptions about proxy generation.

PostProcessorThree-level Cachebean-lifecycle
0 likes · 14 min read
Demystifying Spring Bean Creation: From Simple Instantiation to Three‑Level Caching
Architect's Guide
Architect's Guide
Apr 3, 2026 · Databases

How to Diagnose and Solve MySQL Table Size Bottlenecks

This article explains how to assess MySQL table size using table capacity, disk usage, and instance limits, reveals why large tables slow down due to B+‑tree overhead, and presents three practical solutions—partitioning, sharding, and hot‑cold archiving—to restore query performance.

B+TreeHot/Cold ArchivingSharding
0 likes · 17 min read
How to Diagnose and Solve MySQL Table Size Bottlenecks