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.
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.
This article explains how to build a cloud‑native PaaS platform using a microservice architecture powered by Spring Cloud Netflix, Docker containers, an ELB‑based gateway, Eureka service registry, Hystrix fault tolerance, and a dynamic configuration center to achieve agile development and continuous integration.
This article explains the role of a service registry in micro‑service architectures, compares Zookeeper (CP) and Eureka (AP) in terms of design, consistency, and availability, and provides detailed code and configuration examples for deploying both solutions in a high‑availability cluster.
This article examines Spring Cloud’s four major service‑registry options—Eureka, Zookeeper, Consul, and Nacos—detailing their architectures, CAP characteristics, health‑check mechanisms, load‑balancing strategies, and integration features to help developers choose the most suitable solution for microservice governance.
This article explains the architecture and core mechanisms of Eureka, a service registry used in Spring Cloud micro‑service environments, covering server components such as Lease and caching, client registration and discovery processes, self‑preservation mode, consistency trade‑offs, and comparisons with other discovery solutions.
This article explains why stopped services may still be called through Eureka, shows how to adjust eviction and lease settings in the registry and client, and presents three active methods—including direct shutdown, DELETE requests, and client‑initiated deregistration—with code examples for Spring Boot applications.
Faced with a legacy Dubbo service needing both Dubbo and HTTP protocols and a new Spring Cloud project requiring seamless Feign calls, this article details the challenges, the solution using Dubbo’s SPI Container extension, and how Arthas was employed to diagnose and resolve hidden loading errors.
The article compares Eureka and Zookeeper as service registry solutions, explaining how Eureka follows an AP model with high availability and eventual consistency, while Zookeeper adopts a CP model prioritizing strong consistency, and discusses their suitable scenarios, limitations, and design considerations for distributed systems.
This article explains how to build a PaaS cloud platform based on microservice architecture and Docker containers, covering service gateway, registration and discovery with Eureka, fault tolerance with Hystrix, dynamic configuration, and deployment strategies using Spring Cloud components.
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.
This tutorial walks through creating a Spring Cloud microservice ecosystem by configuring a Eureka registration server, building a service provider and consumer with Spring Boot, demonstrating REST‑template and Ribbon integration, and setting up high‑availability Eureka clusters using multiple instances and load‑balancing strategies.
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.
This article explains the role of a service registry in micro‑service architectures, introduces the CAP theorem, outlines three main registration approaches, and compares popular solutions such as Eureka, Consul, Zookeeper, and Nacos, highlighting their consistency, availability, and operational considerations.
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.
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.
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.
This article reviews the evolution of service discovery in cloud‑native microservices, comparing Eureka, Consul, Nacos, SLB, Kubernetes Service and Istio, and discusses their architectures, strengths, limitations, and practical considerations for selecting the most suitable solution.
This article explains how to construct a PaaS cloud platform using microservice architecture, Docker containers, and Spring Cloud components such as Zuul, Eureka, and Hystrix, covering service gateway, registration, fault tolerance, and dynamic configuration to enable rapid development and deployment.
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.
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.
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.
This article explains Eureka's role as a Spring Cloud service registry, detailing its server and client components, registration and renewal processes, self‑preservation mechanism, clustering principles, and the complete workflow that enables reliable microservice discovery and high availability.
This article compares Netflix’s Eureka and Apache Zookeeper as service registration solutions, explaining their underlying AP and CP designs, how Eureka’s peer‑to‑peer architecture and self‑preservation mode ensure high availability, and why AP‑oriented registries may be preferable for typical microservice environments.
Facing frequent service outages as their microservice count grew, MasterTeach migrated from Eureka to Alibaba Nacos, designing a high‑availability Nacos‑Eureka sync solution with consistent‑hash sharding, Zookeeper/Etcd coordination, automated DevOps integration, and extensive fault‑tolerance testing to ensure stable operation of over 660 services.
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.
This guide walks through setting up a private Kubernetes environment, configuring namespaces and service accounts, modifying Eureka for IP registration, preparing Docker and Harbor authentication, creating StatefulSet and Service manifests, and automating continuous deployment with a Python script, enabling a fully functional Spring Cloud Eureka service in a resource‑constrained cluster.
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.
The article explains how YouZan adopted Ctrip’s open‑source Apollo distributed configuration center—detailing its architecture, environment and cluster isolation, security enhancements for SaaS, namespace designs, client polling mechanisms, and planned upgrades such as WebSocket long‑polling and ETCD replacement.
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.
This article explains Eureka's normal workflow, how it registers services, replicates data, and maintains local caches, and details its fallback mechanisms, unavailable server handling, full‑outage resilience, and self‑preservation feature to keep microservice discovery reliable.
This article explains how Eureka’s service registry achieves high availability through weak data consistency, adopts a peer‑to‑peer replication model, and resolves synchronization conflicts using timestamps and heartbeat mechanisms, all within the constraints of the CAP theorem.
This guide walks you through creating a SpringBoot Eureka registration center in IntelliJ IDEA, launching it via the Run Dashboard with various configurations, and inspecting its Actuator monitoring endpoints, providing step‑by‑step instructions, screenshots, and essential code snippets.
This tutorial walks through setting up Spring Boot Admin as a monitoring server and client, integrating it with Eureka for service discovery, adding Spring Security for authentication, and configuring email and custom notifications, complete with Maven and YAML configurations and Java code examples.
This article explains the ACID principles of relational databases versus the CAP principles of NoSQL systems, illustrates why distributed systems can only satisfy two of consistency, availability, and partition tolerance, and discusses how Eureka and Zookeeper embody AP and CP choices, especially during high‑traffic events like Double‑11.
Microservices replace monolithic apps with independently deployable services, but introduce complexity that NetEase Media addresses by unifying frameworks—choosing Consul for service discovery, combining in‑process and sidecar invocation, employing Hystrix for fault tolerance, and using Kong as a unified API gateway to streamline migration across Java, C++, and Python stacks.
This article examines how Eureka, the Spring Cloud service registry, stores its registry in an in‑memory ConcurrentHashMap, uses a 30‑second pull and heartbeat interval, and employs a multi‑level cache to comfortably handle millions of daily requests in large‑scale microservice deployments.
This article explores Eureka Server’s core architecture, detailing its in‑memory ConcurrentHashMap registry, the 30‑second pull and heartbeat cycles, and the multi‑level caching strategy that enables a large‑scale Spring Cloud system to sustain tens of thousands of daily requests while maintaining high performance.
This article explains the origins of service registration and discovery in microservice architectures, outlines the problems they address, describes their key characteristics, and compares implementation approaches such as DNS, Zookeeper, Dubbo, and Eureka, highlighting the CAP‑theorem trade‑offs between Zookeeper (CP) and Eureka (AP).
This article explains the concept of a simple microservices architecture, outlines essential components such as service registry, discovery, load balancing and API gateway, compares three load‑balancing approaches, and provides concrete implementation guidance using Eureka, Ribbon, Zuul and related DevOps practices.
This article provides a comprehensive guide to over 100 Eureka configuration options, covering client settings, instance microservice parameters, and server configurations, helping developers understand default values, customize behavior, and effectively manage service discovery in Spring Cloud environments.
The article explains that Eureka 2.0's open‑source development has been halted, advises developers to assess whether they are using the discontinued 2.x version, and outlines safe migration paths to alternatives like Consul, ZooKeeper, or Etcd while emphasizing cautious decision‑making.
This tutorial walks you through creating a reactive microservice architecture using Spring WebFlux, Spring Cloud components such as Eureka and Gateway, and Spring Data Reactive MongoDB, covering dependency setup, controller and repository code, service discovery, load‑balanced inter‑service calls, gateway routing, Docker deployment, and testing with curl.
This guide shows how to enable Spring Cloud Sleuth in a Spring Boot microservice setup, configure Eureka discovery, add tracing dependencies, implement two simple REST services, set up application properties, run the services, and interpret the generated trace and span IDs from the console logs.
This article explains how Spring Cloud Eureka provides high‑availability service registration and discovery, covering its core concepts, high‑availability architecture, processing flow, deployment steps, and practical usage within microservice systems.
This article provides a comprehensive overview of Netflix Eureka, explaining its background, reasons for adoption, core architecture, a step‑by‑step demo, and detailed implementation of the Eureka server, service provider, and service consumer within a Spring Cloud micro‑services environment.