Tagged articles
Ribbon
75 articles · Page 1 of 1
This article presents eight detailed interview questions covering Spring Cloud LoadBalancer internals, including Ribbon migration reasons, client vs server load balancing, OpenFeign call chain, LoadBalancerClientFactory child contexts, ServiceInstanceListSupplier decorator chain, smooth weighted round-robin algorithm, consistent hashing with virtual nodes, and troubleshooting Connection refused errors after instance shutdown.
Interview questionsNacosOpenFeign
0 likes · 24 min read

Feign may be set to a 3‑second timeout, but in Spring Cloud versions before 2020.0 the call is handled by Ribbon, whose default 5‑second read timeout and a single retry to another instance double the wait, producing a consistent 10‑second timeout; the article details this behavior and shows how to configure Ribbon, upgrade Spring Cloud, or use a circuit‑breaker to enforce the intended timeout.
FeignRibbonSpring Cloud
0 likes · 8 min read

The article explains the functional and architectural differences between Spring Cloud LoadBalancer and Netflix Ribbon, why Ribbon entered maintenance mode and was replaced, outlines migration steps, compares configuration, caching, reactive support, and provides code examples and common interview questions for Java developers.
JavaLoadBalancerRibbon
0 likes · 12 min read

This article explains how to build a full‑link gray (canary) release for a Spring Cloud microservice system by leveraging Nacos as the service registry, Spring Cloud Gateway filters, a custom Ribbon load‑balancer, and OpenFeign interceptors, complete with demo project structure, configuration files, and three test scenarios.
Gray ReleaseNacosOpenFeign
0 likes · 22 min read

This article walks through a practical implementation of gray (canary) release in a Spring Cloud ecosystem using Nacos for service discovery, Spring Cloud Gateway for routing, Ribbon (or Spring Cloud LoadBalancer) for load balancing, and custom interceptors to control traffic based on request metadata.
Gray ReleaseNacosOpenFeign
0 likes · 20 min read

The article explains that the initial Feign request is slow because Ribbon lazily creates its client and fetches the service list at first use, and shows how enabling Ribbon’s eager‑load mode pre‑warms the client to eliminate the delay.
Eager LoadFeignLoad Balancing
0 likes · 6 min read

This article explains Netflix's open‑source Ribbon client‑side load balancer, detailing how it intercepts @LoadBalanced RestTemplate calls, resolves service names to IPs using various algorithms, and forwards requests via HttpClient, while highlighting its key features such as in‑process balancing, multiple strategies, fault‑tolerance, and protocol support.
JavaRestTemplateRibbon
0 likes · 4 min read

This comprehensive guide walks through OpenFeign fundamentals, differences from Feign, environment setup, service provider and consumer implementation, various parameter passing techniques, timeout handling, logging, HTTP client replacement, GZIP compression, and Sentinel-based circuit breaking, all illustrated with code snippets and diagrams.
CircuitBreakerFeignJava
0 likes · 19 min read

This article explains how Spring Cloud Ribbon provides client‑side load balancing, outlines its classification, core mechanisms, common algorithms, and shows step‑by‑step code to replace the default balancing rule in a Spring Boot microservice.
JavaLoad BalancingRibbon
0 likes · 5 min read

This article explains how to implement gray (canary) release in a Spring Cloud project using Nacos for service discovery, custom request headers, ThreadLocal gray flags, Spring Cloud Gateway filters, custom Ribbon load balancer rules, and provides full code snippets, configuration steps, and deployment instructions.
Gray ReleaseNacosRibbon
0 likes · 20 min read

This article explains the role of Hystrix as a circuit‑breaker in Spring Cloud microservices, describes why service failures can cascade, and provides a detailed, hands‑on implementation—including Maven dependencies, annotations, fallback methods, configuration of circuit thresholds, and integration with Ribbon and Feign – complete with code snippets and test steps.
FeignHystrixRibbon
0 likes · 11 min read

This article walks through the background of Spring Cloud Ribbon, explains its client‑side load‑balancing role, provides step‑by‑step code to create multiple provider services and a consumer that uses Ribbon, and shows how to configure different balancing algorithms and retry mechanisms.
EurekaLoad BalancingRibbon
0 likes · 12 min read

