Architect
Author

Architect

Professional architect sharing high‑quality architecture insights. Topics include high‑availability, high‑performance, high‑stability architectures, big data, machine learning, Java, system and distributed architecture, AI, and practical large‑scale architecture case studies. Open to ideas‑driven architects who enjoy sharing and learning.

1.4k
Articles
0
Likes
2.6k
Views
0
Comments
Recent Articles

Latest from Architect

100 recent articles max
Architect
Architect
Dec 25, 2025 · Artificial Intelligence

How GraphRAG Boosts Retrieval Accuracy with Knowledge Graphs – A Complete Guide

This article explains why traditional RAG suffers from hallucinations, introduces GraphRAG’s knowledge‑graph‑based approach, walks through its indexing and query pipelines—including text splitting, entity‑relation extraction, graph construction, community detection, and local vs. global retrieval—provides practical setup commands, Neo4j visualization steps, and compares its performance with classic RAG.

EmbeddingGraphRAGKnowledge Graph
0 likes · 27 min read
How GraphRAG Boosts Retrieval Accuracy with Knowledge Graphs – A Complete Guide
Architect
Architect
Dec 21, 2025 · Backend Development

Mastering Spring Event Listeners: From Coffee Shop Analogy to High‑Throughput Architecture

This article uses a coffee‑shop analogy to explain Spring event listeners, demonstrates how to define, publish, and handle events, presents three techniques for handling massive traffic, shares real‑world incidents and lessons, compares listeners with MQ, and offers performance‑tuning tips and best‑practice rules.

JavaPerformanceSpring
0 likes · 10 min read
Mastering Spring Event Listeners: From Coffee Shop Analogy to High‑Throughput Architecture
Architect
Architect
Dec 20, 2025 · Backend Development

Why Our Custom Snowflake ID Generator Failed and How to Build a Reliable One

A recent production outage caused by duplicate order IDs revealed critical flaws in a home‑grown Snowflake‑style ID generator, prompting a detailed review of the standard algorithm, an analysis of the custom implementation’s mistakes, and a set of best‑practice recommendations for safe ID generation in distributed systems.

ID generationSnowflakebackend
0 likes · 8 min read
Why Our Custom Snowflake ID Generator Failed and How to Build a Reliable One
Architect
Architect
Dec 19, 2025 · Databases

Why Leading Chinese Tech Giants Prefer PostgreSQL Over MySQL – Key Advantages Explained

The article compares PostgreSQL and MySQL, highlighting PostgreSQL's richer data types, native sequence support, powerful extensions, superior monitoring and replication features, and open‑source licensing, while also noting MySQL's simplicity and ecosystem strengths, to explain why many Chinese enterprises choose PostgreSQL for their core databases.

Database comparisonExtensionsMySQL
0 likes · 9 min read
Why Leading Chinese Tech Giants Prefer PostgreSQL Over MySQL – Key Advantages Explained
Architect
Architect
Dec 18, 2025 · Backend Development

Why Graceful Shutdown Is Essential for Spring Event and How to Avoid Common Pitfalls

This article shares hard‑learned production experience on using Spring Event, explaining why services must shut down gracefully before publishing events, how startup timing can cause event loss, which business scenarios fit the publish‑subscribe model, and practical reliability techniques such as retries and idempotency.

EventJavaPubSub
0 likes · 11 min read
Why Graceful Shutdown Is Essential for Spring Event and How to Avoid Common Pitfalls
Architect
Architect
Dec 15, 2025 · Artificial Intelligence

Demystifying LLM Architecture: From Transformers to Modern MoE Designs

This comprehensive guide explains the fundamentals of large language model (LLM) architectures, covering the original Transformer, tokenization, embeddings, positional encoding, attention mechanisms, feed‑forward networks, layer stacking, a step‑by‑step translation example, and the latest open‑source and hybrid LLM designs shaping the field.

AttentionEmbeddingLLM
0 likes · 41 min read
Demystifying LLM Architecture: From Transformers to Modern MoE Designs
Architect
Architect
Dec 9, 2025 · Backend Development

Master Java SPI: Build a Pluggable Authentication System with Maven Multi‑Module

This guide explains Java's Service Provider Interface (SPI), contrasts it with traditional APIs, and walks through creating a multi‑module Maven project that uses SPI, a custom class loader, and external JAR loading to implement a flexible authentication plugin in a Spring Boot application.

JavaSPISpring Boot
0 likes · 15 min read
Master Java SPI: Build a Pluggable Authentication System with Maven Multi‑Module
Architect
Architect
Dec 7, 2025 · Backend Development

How Spring Breaks Circular Dependencies: A Deep Dive into the 3‑Level Cache

This article explains Spring's circular‑dependency problem, introduces the three‑level cache (singletonObjects, earlySingletonObjects, singletonFactories), walks through the full execution flow with code examples, and clarifies why each cache level and AOP proxy factories are essential for correct bean initialization.

AOPCircular DependencyJava
0 likes · 12 min read
How Spring Breaks Circular Dependencies: A Deep Dive into the 3‑Level Cache