Architect's Tech Stack
Author

Architect's Tech Stack

Java backend, microservices, distributed systems, containerized programming, and more.

595
Articles
0
Likes
1.3k
Views
0
Comments
Recent Articles

Latest from Architect's Tech Stack

100 recent articles max
Architect's Tech Stack
Architect's Tech Stack
Sep 28, 2025 · Backend Development

Boost Your Java Project Setup: One-Click Maven Multi-Module Generation

This article introduces a custom IntelliJ IDEA plugin that automates the creation of Maven multi‑module Java projects, turning a tedious half‑hour setup into a 30‑second one‑click process, while offering smart dependency wiring, customizable templates, and detailed installation and usage instructions.

IntelliJ IDEAJavaMulti‑module
0 likes · 10 min read
Boost Your Java Project Setup: One-Click Maven Multi-Module Generation
Architect's Tech Stack
Architect's Tech Stack
Sep 27, 2025 · Backend Development

Ensuring Transaction Rollback in Multi‑Threaded Java Services

This article explains why @Transactional fails in multi‑threaded Spring services, provides a utility for splitting large data sets, shows thread‑pool configuration, demonstrates a failing transaction scenario, and presents a solution using manual MyBatis sqlSession commit to guarantee atomic rollback across all threads.

JavaMyBatisSpring
0 likes · 10 min read
Ensuring Transaction Rollback in Multi‑Threaded Java Services
Architect's Tech Stack
Architect's Tech Stack
Sep 25, 2025 · Backend Development

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

This article explains how to eliminate manual logging of user and order identifiers in Java e‑commerce services by using Log4j2 placeholders, ThreadLocal, MDC, a custom @UserLog annotation, and Spring AOP to automatically enrich log messages with these contextual fields.

AnnotationJava LoggingLog4j2
0 likes · 9 min read
Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC
Architect's Tech Stack
Architect's Tech Stack
Sep 23, 2025 · Backend Development

Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot

This tutorial walks through integrating SpringDoc into a Spring Boot project, covering why it replaces SpringFox, how to configure it with minimal settings, add API annotations, set up grouped documentation, and handle static resources and Spring Security for full Swagger UI access.

API documentationJavaOpenAPI
0 likes · 15 min read
Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Sep 22, 2025 · Backend Development

How to Safely Split Distributed Transactions in Java: A Practical Guide

This article explains how to handle distributed consistency when a business operation writes to MySQL and calls external systems, using a financial reimbursement example to illustrate risks, analyzes the root cause, and presents a step‑by‑step solution that splits the large transaction into small, retryable units with code snippets and Spring optimization.

BPMMySQLdistributed transaction
0 likes · 8 min read
How to Safely Split Distributed Transactions in Java: A Practical Guide
Architect's Tech Stack
Architect's Tech Stack
Sep 22, 2025 · Databases

How to Safely Add a Column to a Billion-Row Order Table Without Downtime

When a core order table with tens of millions of rows needs a new business field, directly running ALTER TABLE can lock the table and disrupt services, so this article explores master‑slave switching, online DDL tools, extension tables, JSON fields, and clever reuse of existing redundant columns to achieve the change safely and efficiently.

JSON fieldLarge TablesMySQL
0 likes · 9 min read
How to Safely Add a Column to a Billion-Row Order Table Without Downtime
Architect's Tech Stack
Architect's Tech Stack
Sep 20, 2025 · Backend Development

How to Dynamically Refresh Spring Boot Configurations with @RefreshScope

This article explains why dynamic configuration refresh is needed in Spring Boot, describes the core principles of @RefreshScope, provides step‑by‑step implementation code, and shares best practices and troubleshooting tips for zero‑downtime configuration updates in production environments.

Spring BootSpring Cloudactuator
0 likes · 10 min read
How to Dynamically Refresh Spring Boot Configurations with @RefreshScope