Enterprise Java Backend Technical Interview Reference
Microservices Architecture Stack
Modern distributed systems leverage Spring Cloud Alibaba ecosystem combined with containerized deployement. Core infrastructure components include Nginx for edge traffic management, Spring Cloud Gateway for centralized authentication and routing, Nacos for service discovery and dynamic configuration, Sentinel fo ...
Posted on Tue, 19 May 2026 01:38:50 +0000 by cody44
Securing Microservice Discovery with Eureka: End-to-End Protection Patterns
Why Discovery Security Matters
When every microservice is reachable over the network, the service registry becomes the first line of defense. An unprotected Eureka instance can be used to:
Inject rogue endpoints into the load-balancer
Exfiltrate configuration metadata
Trigger cascading failures via forged health checks
This guide shows how to ...
Posted on Sun, 17 May 2026 14:56:21 +0000 by markmusicman
Building a Centralized Configuration Server with Spring Cloud Config and Git
Problem with Distributed Configuraton Management
In microservice architectures, each service typically maintains its own configuration file. A system composed of dozens or hundreds of services results in scattered configuration files across multiple projects, making maintenance and updates extremely cumbersome.
Just as service registry and disc ...
Posted on Sat, 16 May 2026 16:58:01 +0000 by Navarr
Dynamically Modifying @FeignClient Path at Runtime Using BeanFactoryPostProcessor
This solution covers both Spring Boot 2.x and 3.x implementations.
Problem Description
A common requirement arises where each API interface carries an interfacePath defined in a custom annotation on the interface itself. For instance:
@FeignClient(value = "x-module")
public interface XXXService extends XApi {
}
@XXXMapping("/mem ...
Posted on Wed, 13 May 2026 10:14:33 +0000 by AlanG
Implementing Custom Filters and Error Handling with Spring Cloud Zuul
Understanding Zuul Filter MechanismsThe core functionality of the Zuul API Gateway is driven by its filter system, which intercepts HTTP requests and responses to handle cross-cutting concerns. Filters are constructed to manipulate the RequestContext, which holds the state for the current request, including request and response objects, routing ...
Posted on Wed, 13 May 2026 05:30:47 +0000 by Rupuz
Building Eureka Service Registry and High Availability Clusters with Spring Boot and Spring Cloud
Setting Up Eureka Service Registry
Creating Eureka Server
For multiple Spring Boot projects, use a Maven multi-module structure. Create a main Maven project with Spring Boot and Spring Cloud dependencies in the parent POM:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0& ...
Posted on Wed, 13 May 2026 05:20:21 +0000 by vmarellano
Building a Movie Ticketing System with Spring Cloud Microservices
System Architecture Overview
This movie ticketing system employs a microservices architecture with the following components:
Core Services:
Movie Service: Handles movie data operations including creation, retrieval, and search
User Service: Manages ticket purchasing and movie queries
Eureka Server: Service registry for service discovery
Config ...
Posted on Wed, 13 May 2026 02:16:11 +0000 by kaimason1
Eureka Service Discovery: A Comprehensive Guide
1. Introduction to Eureka
Eureka is a service discovery solution open-sourced by Netflix, forming part of the Netflix OSS suite. It is commonly used in microservice architectures, with its core function being service registration and discovery.
When a microservice starts up, it registers its network address (e.g., IP and port) with a Eureka ser ...
Posted on Mon, 11 May 2026 05:48:49 +0000 by maxxd
Introduction to Spring Cloud and Service Governance
1. Today's Content
Introduction to Spring Cloud
Spring Cloud Service Governance
2. Introduction to Spring Cloud
2.1 Microservices Architecture
![1587520885330]
Microservices Architecture:
The term "microservices" originated from Martin Fowler's blog post titled "Microservices", which can be found on his official blog: http ...
Posted on Sun, 10 May 2026 02:24:52 +0000 by del753
Centralized Configuration Management and Hot Reloading with Nacos
Nacos functions not only as a service registry but also as a dynamic configuration management server. This capability allows for centralized configuration control, enabling updates to be pushed to multiple services simultaneously without requiring individual modifications or service restarts. When a service starts, it merges local configuration ...
Posted on Thu, 07 May 2026 19:23:50 +0000 by vomitbomb