Tagged articles

Feign

142 articles · Page 2 of 2
Code Ape Tech Column
Code Ape Tech Column
Sep 13, 2021 · Backend Development

Using OpenFeign in Spring Cloud: Setup, Configuration, and Advanced Features

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 clientOpenFeign
0 likes · 18 min read
Using OpenFeign in Spring Cloud: Setup, Configuration, and Advanced Features
Top Architect
Top Architect
Aug 25, 2021 · Backend Development

Why Dubbo Is Unsuitable for File Transfer and How HTTP/Feign Offer Better Alternatives

The article analyzes why the Dubbo RPC framework is ill‑suited for transmitting files due to serialization and single‑connection constraints, compares it with HTTP's streaming capabilities, and shows how Feign can handle uploads while still facing memory‑usage challenges, concluding with practical recommendations for file‑transfer scenarios.

Feignbackendfile upload
0 likes · 9 min read
Why Dubbo Is Unsuitable for File Transfer and How HTTP/Feign Offer Better Alternatives
Java Architect Essentials
Java Architect Essentials
Aug 17, 2021 · Backend Development

Implementing Gray Release with Ribbon, Zuul, and Eureka in Spring Cloud

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.

EurekaFeignRibbon
0 likes · 15 min read
Implementing Gray Release with Ribbon, Zuul, and Eureka in Spring Cloud
Java High-Performance Architecture
Java High-Performance Architecture
Jul 15, 2021 · Backend Development

Mastering Spring Cloud: From Eureka to Config and Beyond

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
Mastering Spring Cloud: From Eureka to Config and Beyond
Top Architect
Top Architect
Jul 2, 2021 · Backend Development

Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign

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.

EurekaFeignMicroservices
0 likes · 19 min read
Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign
Code Ape Tech Column
Code Ape Tech Column
Jul 1, 2021 · Cloud Native

Spring Cloud Interview Questions and Answers: Core Concepts, Architecture, and Practices

This article provides a comprehensive collection of Spring Cloud interview questions covering fundamentals, service registration and discovery, load balancing, Hystrix circuit breaking, Feign, Ribbon, Eureka vs Zookeeper, Spring Cloud Bus, microservice architecture, RPC principles, and related best‑practice insights for backend developers.

EurekaFeignHystrix
0 likes · 26 min read
Spring Cloud Interview Questions and Answers: Core Concepts, Architecture, and Practices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 25, 2021 · Backend Development

Microservice Development Practices and Standards with Spring Cloud

This article presents a comprehensive set of practical guidelines for Spring Cloud microservice development, covering Maven project structure, core and starter modules, versioning conventions, service invocation via SDK and Feign, RESTful API design rules, and gateway responsibilities such as access control and gray release.

FeignGatewayMaven
0 likes · 7 min read
Microservice Development Practices and Standards with Spring Cloud
Top Architect
Top Architect
Jun 23, 2021 · Backend Development

Understanding Load Balancing in Spring Cloud: Registering Multiple Services and Code Analysis

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
Understanding Load Balancing in Spring Cloud: Registering Multiple Services and Code Analysis
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jun 10, 2021 · Cloud Native

Understanding Feign: How Spring Cloud Netflix Implements Declarative HTTP Clients, Hystrix Integration, and Client‑Side Load Balancing

This article explains the purpose and inner workings of Feign in Spring Cloud Netflix, covering how it creates dynamic proxy objects for declarative HTTP calls, integrates with Hystrix for circuit‑breaker support, and works with Ribbon for client‑side load balancing within microservice architectures.

FeignHTTP clientHystrix
0 likes · 20 min read
Understanding Feign: How Spring Cloud Netflix Implements Declarative HTTP Clients, Hystrix Integration, and Client‑Side Load Balancing
Programmer DD
Programmer DD
Apr 29, 2021 · Backend Development

Why Misusing API Gateways and Service Registries Hurts Your Microservices

