Eureka Source Code Analysis: Self-Preservation Mechanism

Core Architecture Overview The self-preservation mechanism in Eureka Server is designed to handle network instability and prevent healthy services from being prematurely removed during communication failures. Mechanism Behavior Eureka Server continuously monitors heartbeat success rates over 15-minute intervals. If the failure rate exceeds 15% ...

Posted on Fri, 06 Nov 2026 16:03:22 +0000 by kevinak

Using Feign Client for Declarative REST Calls in Spring Cloud

Feign is a Java-to-HTTP client binder that simplifies the process of making HTTP API calls. Inspired by Retrofix, JAXRS-2.0, and WebSocket technologies, Feign provides a declarative API interface style, making it easier to bind Java HTTP clients to your application logic. Source code: https://github.com/OpenFeign/feign This chapter builds upon ...

Posted on Thu, 05 Nov 2026 16:45:42 +0000 by phpSensei

Implementing an API Gateway with Spring Cloud Zuul

Spring Cloud Zuul Overview Zuul serves as an edge service providing load balancing, reverse proxying, authentication, dynamic routing, monitoring, and security. It acts as a protective layer for microservice architectures by handling non-business logic concerns at the routing level. Routing Gateway Patterns Consider three architectural approach ...

Posted on Sun, 01 Nov 2026 16:47:24 +0000 by lnt

Delivering Microservice Projects with Spring Boot and Spring Cloud

Microservices Architecture Overview Microservices lack a strict formal definition, but the concept is best understood by contrasting it with traditional monolithic web applications. Monolithic Architecture In a traditional monolithic architecture, such as that found in early taxi-hailing software, all functional modules—passenger management, bi ...

Posted on Fri, 30 Oct 2026 16:45:15 +0000 by mrdeadman

The Essential Role of Service Registration Centers in Microservices Architecture

Introduction to Microservices Architecture In this article, we will explore microservices architecture through the lens of Java backend technology, with a particular focus on service discovery and registration - a critical component of any microservices ecosystem. We'll progress from basic concepts to advanced implementations, providing valuabl ...

Posted on Thu, 29 Oct 2026 16:20:23 +0000 by anthonyp01

Building Multi-Module Microservices with Maven and IntelliJ IDEA

Project Structure Overview When developing microservices using Spring Boot, Spring Cloud, and Spring Cloud Alibaba, proper project architecture and dependency management are crucial. This guide demonstrates creating a multi-module project structure using Maven and IntelliJ IDEA. Technology Stack Spring Boot 2.6.3 Spring Cloud 2021.0.1 Spring Cl ...

Posted on Mon, 26 Oct 2026 16:26:55 +0000 by zeropaid

Configuring Spring Cloud Gateway for Microservice Routing

Spring Cloud Gateway functions as the primary traffic ingress in distributed architectures, directing external requests to appropriate backend services while centralizing concerns such as authentication, rate limiting, and request transformation. To integrate it into an existing Spring Cloud project, create a dedicated Maven or Gradle module—co ...

Posted on Sat, 24 Oct 2026 16:08:19 +0000 by NoFear

SpringBoot Fundamentals: Core Concepts and Integrations

SpringBoot Fundamentals Getting Started with SpringBoot Project Initialization SpringBoot simplifies the setup of Spring applications by providing an auto-configuration approach. To create a new SpringBoot project: Use Spring Initializr to generate a project structure Select appropriate dependencies (Spring Web for web applications) Configure ...

Posted on Sat, 17 Oct 2026 16:39:53 +0000 by virva

Nacos Server-Side Registration Flow: A Deep Dive into the Source Code

In the previous article, we explored how client applications register with the Nacos server after configuration. This time, let's examine what happens on the server side when it receives a registration request. Before diving into the code, let's review the overall architecture. The key components involved in service registration include the Ins ...

Posted on Sat, 17 Oct 2026 16:28:34 +0000 by andy666

Deploying RuoYi Microservice Architecture with Docker and Docker Compose

Prerequisites Make sure Docker and Docker Compose are installed on your machine. Refer to the Docker documentation for installtaion instructions if needed. Building the Docker Image Go to the root directory of the RuoYi project and create a file named Dockerfile with the following content: FROM eclipse-temurin:8-jre-alpine COPY target/*.jar ser ...

Posted on Sat, 17 Oct 2026 16:02:48 +0000 by fenrir