This article explains the concept of gray (canary) release, details the core components and version configuration, and provides a complete Spring Cloud implementation—including custom request holders, gateway filters, Ribbon load‑balancer extensions, Feign interceptors, and deployment instructions—for smoothly rolling out new service versions.
Gray ReleaseJavaNacos
0 likes · 20 min read

This article explains how to implement gray (canary) release in a Spring Cloud micro‑service system using Nacos for service discovery, Spring Cloud Gateway filters, ThreadLocal gray flags, custom Ribbon load‑balancing rules, and configuration files to switch between production and gray versions.
Gray ReleaseJavaNacos
0 likes · 21 min read

This article explains the concept of gray (canary) release, details the required Spring Boot, Spring Cloud and Nacos versions, describes core components such as Nacos, Spring Cloud Gateway, Ribbon and OpenFeign, and provides a complete code‑first implementation with filters, interceptors, custom load‑balancer rules and deployment instructions for demonstrating gray release scenarios.
Gray ReleaseJavaNacos
0 likes · 17 min read

This article explains how Feign performs remote calls using a registration center and Ribbon for load balancing, details Ribbon's internal mechanisms such as RibbonClientConfiguration, ZoneAwareLoadBalancer, various load‑balancing rules, and demonstrates how to enable eager‑load mode to reduce first‑call latency.
FeignLoad BalancingRibbon
0 likes · 6 min read

This article explains how to implement a gray (canary) release strategy in a Spring Cloud microservice ecosystem using Nacos for service discovery, Spring Cloud Gateway for request routing, Ribbon for load balancing, and custom filters and interceptors to control traffic based on request headers, IP, city or user ID.
JavaNacosRibbon
0 likes · 20 min read

This article explains how Feign uses Ribbon for remote calls, details Ribbon's load‑balancing mechanisms, enumerates built‑in strategies, and demonstrates how to enable eager‑load mode to pre‑warm clients and avoid first‑request latency in Java microservice environments.
Eager LoadFeignJava
0 likes · 6 min read


IT NiukeApr 25, 2024 · Backend Development
The article explains that the initial Feign request is slow because Ribbon lazily creates its load‑balancer client and fetches the service list from the registry, and shows how enabling Ribbon's eager‑load mode pre‑warms the client to eliminate the delay.
Eager LoadFeignLoad Balancing
0 likes · 7 min read

This article provides a comprehensive English overview of Spring Cloud, detailing its purpose as a full‑stack microservice solution and explaining its five core components—Eureka, Hystrix, Zuul, Ribbon, and Config—along with their roles, architecture, and how they integrate to enable scalable, fault‑tolerant cloud‑native applications.
CONFIGEurekaHystrix
0 likes · 8 min read

This article explains how to achieve full‑link gray (canary) release in a microservice architecture by adding a gray tag in a Spring Cloud Gateway global filter, propagating it through request headers, customizing Ribbon load‑balancing rules to select gray instances from Nacos, and using an OpenFeign interceptor to transmit the tag downstream, ensuring seamless A/B testing and stable deployments.
Gray ReleaseNacosOpenFeign
0 likes · 14 min read

This article explains the principles of Feign, demonstrates how to set connection and read timeout values using Feign.Builder, method parameters, Options beans, configuration files, Ribbon, and Hystrix, and clarifies the precedence rules among these approaches in both standalone and Spring Cloud contexts.
FeignHystrixJava
0 likes · 17 min read

This article explains how to configure Feign's timeout settings in various scenarios—including standalone usage, Spring Cloud integration, Ribbon, and Hystrix—detailing builder options, method‑level parameters, bean declarations, and configuration‑file approaches while highlighting priority rules and potential pitfalls.
FeignHystrixRibbon
0 likes · 15 min read

This guide explains how to improve Spring Cloud's low default performance by configuring and tuning components such as the servlet container (switching to Undertow), Feign, Hystrix, Ribbon, and Zuul, providing detailed code snippets and parameter recommendations for high‑concurrency scenarios.
FeignHystrixPerformance Tuning
0 likes · 10 min read

This article explains how to achieve graceful service publishing using Nacos as a registration center in a Spring Boot microservice architecture, covering environment setup, provider startup and shutdown, client-side load‑balancing with Ribbon, and configuration tweaks for both online and offline scenarios.
FeignGraceful DeploymentNacos
0 likes · 16 min read