The article explains common mistakes of using API gateways together with service registries as internal proxies, shows how this adds latency and complexity, and offers guidance on when to use gateways versus direct service‑to‑service calls in microservice architectures.

API GatewayFeignMicroservices
0 likes · 6 min read
Why Misusing API Gateways and Service Registries Hurts Your Microservices
Java Architecture Diary
Java Architecture Diary
Apr 15, 2021 · Backend Development

Getting Started with Spring Cloud Square: A Retrofit‑Based Alternative to Feign

This guide introduces Spring Cloud Square, a Retrofit‑based replacement for Spring Cloud Feign, explains its core components like OkHttp and Retrofit, provides step‑by‑step setup, bean configuration, and code examples for both basic and advanced declarative client usage, and summarizes its current limitations.

FeignRetrofitSpring Cloud
0 likes · 7 min read
Getting Started with Spring Cloud Square: A Retrofit‑Based Alternative to Feign
Java Interview Crash Guide
Java Interview Crash Guide
Apr 4, 2021 · Backend Development

Mastering Feign: How It Works, Configurations, and Advanced Usage

This article explains Feign’s internal workflow, details its key annotations, shows how to enable GZIP compression, configure logging, set timeouts, and handle multi‑parameter GET/POST requests, including custom request interceptors and dependency options for advanced Spring Cloud microservice communication.

FeignHTTP clientLoad Balancing
0 likes · 10 min read
Mastering Feign: How It Works, Configurations, and Advanced Usage
Alibaba Cloud Native
Alibaba Cloud Native
Feb 4, 2021 · Backend Development

Why Spring Boot’s War‑to‑Jar Deployment Slows Down Feign Calls and How to Fix It

After upgrading an internal framework, a company’s UAT environment saw throughput drop from 53.9/s to 6.4/s due to abnormal Feign latency, prompting a deep dive with Arthas profiling, code tracing, and class‑loader analysis that uncovered costly JodaModule loading and class‑loader overhead, leading to targeted fixes that restored and even improved performance.

ArthasClassLoaderFeign
0 likes · 16 min read
Why Spring Boot’s War‑to‑Jar Deployment Slows Down Feign Calls and How to Fix It
Architect's Journey
Architect's Journey
Dec 24, 2020 · Backend Development

Comparing Two Feign Usage Patterns for Elegant Producer‑Consumer Communication in Microservices

The article examines two ways to define Feign interfaces in a microservice architecture—having the service producer define the Feign client (SPI) versus letting the service consumer define it (API)—and compares their constraints, flexibility, dependency management, and impact on development workflow.

API DesignFeignMicroservices
0 likes · 7 min read
Comparing Two Feign Usage Patterns for Elegant Producer‑Consumer Communication in Microservices
JavaEdge
JavaEdge
Nov 11, 2020 · Backend Development

Mastering HTTP Timeouts and Retry Strategies with Feign & Ribbon in Spring Cloud

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.

FeignHTTPRibbon
0 likes · 16 min read
Mastering HTTP Timeouts and Retry Strategies with Feign & Ribbon in Spring Cloud
Architect's Tech Stack
Architect's Tech Stack
Nov 10, 2020 · Backend Development

Understanding Spring Cloud Core Components: Eureka, Ribbon, Feign, Hystrix, and Zuul

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
Understanding Spring Cloud Core Components: Eureka, Ribbon, Feign, Hystrix, and Zuul
Java Captain
Java Captain
Nov 5, 2020 · Cloud Native

Step-by-Step Guide to Building a Spring Cloud Microservices System with Eureka, Ribbon, and Feign

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
Step-by-Step Guide to Building a Spring Cloud Microservices System with Eureka, Ribbon, and Feign
Architecture Digest
Architecture Digest
Oct 25, 2020 · Cloud Native

Comprehensive Overview of Spring Cloud Components: Eureka, Ribbon, Feign, Zuul, Hystrix, and Config

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
Comprehensive Overview of Spring Cloud Components: Eureka, Ribbon, Feign, Zuul, Hystrix, and Config
Top Architect
Top Architect
Oct 11, 2020 · Cloud Native

