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.

741
Articles
0
Likes
5.2k
Views
0
Comments
Recent Articles

Latest from Architect's Guide

100 recent articles max
Architect's Guide
Architect's Guide
Oct 15, 2026 · Backend Development

Nginx Rate Limiting Mastery: Leaky Bucket, Burst Handling & Dynamic Throttling

This guide covers Nginx rate limiting via ngx_http_limit_req_module (leaky bucket algorithm), connection limiting with ngx_http_limit_conn_module, and bandwidth throttling using limit_rate, limit_rate_after, and proxy_limit_rate, including burst handling, nodelay, whitelists, and dynamic rate control via map variables.

Dynamic ConfigurationNginxbandwidth-throttling
0 likes · 13 min read
Nginx Rate Limiting Mastery: Leaky Bucket, Burst Handling & Dynamic Throttling
Architect's Guide
Architect's Guide
Oct 14, 2026 · Backend Development

PlantUML: Text-Based UML Diagramming 10x Faster Than Visio

This guide introduces PlantUML, an open-source text-based UML diagramming tool, covering its advantages, installation in IntelliJ IDEA, Graphviz setup with environment variables, configuration steps, and practical examples for creating flowcharts and class diagrams, plus a browser-based alternative.

GraphvizIntelliJ IDEAPlantUML
0 likes · 5 min read
PlantUML: Text-Based UML Diagramming 10x Faster Than Visio
Architect's Guide
Architect's Guide
Oct 13, 2026 · Backend Development

Spring AOP Internals: Join Points, Advice, and Weaving Explained

This article explains Spring AOP's core concepts including join points, advice abstraction, and weaving mechanisms, detailing the AOP Alliance interface design with JoinPoint and MethodInterceptor, and contrasting static versus dynamic weaving approaches used by Spring.

AOP AllianceAspect-Oriented ProgrammingCGLIB
0 likes · 9 min read
Spring AOP Internals: Join Points, Advice, and Weaving Explained
Architect's Guide
Architect's Guide
Oct 12, 2026 · Backend Development

Why Microservices Need an API Gateway: Solving Cross-Cutting Concerns Without Code Duplication

This article explains why microservices require an API gateway by comparing three approaches for handling cross-cutting concerns like authentication, demonstrating how gateways eliminate code duplication, reduce service JAR size, and enable centralized updates without redeploying all services, while also covering gateway architecture, core functions, and technology stack recommendations.

API gatewayArchitecture PatternsJWT
0 likes · 8 min read
Why Microservices Need an API Gateway: Solving Cross-Cutting Concerns Without Code Duplication
Architect's Guide
Architect's Guide
Oct 11, 2026 · Databases

Why Database Indexes Speed Up Queries: Binary Search & Clustered Indexes Explained

This article explains how database indexes accelerate queries by leveraging sorted data structures and binary search, detailing disk I/O mechanics, clustered vs. non-clustered indexes, index trade-offs on write performance, and common SQL optimization pitfalls like OR conditions and leading wildcards that cause index invalidation.

MySQLSQL optimizationbinary search
0 likes · 13 min read
Why Database Indexes Speed Up Queries: Binary Search & Clustered Indexes Explained
Architect's Guide
Architect's Guide
Oct 10, 2026 · Databases

MySQL Full-Text Search: Beyond LIKE % for Fuzzy Queries

This article explains MySQL full-text search using inverted indexes as an alternative to LIKE % queries, covering index creation, natural language, boolean, and query expansion modes with syntax examples and performance considerations.

InnoDBMySQLboolean search
0 likes · 14 min read
MySQL Full-Text Search: Beyond LIKE % for Fuzzy Queries
Architect's Guide
Architect's Guide
Oct 9, 2026 · Databases

SQL Optimization: From 30,248s to 0.001s

A step-by-step MySQL query optimization case study showing how indexing, join rewriting, composite indexes, and covering indexes reduced execution time from 30,248 seconds to 0.001 seconds with execution plan analysis.

MySQLSQL optimizationcomposite index
0 likes · 12 min read
SQL Optimization: From 30,248s to 0.001s
Architect's Guide
Architect's Guide
Oct 8, 2026 · Backend Development

Seamless Token Refresh: Backend vs Frontend Strategies for JWT Authentication

This article explains why seamless token refresh prevents sudden logouts, compares backend automatic token renewal with frontend dual-token (access/refresh) approaches, provides Java JWT implementation code with expiration calculations, and discusses handling edge cases like long-form submissions where no requests are sent before token expiry.

Frontend-Backend IntegrationJWTJava
0 likes · 10 min read
Seamless Token Refresh: Backend vs Frontend Strategies for JWT Authentication
Architect's Guide
Architect's Guide
Oct 7, 2026 · Backend Development

MaxKey SSO Deep Dive: Enterprise Authentication Architecture, Security Mechanisms, and bcrypt Password Storage

This article explores MaxKey, an open-source single sign-on system supporting OAuth 2.x, OpenID Connect, SAML 2.0, JWT, CAS, and SCIM, detailing its microservices architecture, security features like secondary authentication and single logout, session timeout design, brute-force protections, and bcrypt password storage implementation.

MaxKeyOAuthOpen Source
0 likes · 12 min read
MaxKey SSO Deep Dive: Enterprise Authentication Architecture, Security Mechanisms, and bcrypt Password Storage