This article explains how Feign relies on Ribbon for remote calls, details Ribbon's load‑balancing mechanisms, various balancing rules, and demonstrates how enabling Ribbon's eager‑load mode can pre‑warm clients to avoid the latency of the first request.
Eager LoadingFeignJava
0 likes · 6 min read

This article provides a comprehensive overview of Spring Cloud, covering its core components, microservice concepts, service discovery, load balancing, circuit breaking, configuration management, and practical interview questions with code examples such as Eureka, Feign, Ribbon, and Hystrix.
EurekaFeignHystrix
0 likes · 19 min read

This article provides a comprehensive overview of Spring Cloud fundamentals, including core components, microservice concepts, service discovery, load balancing, circuit breaking, Eureka vs Zookeeper, Feign, Ribbon, Config, Bus, and Gateway, together with typical interview questions and practical code snippets.
EurekaFeignHystrix
0 likes · 17 min read

This article provides a comprehensive overview of Spring Cloud fundamentals, including microservice architecture, core components, service registration, communication methods, circuit breaking, load balancing, and configuration management, presented as a collection of high‑frequency interview questions and answers.
EurekaFeignHystrix
0 likes · 14 min read

This article explains nine common pitfalls when using OpenFeign in Spring Cloud, covering the choice of HTTP client, global and service‑specific timeout settings, Hystrix integration, Ribbon configuration, retry mechanisms, and the trade‑offs of using OpenFeign as a plain HTTP client.
HTTP ClientHystrixOpenFeign
0 likes · 12 min read

This article introduces Spring Cloud and explains its five essential components—Eureka service registry, Feign declarative client, Ribbon load balancer, Hystrix circuit breaker, and Zuul API gateway—illustrating how they simplify distributed system development with Spring Boot style one‑click deployment.
EurekaFeignHystrix
0 likes · 10 min read

This article explains how to implement a full-link gray (canary) release in a Spring Cloud Alibaba microservice architecture by marking traffic at the gateway, propagating the gray tag through request headers, customizing Ribbon load‑balancing, and configuring Nacos metadata for selective service routing.
Cloud NativeGray ReleaseNacos
0 likes · 13 min read

This article demonstrates how to configure a Spring Cloud Eureka server and multiple client applications, covering dependency inclusion, YAML configuration, service startup, testing, and three consumption methods—DiscoveryClient, Ribbon‑enabled RestTemplate, and Feign—complete with runnable code examples.
EurekaFeignRibbon
0 likes · 10 min read

This article explains how to use a non‑intrusive microservice insight capability to dynamically log and observe Ribbon load‑balancing internals, capture service discovery data, and troubleshoot full‑link gray‑release traffic issues in Spring Cloud environments.
Cloud NativeGray ReleaseLoad Balancing
0 likes · 15 min read

This article provides a detailed overview of Spring Cloud fundamentals, including microservice architecture, core components, service discovery, load balancing, circuit breaking with Hystrix, differences between Eureka and Zookeeper, and practical usage of Ribbon, Feign, and Spring Cloud Bus, aimed at helping developers prepare for interview questions.
EurekaFeignHystrix
0 likes · 18 min read

This article provides a comprehensive overview of Spring Cloud’s core modules—including Eureka, Zuul, Ribbon, Hystrix, Feign, and Config—explains their roles in microservice architecture, compares Eureka with alternatives such as Nacos, ZooKeeper, Consul, and Etcd, and offers guidance on using service registries and API gateways in cloud‑native environments.
EurekaHystrixRibbon
0 likes · 18 min read

This article explains Spring Cloud's role in building distributed micro‑service systems, illustrates an e‑commerce order‑payment scenario, and details the core components Eureka, Feign, Ribbon, Hystrix, and Zuul, showing how they work together for service registration, discovery, load balancing, fault tolerance, and API routing.
EurekaFeignHystrix
0 likes · 9 min read

This article provides a comprehensive analysis of Ribbon, the client‑side load‑balancing component of Spring Cloud Netflix, covering its role in microservice calls, core modules, source‑code walkthroughs, health‑check mechanisms, zone‑aware strategies, and real‑world production configuration.
Cloud NativeJavaLoad Balancing
0 likes · 24 min read

