An in‑depth guide walks you through Nacos’s role as a unified service registry and configuration center, compares it with Eureka and Config, shows step‑by‑step Maven setup, YML configuration, service discovery, dynamic refresh, namespace and group isolation, persistence, and cluster deployment.
This article compares Dubbo and Feign, outlining their architectures, features, and suitability for different microservice scenarios, and provides practical guidance on selecting the appropriate RPC framework based on performance, reliability, and development efficiency requirements.
The new Rainbow Bridge architecture replaces the SLB‑based load‑balancing model with a self‑managed, multi‑AZ metadata center and enhanced SDK that aggregates node health, provides zone‑aware weighted routing, supports rapid failover and manual overrides, and delivers faster recovery and scalable traffic handling.
This article walks through building a lightweight service registry using Eureka Server and Client to enable task distribution and execution, covering requirements, integration steps, code examples, load balancing, and troubleshooting, while avoiding separate deployment of a full registration center.
This article analyzes the motivations, models, and design considerations for building stateful distributed architectures—covering microservices, service discovery, access‑layer isolation, fault tolerance, scaling, and deployment strategies—to help architects create reliable, low‑latency cloud‑native systems.
This article analyzes the motivations, benefits, and challenges of building stateful distributed systems, compares monolithic, SOA, and microservice models, and provides detailed guidance on access layers, service discovery, fault tolerance, scaling, and data storage for cloud‑native architectures.
Celebrating Nacos reaching 30,000 stars, this article reviews the past two years of version upgrades, plugin and security enhancements, the revamped website, expanding multi‑language SDKs, and outlines the ambitious goals for Nacos 3.0 to become more secure, versatile, and cloud‑native.
This article explains Nacos, Alibaba's dynamic naming and configuration service, covering its architecture, service registration and discovery mechanisms, Raft‑based consistency, and configuration management with long‑polling, providing a comprehensive overview for microservice practitioners.
The article diagnoses a 2023 Dubbo outage caused by Zookeeper’s jute.maxbuffer limit being exceeded by millions of temporary nodes, explains why Zookeeper’s CP model is ill‑suited for service registries, and outlines an automated migration to Spring Cloud using generated REST controllers and proxies that achieve comparable performance, especially for larger payloads.
This article outlines the essential components and design considerations for creating a distributed task scheduling platform, covering triggers, scheduling strategies, executors, task chains, circuit breakers, exception handling, blocking control, service discovery, monitoring, and a management console.
This article explains the evolution from monolithic to microservice architectures, introduces Spring Cloud Alibaba and Nacos for service discovery and governance, provides step‑by‑step installation and configuration instructions, and demonstrates load balancing with Ribbon, including essential code snippets for quick adoption.
Zookeeper, the open‑source coordination service modeled after Google’s Chubby, offers strong consistency for distributed applications, but its CP design, synchronous master‑slave replication, log‑heavy state changes, and limited health checks lead many large tech firms to favor more available alternatives, though it still fits certain use cases.
This comprehensive tutorial explains Nacos' advantages over Eureka, its Raft‑based consistency, integration with Spring Cloud Alibaba, detailed architecture, installation steps, standalone and cluster modes, and practical demos for using Nacos as both a service registry and a configuration center in microservice applications.
This comprehensive guide explains Nacos's architecture, registration center, configuration center, deployment modes, data models, service discovery, health monitoring, dynamic configuration, multi‑environment support, and real‑time refresh mechanisms, providing practical code examples and operational best practices.
This article introduces etcd as a reliable distributed key‑value store built on Raft, outlines its key features and common use cases such as service discovery and configuration management, and provides a complete Go tutorial covering dependency setup, server launch, client implementation, read/write testing, and distributed lock usage.
This article explains the fundamental concepts of service registries, examines CAP theory and consensus protocols, and provides a detailed analysis of Zookeeper, Eureka, Nacos, Consul, and Etcd—including their architectures, features, trade‑offs, and practical guidance for selecting the most suitable registry for a given environment.
This article explains what headless services are, how they differ from regular Kubernetes services, their DNS‑based discovery mechanism, practical examples with OpenLDAP and Kafka Zookeeper, and how to include unready pods using annotations, providing a comprehensive guide for stateful workloads.
This article outlines eight fundamental microservice governance techniques—including service registration and discovery, load balancing, circuit breaking, security, monitoring, configuration management, and API gateway—to help architects design reliable, secure, and maintainable cloud‑native systems.
The article describes how a monolithic supply‑chain front‑end was refactored into a micro‑frontend architecture based on Single‑SPA, detailing the background problems, requirements, technical selection, system design, service discovery, module loading, message bus, data sharing, build and deployment, and the resulting performance improvements.
This article provides a comprehensive overview of Spring Cloud, detailing its core components—including Zuul, Eureka, Ribbon, Feign, Config, and Sleuth—their definitions, roles, underlying principles, and how they work together to enable robust microservice architectures.
Manbang Group scaled its digital freight platform by replacing self‑built Eureka and ZooKeeper clusters with Alibaba Cloud MSE Nacos and ZooKeeper, achieving seamless traffic migration, dramatic performance gains, and high‑availability features such as push‑empty protection and incremental pull for Eureka clients.
This article explains Nacos' advantages over Eureka, compares its Raft‑based consistency, details the Spring Cloud Alibaba suite, walks through Nacos architecture, installation, standalone and cluster modes, and provides practical examples of using Nacos as both a service registry and a configuration center in microservice projects.
This article explains the underlying principles of Nacos as a service registry, covering registration flow, health‑checking, dynamic service awareness, the architecture diagram, key source‑code components, and how service discovery works in Spring Cloud micro‑service environments.
This article explores the fundamentals of TCP communication, explains why raw TCP lacks message boundaries, and compares HTTP and RPC protocols—covering their histories, use cases, service discovery, connection handling, serialization, and performance trade‑offs—to answer why both coexist in modern software architectures.
This article walks through the evolution of system architecture from monolithic to microservices, explains Spring Cloud Alibaba components, introduces Nacos for service registration and discovery, provides step‑by‑step installation and integration instructions, and includes code snippets for a Spring Boot project.
This article explains how configuration management evolves from simple local files in monolithic applications to centralized, dynamic configuration centers like Nacos for microservices, covering code examples, registration, deregistration, viewing, change subscription, and guidance on choosing a service registry.
This article explains the role of a microservice registration center, its core principles and workflow, and compares popular frameworks such as Eureka, Nacos, Zookeeper, and Consul to help you select the most suitable solution for your architecture.
This article explains how HuoLala designed a cost‑effective multi‑zone high‑availability solution called the multi‑lane architecture, detailing its goals, deployment of services across availability zones, use of Consul for service discovery, Apollo for configuration, traffic scheduling strategies, and how it differs from traditional active‑active setups.
This article provides a comprehensive overview of Spring Cloud Alibaba architecture, detailing monolithic, distributed, and microservice patterns, explains the evolution of system designs, introduces Nacos service discovery and registration, and includes practical code examples for installing, configuring, and using Nacos with Spring Boot.
This article provides a comprehensive guide to Spring Cloud, covering Spring Boot fundamentals, service discovery with Eureka, gateway routing, load balancing, Feign, Ribbon, circuit‑breaker patterns with Hystrix and Sentinel, configuration management via Nacos, tracing with Sleuth/Zipkin, security mechanisms, gray releases, and performance tuning for production microservices.
This article explains how Spring Cloud Commons abstracts service discovery, load balancing, and circuit breaker patterns, covering annotations like @EnableDiscoveryClient, SimpleDiscoveryClient configuration, service registration, RestTemplate and WebClient load balancing, network interface filtering, HTTP client factories, and creating custom features for Spring Cloud applications.
This article explains the Nacos architecture, the principles of service registration, how Spring Cloud integrates with Nacos for automatic registration, the implementation details of NacosServiceRegistry, heartbeat mechanisms, registration via Open API/SDK, service address querying, and dynamic service discovery using HostReactor.
This article examines lossless scaling techniques for high‑concurrency microservice architectures, detailing the challenges of expansion and contraction, early scaling approaches, and advanced optimizations such as delayed registration, readiness probes, eager‑load Ribbon, cache preloading, health‑check strategies, and asynchronous consumer handling to ensure high availability, performance, and cost efficiency.
The article explains HashiCorp's shift to the Business Source License, outlines the legal and operational risks for users of Consul and other tools, compares alternative registration centers, and provides a step‑by‑step migration plan to the open‑source Nacos platform using Nacos Sync and Alibaba Cloud MSE.
This comprehensive guide explains the core concepts, architecture, CAP trade‑offs, and practical features of five popular service registries—Zookeeper, Eureka, Nacos, Consul, and Etcd—helping engineers and architects select the most suitable solution for microservice environments.
This article compares five popular service registries—Zookeeper, Eureka, Nacos, Consul, and Etcd—by explaining their core concepts, CAP trade‑offs, consensus algorithms, feature sets, and practical deployment considerations to help engineers select the most suitable solution for their microservice architecture.
This article provides a comprehensive technical walkthrough of Nacos as a service registry, covering its core features, architecture components, the underlying registration and health‑check processes, source‑code analysis of Spring Cloud integration, and the detailed service‑discovery workflow.
Nacos 2.3.0 introduces a suite of powerful enhancements—including an anti‑fragile plugin, server‑client capability negotiation, a configurable change plugin, and numerous gRPC and UI improvements—making it the most robust version yet for cloud‑native microservice discovery and configuration management.
This article explains the Nacos architecture, the principles of service registration, how Spring Cloud integrates with Nacos for automatic registration, the implementation details of NacosServiceRegistry, heartbeat mechanisms, service address queries, and dynamic service discovery, providing a comprehensive guide for backend developers working with microservices.
This article walks through the step‑by‑step evolution of an online supermarket from a simple monolithic web app to a fully split microservice architecture, highlighting the problems encountered, the rationale for each refactoring decision, and the essential components such as service isolation, messaging, monitoring, tracing, gateway, service discovery, circuit breaking, testing, and service mesh.
Service Discoverycircuit breakerdistributed tracing
This article explains Huolala’s multi‑group microservice architecture, covering its background, core principles, deployment, discovery, routing strategies, extension mechanisms, and practical application scenarios that enable flexible, versioned, and policy‑driven service routing.
This article provides a comprehensive overview of Kubernetes network architecture, including CNI plugins, network policies, service discovery, and ingress controllers, with practical configuration examples.
This article explains how to create a Webman plugin that integrates Nacos for configuration management, covering design goals, implementation details, code examples, problem fixes, and service load‑balancing strategies for both client and provider sides.
This tutorial explains the concepts of service registration and discovery in microservice architectures, introduces Nacos as a dynamic registry, and provides step‑by‑step PHP code for registering providers and discovering services using the Webman framework, including persistence and clustering considerations.
This guide explains what Nacos is, its core features such as service registration, dynamic configuration, and DNS services, and provides step‑by‑step instructions for installing the webman‑nacos plugin, configuring Nacos, writing PHP code to read configurations, and using dynamic listeners and version rollback.
This article provides a detailed, step‑by‑step analysis of Nacos’s internal architecture and code, explaining how it manages service registration, health monitoring, dynamic configuration, and service discovery within Spring Cloud micro‑service environments.
LApiGateway is Huolala's custom Java-based microservice gateway built on Spring Cloud Gateway, featuring service discovery via Consul, centralized configuration, a rich plugin system, DSL-driven routing, high‑availability designs like physical and service isolation, gray‑scale migration, traffic pre‑warming, and adaptive load balancing to ensure stable, efficient API management.
This article explains Nacos's architecture, the principles of service registration and discovery, how Spring Cloud integrates Nacos through auto‑configuration and event listeners, and details the registration, heartbeat, and dynamic address update mechanisms used by Nacos servers and clients.
This guide introduces Spring Cloud Tencent, a one‑stop microservice solution that integrates Spring Cloud with Tencent's Polaris service discovery, and provides step‑by‑step instructions—including building the project, adding dependencies, configuring application.yml, and running the application—to quickly set up a functional Spring Cloud Tencent service.
This article introduces microservices as a lightweight, autonomous architecture, compares it with monolithic and SOA approaches, outlines the complexities it brings, and reviews the most common open‑source solutions, registration and configuration centers, remote‑call mechanisms, resilience patterns, load‑balancing algorithms, tracing, and monitoring tools.
This guide introduces Spring Cloud, explains its core features such as configuration management, service discovery, circuit breaking, and distributed tracing, and walks through creating a simple microservices system with a config server, Eureka server, user service, and order service using Java and Spring Boot.
This article explains the origins of service registration and discovery in microservice architectures, outlines the core problems they solve, describes their key characteristics, and compares implementation approaches such as DNS, Zookeeper, Dubbo, and Eureka, highlighting the differences between Zookeeper and Eureka through the CAP theorem.
Microservice design patterns provide proven solutions for common challenges such as service decomposition, communication, governance, and testing, and this article introduces ten key patterns—including API Gateway, Service Discovery, Circuit Breaker, Bulkhead, CQRS, Event‑Driven, Saga, Strangler, Sidecar, and BFF—to help build efficient, reliable, and scalable systems.
This tutorial explains Prometheus service discovery types, why automatic discovery is essential, the scrape lifecycle, and provides step‑by‑step demos of file‑based discovery, Consul registration via Docker‑Compose, JSON API, and command‑line methods with full configuration examples.
This article explains the principles and practical steps for implementing graceful startup and shutdown in microservices, covering service pre‑warming, registration strategies, Spring Cloud and Polaris demos, Docker container handling, and the benefits and challenges of lossless service lifecycle management.
This article provides a step‑by‑step guide to deploying a Nacos cluster on Linux, covering environment preparation, installation, MySQL configuration, application.properties settings, and cluster.conf setup, startup commands, and explains the Raft‑based leader election and data synchronization mechanisms for reliable microservice registration.
This article provides a comprehensive tutorial on setting up a Nacos cluster on Linux, covering environment preparation, database configuration, application property tuning, cluster file creation, startup procedures, microservice integration, and an in‑depth explanation of the Raft‑based leader election and data synchronization mechanisms.
This article explains the principles, common use cases, and data‑sharing techniques of Kubernetes initContainers, compares them with PostStart hooks, and provides complete YAML examples for fetching files before a main container starts and for waiting on dependent services.
This article presents practical Kubernetes best‑practice cases—including horizontal autoscaling, service discovery with load‑balancing, and health‑check probes—to help engineers build more reliable, scalable, and self‑healing container deployments.
This article explains the motivations behind Kubernetes multi‑cluster deployments, outlines common use cases such as isolation and high‑availability, and analyzes core management elements including deployment models, control‑plane architectures, network connectivity, service discovery, cross‑cluster scheduling, application model extensions, and treating clusters as resources.
This article walks through the evolution of a simple online supermarket from a monolithic architecture to a fully fledged microservice system, highlighting the challenges, component choices, database splitting, monitoring, tracing, logging, gateway, service discovery, resilience patterns, testing strategies, and the trade‑offs of using a custom framework versus a service mesh.
This article provides a comprehensive overview of Spring Cloud fundamentals, including microservice concepts, service registration and discovery, circuit breaking, load balancing, and key components such as Eureka, Feign, Ribbon, Hystrix, and Spring Cloud Config, supplemented with interview‑style questions and code examples.
This article presents a comprehensive collection of high‑frequency Spring Cloud interview questions covering core concepts, microservice fundamentals, service discovery, load balancing, circuit breaking, Eureka vs Zookeeper, and practical usage of Feign, Ribbon, Hystrix, and Spring Cloud Config, helping readers deepen their cloud‑native architecture knowledge.
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.
This article explains the design and implementation of JD's JSF RPC framework, detailing the architecture, XML configuration of providers and consumers, Spring namespace handling, service registration, server startup, client initialization, load balancing, and the overall workflow from provider exposure to consumer invocation.
This article provides a comprehensive overview of Spring Cloud fundamentals, including core components, microservice concepts, service discovery, load balancing, circuit breaking, and related tools such as Eureka, Zookeeper, Hystrix, Ribbon, and Feign, presented as a series of typical interview questions and answers.
This article explores the core features introduced in Seata 1.6.x—including AT‑mode syntax upgrades, multi‑primary‑key support, optimized request/response networking, lock‑strategy modes, and multi‑registry service discovery—explaining how each improvement boosts performance and flexibility for cloud‑native microservices.
This article explains the importance of service discovery in high‑availability systems, compares DNS, VIP, Zookeeper‑based CP solutions and message‑bus‑based AP approaches, outlines their registration and subscription workflows, highlights scalability and consistency trade‑offs, and provides practical guidance for designing robust registration centers.
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.
The article explains why Spring Cloud Gateway may still call a downed service due to a stale CachingRouteLocator cache, and demonstrates how to listen to Nacos InstancesChangeEvent to evict the cache so the gateway always uses the latest service list.
This article provides a detailed tutorial on OpenFeign, covering its purpose, differences from Feign, environment setup, service provider and consumer creation, various parameter passing methods, timeout handling, logging configuration, HTTP client replacement, GZIP compression, and Sentinel-based circuit breaking, while also including practical code examples and configuration snippets.
A mistaken Zookeeper restart caused a 30‑minute outage of all microservices; this article analyzes the ZK session mechanism, why temporary nodes were not recreated, and presents two concrete solutions and best‑practice recommendations to prevent similar failures.
This article explains Nacos's dynamic service discovery, covering its core architecture, communication protocols, registration and heartbeat mechanisms, subscription and push processes, as well as SDK query flows, and includes detailed code examples to illustrate each step.
This article introduces Kubernetes fundamentals through a series of questions and answers, covering its architecture, node communication, pod scheduling, data storage, external access, scaling mechanisms, and component coordination, all illustrated with clear diagrams.
The article dissects Dubbo’s ZooKeeperRegistry by tracing its inheritance from AbstractRegistry through FailbackRegistry to CacheableFailbackRegistry, detailing local memory‑disk caching, retry logic via a timing wheel, URL‑push optimizations, and the ZooKeeper‑based ephemeral node and watcher mechanisms that enable dynamic service discovery, while also covering core ZooKeeper concepts.
The article explains Nacos’s open‑source service registry and discovery mechanisms, detailing client auto‑configuration, registration and health‑check workflows, server‑side instance handling, asynchronous copy‑on‑write processing, heartbeat cleanup, and cluster synchronization, while comparing its AP/CP capabilities to Zookeeper and Eureka.
This article provides a comprehensive overview of microservice architecture, outlining four major technology domains—management, storage, business support, and DevOps—and lists the most relevant tools and platforms for each, helping architects choose optimal solutions for their projects.
Nacos 2.2.0, the latest GA release of the dynamic service discovery and configuration platform, removes legacy code, adds several new plugins, expands feature support, refactors core components, and resolves numerous bugs and dependency issues for more stable cloud‑native operations.
This article explains the role of service registry centers in micro‑service architectures, introduces the CAP theorem and its trade‑offs, compares three categories of registries, and evaluates popular solutions such as Zookeeper, Eureka, Consul and Nacos to help you choose the right one for your needs.
The article introduces Nacos 2.2.0, explains its core functions, details major changes such as removal of legacy code, new data‑source, custom‑environment, and trace plugins, lists added features, refactorings, bug fixes, and provides reference links for further reading.
The Nacos 2.2.0 GA release introduces several new plugins—including rate‑limiting, custom environment variable, and datasource plugins—removes legacy redundant code, enhances tracing and batch registration, and delivers extensive refactoring and bug fixes to improve stability and extensibility for cloud‑native service discovery and configuration management.
This article explains what etcd is, compares it with Zookeeper, describes its architecture and core components such as WAL, snapshots and boltdb, outlines its key features, and shows how it powers service registration, watch mechanisms, cluster monitoring and leader election in cloud‑native systems.
This article provides a comprehensive analysis of Nacos as a service registry, covering its core concepts, architecture diagram, registration and discovery principles, detailed source‑code walkthroughs, and practical debugging examples for Spring Cloud microservice environments.
Nacos 2.2.0 introduces major enhancements such as new plugins, batch registration, OpenAPI v2, LDAP support, extensive refactoring, numerous bug fixes, and UI dependency upgrades, while outlining upgrade paths and compatibility notes for 1.x clients and servers.
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.
The article explains RPC fundamentals and why they are vital for distributed systems, then details the core components—service provider, consumer, and registry—along with extensions such as load‑balancing, circuit breaking, and serialization, and walks through a concrete Java implementation using Zookeeper, Netty, custom protocol, JSON/Protobuf, and Spring Boot SPI plugins.
The article describes ShopeePay’s cloud‑native, high‑availability Naming Center built on sRPC, which replaces etcd with an in‑memory, peer‑to‑peer service registry that uses gossip heartbeats, self‑protection, and a coordinator for eventual consistency, rapid recovery, and seamless upgrades.
This article explains how Kubernetes enables service‑to‑service communication using three native objects—ClusterIP Service, CoreDNS for DNS‑based discovery, and Kube‑proxy for DNAT—while abstracting the underlying network complexities from applications.
This article reviews five Java/Kotlin microservice frameworks—Helidon, Ktor, Micronaut, Quarkus, and Spring Boot—showing how to build services, configure Consul service discovery, run them, test their APIs, and compare their size, startup time, memory usage, and pros and cons.
This article provides a comprehensive overview of Dubbo, a high‑performance Java RPC framework, detailing its three core capabilities, essential components, layered architecture design, and the step‑by‑step remote invocation workflow for both service providers and consumers.
This article walks through the step‑by‑step transformation of a simple online supermarket from a monolithic web app to a fully‑featured microservice architecture, covering common pitfalls, component choices, monitoring, tracing, logging, service discovery, fault‑tolerance, testing, and deployment strategies.
The article builds five microservices with Helidon SE, Ktor, Micronaut, Quarkus and Spring Boot, integrates Consul for service discovery, provides full source code and configuration, shows how to start each service, benchmarks size, startup time and memory usage, and finally lists the pros and cons of each framework.
This article explains how to build a highly extensible modular backend service using Spring Cloud Gateway, Gradle scripts, and service‑discovery metadata to automatically generate and refresh routing configurations for both monolithic and microservice deployment modes.
This tutorial walks through setting up a Spring Cloud Gateway integrated with Nacos as a registration and configuration center, covering Nacos installation, project configuration, route definition, and a listener that dynamically refreshes service instances to ensure reliable request forwarding.
This tutorial provides a complete, code‑rich example of integrating Dubbo with Nacos using Spring Boot, covering environment setup, Maven project structure, module creation, configuration files, Java source code, and testing the RPC service call.
This article provides a concise overview of etcd and Kubernetes, detailing etcd’s features and use‑cases, explaining Kubernetes fundamentals, its relationship with Docker, and describing key components such as Minikube, Kubectl, Kubelet, common deployment methods, and the platform’s cluster management architecture.
The article explains why Spring Cloud remains the dominant Java microservice framework, introduces Tencent’s open‑source Polaris‑based Spring Cloud Tencent as a one‑stop cloud‑native solution, and details its discovery, configuration, routing, rate‑limiting, and circuit‑breaker modules, while outlining future plans and how developers can contribute.
This article introduces a systematic approach to troubleshooting Kubernetes pod network anomalies, covering classification of common failures, essential tools such as tcpdump, nsenter, paping and mtr, detailed packet‑capture techniques, a step‑by‑step troubleshooting workflow, and real‑world case studies to illustrate root‑cause analysis and resolution.
This article explains the fundamental concepts of API gateways, their design motivations, key architectural components such as routing, service registration, load balancing, resilience, and security, and provides a comparative overview of popular open‑source implementations like OpenResty, Kong, Zuul, and Spring Cloud Gateway.