Using Hystrix for Fault Tolerance in Spring Cloud Microservices

This article explains how to integrate Netflix Hystrix into Spring Cloud applications to provide request timeout, circuit‑breaker, fallback, monitoring and resource isolation for microservice calls, including Maven setup, annotation usage, Feign client fallback configuration and disabling options.

Fault ToleranceFeignHystrix
0 likes · 9 min read
Using Hystrix for Fault Tolerance in Spring Cloud Microservices
Architect
Architect
Oct 6, 2020 · Backend Development

Implementing Hystrix for Fault Tolerance in Spring Cloud Microservices

This article explains why microservice calls need fault‑tolerance mechanisms, introduces Hystrix’s core features such as timeouts, circuit‑breaker, fallback, monitoring and resource isolation, and provides step‑by‑step code examples for integrating Hystrix and Feign in a Spring Cloud project.

Fault ToleranceFeignHystrix
0 likes · 8 min read
Implementing Hystrix for Fault Tolerance in Spring Cloud Microservices
Top Architect
Top Architect
Sep 15, 2020 · Backend Development

Spring Cloud Microservices Architecture: Components, Service Discovery, Load Balancing, Circuit Breaker, and Configuration

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
Spring Cloud Microservices Architecture: Components, Service Discovery, Load Balancing, Circuit Breaker, and Configuration
Architect
Architect
Sep 10, 2020 · Cloud Native

Understanding Spring Cloud Components: Eureka, Ribbon, Feign, Zuul, Hystrix, and Config

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
Understanding Spring Cloud Components: Eureka, Ribbon, Feign, Zuul, Hystrix, and Config
Java Architect Essentials
Java Architect Essentials
Apr 14, 2020 · Cloud Native

Spring Cloud Interview Guide 2020: Concepts, Architecture, and Key Components

This article provides a comprehensive overview of Spring Cloud, covering why it should be learned, its core concepts, design goals, advantages and disadvantages, version compatibility with Spring Boot, major sub‑projects, configuration management, service discovery, load balancing, circuit breaking, Feign, and practical code examples for microservice development.

ConfigurationFeignSpring Boot
0 likes · 20 min read
Spring Cloud Interview Guide 2020: Concepts, Architecture, and Key Components
Architect's Tech Stack
Architect's Tech Stack
Nov 17, 2019 · Backend Development

Understanding Core Spring Cloud Components: Eureka, Ribbon, Feign, Hystrix, and Zuul

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
Understanding Core Spring Cloud Components: Eureka, Ribbon, Feign, Hystrix, and Zuul
Architect's Tech Stack
Architect's Tech Stack
May 18, 2019 · Cloud Native

Understanding Spring Cloud: Core Concepts, Benefits, Service Discovery, Load Balancing, Hystrix, Feign, and Spring Cloud Bus

This article explains what Spring Cloud is, its advantages for distributed microservices, the meaning of service registration and discovery, the purpose of load balancing, how Hystrix provides fault tolerance and circuit breaking, the role of Netflix Feign, and the function of Spring Cloud Bus for configuration refresh across instances.

FeignHystrixLoad Balancing
0 likes · 9 min read
Understanding Spring Cloud: Core Concepts, Benefits, Service Discovery, Load Balancing, Hystrix, Feign, and Spring Cloud Bus
Java Architecture Diary
Java Architecture Diary
Apr 23, 2019 · Backend Development

How to Propagate OAuth2 Tokens Across Feign Calls in Spring Cloud

This article explains how to implement token propagation between microservices in a Spring Cloud OAuth2 environment by configuring a Feign interceptor, parsing relevant source code, handling token extraction and relay, and addressing common pitfalls such as missing tokens and thread isolation issues.