This article explains how to achieve a full‑link gray (canary) release in a Spring Cloud Alibaba microservice architecture by marking traffic at the gateway, propagating the gray tag through request headers, customizing Ribbon load‑balancing, and configuring Nacos metadata for selective service routing.
Gray ReleaseNacosOpenFeign
0 likes · 14 min read

This tutorial walks through the fundamentals of microservices, setting up a Spring Cloud project with Eureka service registry, configuring server and client modules, implementing load‑balanced calls using Ribbon and Feign, and achieving high availability with multiple Eureka instances, all illustrated with code snippets and configuration files.
EurekaFeignJava
0 likes · 18 min read

This article explains how Feign (and OpenFeign) simplifies remote service calls in Spring Cloud by scanning @FeignClient interfaces, generating dynamic proxies, parsing MVC annotations, integrating with Ribbon for load balancing, and handling request/response processing, illustrated with step‑by‑step code examples and diagrams.
FeignOpenFeignRemote Call
0 likes · 16 min read

This article provides a comprehensive tutorial on creating Spring Cloud microservices, covering the fundamentals of microservice architecture, project initialization with Maven and IntelliJ, configuring Eureka registration servers, implementing service providers and consumers, using Ribbon and Feign for load‑balanced calls, and setting up high‑availability Eureka clusters.
EurekaFeignJava
0 likes · 19 min read

This article provides a detailed overview of Spring Cloud's core modules—including Eureka for service discovery, Ribbon for client‑side load balancing, OpenFeign for declarative REST calls, Hystrix for circuit breaking, Zuul as an API gateway, Config for centralized configuration, and Bus for message broadcasting—explaining concepts, usage patterns, and code examples for building resilient microservice architectures.
CONFIGEurekaHystrix
0 likes · 27 min read

This article provides a step‑by‑step tutorial on creating a Eureka registration center, developing product and order microservices, configuring Ribbon for client‑side load balancing, forming a Eureka cluster, and testing the complete microservice ecosystem, all using Spring Cloud and Spring Boot.
EurekaJavaRibbon
0 likes · 10 min read

This article explains the fundamentals, architecture, strategies, core components, request interception, initialization, synchronization, heartbeat mechanisms, and common configurations of Ribbon, the client‑side load balancer used in Spring Cloud microservice ecosystems.
EurekaRibbonSpring Cloud
0 likes · 16 min read

This article provides a comprehensive overview of Ribbon, the client‑side load‑balancing component in Spring Cloud, covering its core architecture, various load‑balancing algorithms, request‑interception flow, initialization process, service‑list synchronization, heartbeat mechanisms, and practical configuration examples.
RibbonSpring Cloud
0 likes · 14 min read

This guide explains the most frequent OpenFeign configuration traps—including choosing the proper HTTP client, setting global and per‑service timeouts, enabling Hystrix circuit‑breaker timeouts, customizing retry behavior, and aligning Ribbon settings—to help developers prevent performance issues and system crashes.
HTTP ClientOpenFeignRetry
0 likes · 11 min read

This article provides a comprehensive overview of Spring Cloud's microservice architecture, detailing its core components such as Eureka, Zuul, Ribbon, Hystrix, Feign, and Config, comparing registration center alternatives, and explaining how these tools enable service discovery, load balancing, fault tolerance, and distributed configuration in cloud‑native applications.
EurekaHystrixRibbon
0 likes · 17 min read

This tutorial explains what OpenFeign is, how it differs from Feign, walks through environment preparation, service provider and consumer creation, various parameter passing methods, timeout handling, logging, HTTP client replacement, GZIP compression, and circuit‑breaker integration, providing a comprehensive guide for Spring Cloud microservice developers.
FeignHTTP ClientJava
0 likes · 18 min read

This article explains the concept of load balancing, demonstrates how to register multiple Spring Cloud services, use DiscoveryClient and Feign for service calls, configure RestTemplate with @LoadBalanced, and dive into the source code of LoadBalancerInterceptor and RibbonLoadBalancerClient to customize load‑balancing strategies.
RestTemplateRibbonService Discovery
0 likes · 13 min read

This article explains how to achieve gray release routing in a Spring Cloud microservice architecture by customizing Ribbon's load‑balancing rule, using Eureka metadata, adding version information via Zuul and Feign/RestTemplate interceptors, and configuring thread‑local propagation for consistent service selection.
EurekaFeignGray Release
0 likes · 15 min read

