Implementing Fault Tolerance and Resilience Patterns with Hystrix
Circuit breakers serve as a protective mechanism to prevent system overload during partial failures. Degradation strategies generally fall into two categories: active degradation, where non-core services are intentionally scaled down during high-load events like promotions, and passive degradation, which includes fallbacks triggered by circuit ...
Posted on Fri, 26 Jun 2026 16:16:12 +0000 by MDanz
Configuring a High-Availability Eureka Server Cluster with Spring Cloud
Network Configuration
Modify your local hosts file to map custom domain names to the loopback address for simulating a multi-node environment:
127.0.0.1 node1
127.0.0.1 node2
127.0.0.1 node3
Service Registry Setup
Define the Maven dependencies for the Eureka Server. Ensure the spring-cloud-starter-netflix-eureka-server dependency is includ ...
Posted on Wed, 24 Jun 2026 17:13:21 +0000 by jmrouleau
Understanding Spring Cloud Gateway Architecture and Implementation
Core Components of Spring Cloud Gateway
Route: The fundamental building block of the gateway, consisting of an identifier, destination URI, predicates, and filters. When a request reaches the gateway, the Gateway Handler Mapping evaluates routes based on predicates. When a predicate returns true, the corresponding route is selected for forward ...
Posted on Thu, 11 Jun 2026 17:36:56 +0000 by RecoilUK
Automated Content Moderation Implementation for Self-Media Platforms
Content Moderation Workflow
In content-driven applications, ensuring the safety and compliance of user-generated content is critical before publication. The automated moderation pipeline involves several stages triggered when a self-media user submits an article for review.
Event Trigger: Upon submission, a message is dispatched to Kafka to ...
Posted on Wed, 03 Jun 2026 17:28:26 +0000 by keigowei
Configuring and Using Sentinel Gateway Rate Limiting
Sentinel console source code: https://download.csdn.net/download/yixin605691235/89543923
Sentinel console JAR: https://download.csdn.net/download/yixin605691235/89543931
Modify the application.yml file in the JAR to update the Nacos address for different environments.
1. Gateway Rate Limiting Configuration and Usage
1.1 Nacos Configuraton
Cr ...
Posted on Mon, 25 May 2026 20:27:21 +0000 by praeses
Configuring OpenFeign Timeouts and Compression in Spring Cloud
When dealing with synchronous calls in microservice architectures, adjusting the timeout duration for operations is often necessary. OpenFeign, a popular declarative web service client, provides mechanisms to configure these timeouts.
This guide demonstrates how to set up connection and read timeouts for OpenFeign clients within a Spring Cloud ...
Posted on Wed, 20 May 2026 03:30:38 +0000 by denoteone
Implementing Hystrix Circuit Breakers and Dashboard Monitoring in Spring Cloud
Hystrix Circuit Breaker IntegrationHystrix, a library created by Netflix, implements the Circuit Breaker pattern to prevent cascading failures in distributed systems. It acts as a safeguard for service availability, stopping failures from propagating through the microservices ecosystem.Project DependenciesTo implement Hystrix within a Spring Cl ...
Posted on Tue, 19 May 2026 17:44:38 +0000 by Blade280891
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