Java High-Performance Architecture
Author

Java High-Performance Architecture

Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.

1.3k
Articles
0
Likes
487
Views
0
Comments
Recent Articles

Latest from Java High-Performance Architecture

100 recent articles max
Java High-Performance Architecture
Java High-Performance Architecture
Apr 11, 2024 · Backend Development

Essential Microservice Design Patterns: Pros, Cons, and When to Use Them

This article explains the evolution of microservice architecture, defines its core characteristics, lists its advantages and disadvantages, and provides detailed guidance on when to adopt it, followed by an extensive review of key design patterns such as database per service, event sourcing, CQRS, Saga, BFF, API gateway, Strangler, circuit breaker, externalized configuration, and consumer‑driven contract testing.

design-patterns
0 likes · 28 min read
Essential Microservice Design Patterns: Pros, Cons, and When to Use Them
Java High-Performance Architecture
Java High-Performance Architecture
Apr 11, 2024 · Backend Development

Mastering Microservice Architecture: Patterns, Pros, Cons, and When to Use Them

This article traces the evolution of software architecture to microservices, explains their core characteristics, lists advantages and drawbacks, and provides a comprehensive guide to essential design patterns such as database per service, event sourcing, CQRS, Saga, BFF, API gateway, Strangler, circuit breaker, externalized configuration, and consumer‑driven contract testing, with guidance on when to adopt each.

architecturebackenddesign-patterns
0 likes · 27 min read
Mastering Microservice Architecture: Patterns, Pros, Cons, and When to Use Them
Java High-Performance Architecture
Java High-Performance Architecture
Apr 8, 2024 · Backend Development

Dynamic Multi-DataSource Switching & Transaction Management in Spring

This article explores solutions for managing multiple data sources in a Spring application, covering dynamic routing with AbstractRoutingDataSource, configuration‑file and database‑table approaches, AOP‑based source switching, and custom multi‑transaction handling to ensure consistency across heterogeneous databases.

JavaMulti-Database TransactionSpring
0 likes · 15 min read
Dynamic Multi-DataSource Switching & Transaction Management in Spring
Java High-Performance Architecture
Java High-Performance Architecture
Apr 2, 2024 · Backend Development

Unlock Redis Performance: Using Lua Scripts in Spring Boot

This article explains how to integrate Lua scripts with Redis in a Spring Boot application, covering Lua basics, performance benefits, common use cases, step‑by‑step configuration, Java code examples, error handling, security considerations, and best practices for reliable backend development.

LuaPerformanceRedis
0 likes · 19 min read
Unlock Redis Performance: Using Lua Scripts in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Mar 27, 2024 · Backend Development

Why Token Pass‑Through Fails and How to Build Secure Unified Auth in Microservices

This article examines the pitfalls of token pass‑through authentication in microservices, proposes explicit userId parameter passing, compares unified auth approaches using Spring Cloud Gateway with Feign or Dubbo, and explores non‑unified alternatives, including K8s Ingress integration and practical code examples.

DubboKubernetesfeign
0 likes · 10 min read
Why Token Pass‑Through Fails and How to Build Secure Unified Auth in Microservices