This article explains how Nacos provides service discovery via its open API, how Spring Cloud Ribbon implements client‑side load balancing, and walks through the key source code of Ribbon, LoadBalancerInterceptor, RibbonLoadBalancerClient, ZoneAwareLoadBalancer, and Nacos server‑side handling, offering practical usage tips.
NacosRestTemplateRibbon
0 likes · 21 min read

This article provides a comprehensive overview of Spring Cloud's core components—including Eureka, Ribbon, Feign, Zuul, Hystrix, and Config—explaining their principles, advantages, and practical usage within microservice architectures for building scalable, resilient backend systems.
CONFIGEurekaFeign
0 likes · 19 min read

This article provides a comprehensive tutorial on the fundamentals of microservices, explains how to set up a Spring Cloud project with Maven and IntelliJ IDEA, configures Eureka registration and discovery, demonstrates service provider and consumer implementations using Spring Boot, and shows how to achieve high‑availability Eureka clusters with load‑balanced calls via Ribbon and Feign.
EurekaFeignRibbon
0 likes · 19 min read

This article explains the concept of load balancing, illustrates it with a bank queue analogy, and demonstrates how to register multiple Spring Cloud service instances, use Feign and DiscoveryClient, configure Ribbon's load‑balancing interceptor, and customize the balancing rule for effective microservice traffic distribution.
DiscoveryClientFeignLoad Balancing
0 likes · 13 min read

This article explains Feign's internal workflow, annotation attributes, GZIP compression, logging setup, timeout handling, and strategies for passing multiple parameters in GET/POST requests, providing practical code examples for Spring Cloud microservice integration.
FeignHTTP ClientHystrix
0 likes · 9 min read

This comprehensive guide walks you through Spring Cloud's core components—including Eureka for service discovery, Ribbon for client‑side load balancing, OpenFeign for declarative REST calls, Hystrix for circuit breaking, Zuul as an API gateway, and Config plus Bus for centralized configuration—showing how they work together to build resilient microservices architectures.
CONFIGEurekaHystrix
0 likes · 29 min read

This tutorial walks through setting up Spring Cloud microservices using Spring Boot, configuring Eureka for service registration, implementing Ribbon and Feign for client-side load balancing, and configuring high‑availability Eureka clusters, complete with Maven pom.xml, application.yml, and Java code examples.
EurekaFeignRibbon
0 likes · 15 min read


JavaEdgeNov 11, 2020 · Backend Development
This article explains how to configure connection and read timeouts for HTTP calls in Spring Cloud, compares Feign and Ribbon settings, reveals common pitfalls such as overly long timeouts and automatic retries, and provides practical solutions for improving concurrency and preventing duplicate requests in Java microservices.
FeignHTTPJava
0 likes · 16 min read

This article provides a comprehensive overview of Spring Cloud’s core components—including Eureka for service registration, Ribbon for client‑side load balancing, Feign for declarative REST calls, Hystrix for circuit breaking, and Zuul as an API gateway—explaining their mechanisms, configurations, and interactions within a microservice architecture.
EurekaFeignHystrix
0 likes · 12 min read

This tutorial walks through creating a Spring Cloud microservices architecture using Spring Boot, Eureka service registry, Ribbon load balancing, and Feign clients, covering project initialization in IntelliJ IDEA, Maven configuration, YAML setup, service implementation, high‑availability Eureka server clustering, and testing the end‑to‑end workflow.
EurekaFeignHigh Availability
0 likes · 17 min read

This article provides a detailed introduction to Spring Cloud’s core modules—including Eureka service discovery, Ribbon load balancing, Feign declarative HTTP client, Zuul API gateway, Hystrix fault‑tolerance, and Config centralized configuration—explaining their principles, advantages, and typical usage scenarios in microservice architectures.
CONFIGEurekaFeign
0 likes · 21 min read

This article provides a comprehensive overview of Spring Cloud's core modules—including service discovery with Eureka, client‑side load balancing via Ribbon, declarative REST calls with OpenFeign, fault tolerance using Hystrix, API gateway features of Zuul, centralized configuration with Config, and dynamic refresh through Spring Cloud Bus—illustrated with diagrams and code examples.
CONFIGEurekaHystrix
0 likes · 28 min read

