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
May 20, 2026 · Databases

30 Essential SQL Query Optimization Techniques

This article presents thirty practical SQL optimization tips, covering index usage, avoiding full‑table scans caused by operators like !=, NULL checks, OR, LIKE, IN, functions, and expressions, as well as best practices for temporary tables, cursors, and transaction size to improve database performance.

DatabaseIndexesPerformance tuning
0 likes · 10 min read
30 Essential SQL Query Optimization Techniques
Architect's Guide
Architect's Guide
May 15, 2026 · Backend Development

One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper

The article introduces OKHttpUtil, a lightweight wrapper around Square’s OkHttp library that enables Java developers to perform HTTP GET, POST, file upload, and download operations with a single line of code, includes Maven setup, Spring Boot integration, fluent API usage, and examples of wrapping external services such as eBay.

API wrapperHTTP clientHTTP request
0 likes · 10 min read
One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper
Architect's Guide
Architect's Guide
May 14, 2026 · Databases

8 SQL Pitfalls That Can Slow Your Queries 100‑Fold – How to Avoid Them

The article enumerates eight common MySQL query patterns—such as large‑offset LIMIT, implicit type conversion, sub‑query updates, mixed ordering, unnecessary EXISTS, poor condition push‑down, early range reduction, and inefficient intermediate result handling—and shows rewritten SQL that reduces execution time from seconds to milliseconds.

IndexesJoinPerformance
0 likes · 15 min read
8 SQL Pitfalls That Can Slow Your Queries 100‑Fold – How to Avoid Them
Architect's Guide
Architect's Guide
May 13, 2026 · Big Data

Next‑Gen Visual Drag‑Drop Data Flow Platform: Features, Architecture, and Performance

The article introduces a visual drag‑and‑drop data flow platform that unifies stream and batch processing, offers version control, automatic fault tolerance, configurable data permissions, comprehensive monitoring, data alignment, and query templates, and presents single‑instance performance benchmarks of over 30k and 60k ops/s.

Data AlignmentData FlowDrag-and-Drop
0 likes · 7 min read
Next‑Gen Visual Drag‑Drop Data Flow Platform: Features, Architecture, and Performance
Architect's Guide
Architect's Guide
May 12, 2026 · Fundamentals

Mastering TCP, HTTP, Sockets, and Socket Connection Pools

This article walks developers through the OSI model, explains TCP's three‑way handshake and four‑way termination, contrasts TCP with UDP, addresses common networking questions, and details how to implement long‑lived socket connections and a reusable socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 15 min read
Mastering TCP, HTTP, Sockets, and Socket Connection Pools
Architect's Guide
Architect's Guide
May 11, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of UUIDs for distributed systems, outlines the strict requirements for global unique IDs, compares common approaches such as database auto‑increment and Redis, and provides a detailed analysis of Twitter's Snowflake algorithm with its structure, Java implementation, advantages, drawbacks, and mitigation strategies.

JavaRedisbackend
0 likes · 14 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
Architect's Guide
Architect's Guide
May 7, 2026 · Artificial Intelligence

Spring AI 2.0 vs LangChain4j: Which Should You Choose?

The article provides a side‑by‑side analysis of Spring AI 2.0 and LangChain4j, comparing their goals, version alignment, programming models, RAG and agent capabilities, ecosystem integration, learning curve, and operational considerations to help Java teams decide which library best fits their project constraints.

AI AgentsJavaLLM integration
0 likes · 11 min read
Spring AI 2.0 vs LangChain4j: Which Should You Choose?
Architect's Guide
Architect's Guide
May 6, 2026 · Backend Development

Quickly Implement API Encryption in Spring Boot with a Single Library

This article walks through using RSA to encrypt Spring Boot API responses, covering the theory behind RSA, two security scenarios, Maven dependency setup, configuration, controller annotations, encryption/decryption code, a front‑end JavaScript example, common pitfalls, and a final security summary.

JavaRSASpring Boot
0 likes · 11 min read
Quickly Implement API Encryption in Spring Boot with a Single Library