Feignspring-cloudtoken-propagation
0 likes · 5 min read
How to Propagate OAuth2 Tokens Across Feign Calls in Spring Cloud
Programmer DD
Programmer DD
Jan 30, 2019 · Cloud Native

What’s New in Spring Cloud Greenwich? Upgrade Guide and Key Features

This article reviews the Spring Cloud Greenwich.RELEASE launch, detailing Maven coordinates for Java 11 compatibility, new features such as upgraded Netflix components, CredHub configuration for Spring Cloud Config, OAuth2 integration in Spring Cloud Gateway, recent Feign enhancements, common pitfalls, and practical migration tips for developers.

CredHubFeignGateway
0 likes · 6 min read
What’s New in Spring Cloud Greenwich? Upgrade Guide and Key Features
Programmer DD
Programmer DD
Jan 27, 2019 · Backend Development

Simplify Spring Cloud Service Calls with Nacos: RestTemplate, WebClient & Feign

This article demonstrates how to use Nacos for service registration and discovery in Spring Cloud and shows three convenient client consumption methods—enhanced RestTemplate, reactive WebClient, and declarative Feign—complete with configuration, code examples, and the underlying load‑balancing mechanism.

FeignSpring CloudWebClient
0 likes · 9 min read
Simplify Spring Cloud Service Calls with Nacos: RestTemplate, WebClient & Feign
Java Backend Technology
Java Backend Technology
Dec 9, 2018 · Backend Development

Why Extending Timeouts in Spring Cloud Can Crash Your System (And How to Fix It)

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.

FeignMicroservicesRibbon
0 likes · 10 min read
Why Extending Timeouts in Spring Cloud Can Crash Your System (And How to Fix It)
Java Backend Technology
Java Backend Technology
Oct 1, 2018 · Backend Development

Demystifying Spring Cloud: From Clusters to Service Discovery and Beyond

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.

CONFIGFeignMicroservices
0 likes · 29 min read
Demystifying Spring Cloud: From Clusters to Service Discovery and Beyond
Programmer DD
Programmer DD
Mar 25, 2018 · Backend Development

How to Enable File Upload with Spring Cloud Feign: A Step‑by‑Step Guide

This article explains how to add multipart file‑upload support to Spring Cloud Feign by extending the client with feign‑form, configuring the server side with a Spring MVC controller, and providing a complete Java example with dependencies, client configuration, and a JUnit test.

FeignSpring Cloudbackend
0 likes · 5 min read
How to Enable File Upload with Spring Cloud Feign: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Mar 13, 2018 · Backend Development

Why Feign Fails with LocalDate/LocalDateTime and How to Fix It

When a Spring Cloud Feign client sends a request containing Java 8 date/time types like LocalDate, LocalTime, or LocalDateTime, the response may trigger JSON parse errors because Spring MVC serializes them as arrays, but Feign expects a proper object, which can be resolved by adding Jackson's JSR‑310 module and configuring the ObjectMapper.

FeignJacksonJavaTimeModule
0 likes · 6 min read
Why Feign Fails with LocalDate/LocalDateTime and How to Fix It
Programmer DD
Programmer DD
Feb 12, 2017 · Cloud Native

How to Achieve Client‑Side Load Balancing with Spring Cloud Ribbon and Feign

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.

FeignMicroservicesRibbon
0 likes · 10 min read
How to Achieve Client‑Side Load Balancing with Spring Cloud Ribbon and Feign
Programmer DD
Programmer DD
Jan 23, 2017 · Cloud Native

Navigating Spring Cloud Version Compatibility: Tips & Common Pitfalls

This article introduces the upcoming “Spring Cloud Practical Tips” series and focuses on version dependency issues, common Feign errors, and recommended version pairings, advising developers to follow official Spring Cloud compatibility charts and favor the latest Camden release with Spring Boot 1.4.x for enhanced features.

FeignMicroservicesSpring Boot
0 likes · 5 min read
Navigating Spring Cloud Version Compatibility: Tips & Common Pitfalls