This article explains the core concepts and components of Spring Cloud for building micro‑service systems, covering business scenarios, advantages of microservices, comparisons with Dubbo, Eureka service discovery, Ribbon and Feign load balancing, Zuul gateway, Hystrix fault tolerance, and centralized configuration management.
CONFIGEurekaFeign
0 likes · 19 min read

This article provides a comprehensive overview of Spring Cloud's core modules—including service discovery with Eureka, client‑side load balancing via Ribbon and Feign, API gateway functionality of Zuul, fault‑tolerance with Hystrix, and centralized configuration management with Config—illustrated through a typical e‑commerce order‑payment scenario and comparisons with Dubbo, Zookeeper, and Nginx.
CONFIGEurekaFeign
0 likes · 19 min read

This article provides a comprehensive, beginner‑friendly overview of Spring Cloud’s core components—including Eureka, Ribbon, OpenFeign, Hystrix, Zuul, Config, and Bus—explaining their concepts, real‑world analogies, and essential configuration snippets with code examples.
CONFIGEurekaHystrix
0 likes · 29 min read

This article walks through the complete source‑code analysis of Spring Cloud Ribbon, covering dependency setup, RestTemplate integration, interceptor creation, load‑balancer execution flow, ILoadBalancer retrieval, server list management, ping strategies, and eager‑loading configuration to reveal how client‑side load balancing is implemented in Spring Cloud.
JavaLoad BalancingNacos
0 likes · 11 min read

This article provides a comprehensive tutorial on Spring Cloud, covering its core components such as Eureka service discovery, Ribbon client‑side load balancing, OpenFeign declarative REST calls, Hystrix circuit breaking, Zuul API gateway, Config centralized configuration, and the Spring Cloud Bus for dynamic updates, complete with code examples and architectural diagrams.
CONFIGEurekaHystrix
0 likes · 28 min read

This article explains the principles and interactions of Spring Cloud's core components—Eureka for service registration, Ribbon for client‑side load balancing, Feign for declarative REST calls, Hystrix for circuit breaking, and Zuul as an API gateway—providing a comprehensive guide for building resilient microservice architectures.
EurekaFeignHystrix
0 likes · 11 min read

Mica is a lightweight Java 8‑based Spring Cloud extension that simplifies microservice development by providing auto‑generated configurations, a fluent HTTP client, social login SDKs, customizable Ribbon rules, and extensive update notes, all without third‑party dependencies, making it a core backend toolkit for cloud-native applications.
JavaRibbonSpring Cloud
0 likes · 8 min read

This tutorial walks through building a Spring Cloud Kubernetes microservice solution on a local Minikube cluster, covering installation, sample service development, YAML deployment, service discovery, ConfigMaps, Secrets, Ribbon load‑balancing, Hystrix circuit breaking, health checks, and concluding with best‑practice recommendations.
ConfigMapHystrixMinikube
0 likes · 13 min read

The article examines a real‑world Spring Cloud microservice case where naive timeout extensions mask deep performance issues, explains how massive data growth and complex SQL cause thread‑pool exhaustion, and provides step‑by‑step optimizations—including query refactoring, proper timeout settings, retries, and idempotency—to restore stability under high concurrency.
FeignRibbonTimeout
0 likes · 10 min read

This tutorial walks through the fundamentals of distributed systems—explaining clusters, distributed architecture, the CAP theorem, and then dives deep into Spring Cloud components such as Eureka, Ribbon, Hystrix, Feign, Zuul, and Config, illustrating how they solve real‑world microservice challenges.
CONFIGFeignRibbon
0 likes · 29 min read

This guide explains how to enhance Spring Cloud's Ribbon with custom rules that enable weight‑based traffic distribution and label‑driven routing, covering project setup, core microservice components, implementation approaches, testing procedures, and practical examples for real‑world microservice deployments.
LabelRibbonRouting
0 likes · 12 min read

This tutorial walks through configuring Spring Cloud Ribbon and Spring Cloud Feign to perform client‑side load balancing for a compute-service, covering prerequisite setup, Maven dependencies, application code, REST client implementation, and verification of balanced requests across multiple service instances.
FeignJavaRibbon
0 likes · 10 min read
