Tagged articles
131 articles
Page 2 of 2
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.

JavaRetrofitSpring 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.

HTTP clientJavaSpring Cloud
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.

ArthasJavaSpring Boot
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.

BackendJavaMicroservices
0 likes · 7 min read
Comparing Two Feign Usage Patterns for Elegant Producer‑Consumer Communication in Microservices
Architecture Digest
Architecture Digest
Nov 19, 2020 · Cloud Native

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

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.

MicroservicesRibbonSpring Boot
0 likes · 15 min read
Step-by-Step Guide to Building Spring Cloud Microservices with Eureka, Ribbon, and Feign
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.

HTTPJavaRibbon
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.

Backend DevelopmentHystrixMicroservices
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.

RibbonSpring BootSpring Cloud
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.

CONFIGHystrixMicroservices
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.

HystrixSpring Cloudcircuit breaker
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.

HystrixJavaMicroservices
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.

CONFIGHystrixRibbon
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.

CONFIGHystrixMicroservices
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.

ConfigurationSpring BootSpring Cloud
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.

HystrixMicroservicesRibbon
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.

HystrixMicroservicesSpring Boot
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.

CredHubGreenwichJava 11
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.

Spring Cloudfeignresttemplate
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.

MicroservicesRibbonScalability
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.

CONFIGMicroservicesRibbon
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.

BackendJavaSpring Cloud
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.

JSONJacksonJavaTimeModule
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.

JavaMicroservicesRibbon
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.

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