This article explains Docker’s origins, core concepts, and the challenges of container IP volatility, then compares client‑side and server‑side service discovery methods, evaluates DNS, LVS/IPVS, Nginx and HAProxy solutions, and presents practical load‑balancing architectures—including dynamic SLB integration and rolling‑update strategies—for reliable container deployments.
Java’s Service Provider Interface (SPI) is a built‑in discovery mechanism that decouples implementation from usage by letting providers place fully qualified class names in META‑INF/services files, enabling frameworks such as JDBC, logging, and Dubbo to load multiple vendor implementations at runtime via ServiceLoader, though it has limitations like lack of on‑demand loading and concurrency issues.
The story follows a tiny PHP application named Phippy, who moves from a lonely shared host into a container, meets the wise Captain Kube, learns about Pods, Replication Controllers, services, volumes, and namespaces, and discovers how Kubernetes orchestrates isolated yet connected workloads, illustrated through a whimsical maritime metaphor.
This article details the two‑year evolution of 58 Group’s container cloud platform, describing its background, overall architecture, network and service‑discovery advancements, operational challenges, and lessons learned from migrating over 90% of the company’s traffic to a Docker‑Kubernetes‑based cloud environment.
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.
This article shares a publicly accessible Nacos server with login credentials, provides client configuration snippets for service discovery and configuration center, lists related Spring Cloud Alibaba tutorials, example repositories, and additional resources for developers to experiment with microservice architectures.
This article explains how Spring Cloud modules formerly backed by Netflix OSS are moving to maintenance mode and shows how to replace them with Consul for service discovery and configuration, use Spring Cloud Gateway as the API gateway, and adopt Spring Cloud LoadBalancer for client‑side load balancing in modern cloud‑native microservices.
This article explains how to transform a traditional monolithic setup into a fully automated, cloud‑native microservice architecture using Docker containerization, Consul for service discovery and configuration, and HAProxy for dynamic DNS‑based routing, detailing the challenges, solutions, and practical configuration examples.
This article explains how to transform a traditional monolithic deployment into a fully automated micro‑services environment by containerizing services, using Consul for dynamic service discovery and configuration, and configuring HAProxy with DNS resolvers to achieve seamless load balancing and zero‑downtime updates.
This article outlines ten key design considerations for building robust microservice architectures, covering API gateways, stateless services, database scaling, caching, service decomposition, orchestration, configuration management, logging, resilience patterns, and comprehensive monitoring to ensure high availability and performance.
This guide explains how to construct a client library for Youzan's customized NSQ, covering workflow configuration, nsqd discovery via nsqlookupd, connection establishment, message publishing and consumption, ordered consumption, and the implementation of message tracing with concrete command syntax and response handling.
This tutorial walks through setting up a Nacos cluster for production, covering MySQL data source initialization, cluster configuration files, local multi‑instance testing, deployment on separate nodes, Nginx reverse‑proxy setup, and common troubleshooting steps.
This article explains how a service registry works in microservice architectures, covering self‑registration and third‑party registration, client‑side and server‑side discovery, and provides practical Node.js code examples and a systemd unit for managing service registration.
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.
The article introduces Nacos 0.8.0, highlighting its three major production features—user login, Prometheus metrics, and namespace isolation—while providing step‑by‑step download links, startup commands for Linux and Windows, and instructions to access the default login console.
This tutorial walks you through installing Nacos, configuring Spring Cloud Alibaba for service registration and discovery, building provider and consumer Spring Boot applications, and testing load‑balanced calls, offering a complete hands‑on guide to cloud‑native microservice integration.
This article explains a practical, simplified microservices architecture that focuses on essential components such as service registry, discovery, load balancing, and API gateways, and provides step‑by‑step guidance on implementation, deployment, and operations to improve development speed, maintainability, and scalability for typical enterprise projects.
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 explains why service discovery is essential for microservice architectures, dives into Consul’s internal mechanisms—including multi‑datacenter gossip, Raft consensus, and client‑server roles—then provides step‑by‑step Docker deployment, service registration, health‑check configuration, and practical discovery methods via HTTP API and DNS.
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 explains how to describe, publish, register, discover, invoke, monitor, trace, and govern RPC services in a microservice architecture, covering RESTful API, XML configuration, IDL files, registry principles, Zookeeper deployment, connection methods, server processing models, monitoring metrics, tracing concepts, and common governance techniques such as load balancing and fault tolerance.
This article outlines the critical backend components and best‑practice architectures—including API gateways, load balancers, service frameworks, caching, databases, search engines, messaging, authentication, configuration, scheduling, logging, data pipelines, and monitoring—that together ensure stable, maintainable, and high‑availability services for modern internet companies.
Spring Cloud’s Consul integration in Finchley can mistakenly register multiple service instances under a single ID, causing only one instance to appear in Consul; this article explains the root cause—instance‑ID naming based on service name and port—and provides two fixes via configuration or custom registry extension.
This article outlines ten crucial design principles for building robust microservice systems, covering API gateways, stateless services, database scaling, caching, service splitting, orchestration, configuration management, logging, resilience patterns, and comprehensive monitoring to ensure high performance and reliability.
This article reviews mature service governance solutions such as Dubbo, HSF, Tars, Linkerd, and Istio, extracts common design principles, and provides practical guidance on implementing core functions like registration, discovery, and change propagation in distributed systems.
This article explains how microservices use service registries for discovery, registration, health checks, and deregistration, compares third‑party and self‑registration, explores server‑side and client‑side call mechanisms, discusses API gateways, synchronous vs asynchronous messaging, and outlines fault‑tolerance patterns such as timeouts, circuit breakers, and bulkheads.
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.
The article summarizes the design principles of reactive microservices, covering isolation, single responsibility, autonomy, private state, asynchronous messaging, service discovery, API management, and security, and explains how these concepts enable scalable, resilient cloud‑native systems.
This article explains how to construct a PaaS cloud platform using a microservice architecture, Spring Cloud Netflix components, Docker containers, and supporting services such as a gateway, Eureka registration, Hystrix fault tolerance, and a dynamic configuration center.
This article explains how to construct a PaaS cloud platform using microservice architecture and Docker containers, detailing the roles of Spring Cloud Netflix components such as Zuul, Eureka, Hystrix, and Config Server, and covering gateway routing, service discovery, deployment, fault tolerance, and dynamic configuration.
This article analyzes the challenges of mocking Dubbo services in large‑scale Java projects, explores multiple design options—including generic service registration, Javassist proxies, and custom reference implementations—compares their pros and cons, and presents the final architecture that enables dynamic registration, method‑level mocking, and transparent fallback to real services.
This article presents a practical, China‑centric microservices reference stack built on Spring Cloud, detailing eleven core components—including Zuul, Eureka, Apollo, Kafka, ELK, and Hystrix—while comparing them with alternatives and offering guidance for architects to avoid common pitfalls and accelerate production‑grade deployments.
This article demystifies service discovery, explains the roles of providers, consumers, and registries, explores using Redis as a lightweight registry with keep‑alive and versioning mechanisms, discusses extensions for non‑HTTP services, configuration reload, management UI, and presents a simple open‑source implementation.
Microservice architecture, introduced in 2012, breaks monolithic applications into independent services, offering benefits like scalability and flexibility while introducing challenges such as complexity, communication overhead, and testing, and the article explores its evolution, core characteristics, design patterns, implementation practices, and trade‑offs.
This article details how 360's commercial advertising platform leverages Mesos and Docker containerization to solve data‑center migration, fault recovery, OS inconsistencies, and resource‑utilization challenges, describing the architecture, standardization, networking, storage, service discovery, and future plans.
The article outlines the challenges faced by JD’s Java Service Framework (JSF) amid rapid microservice growth and containerization, and presents a comprehensive, multi‑layer redesign—including infrastructure, service framework, system extension, and application layers—to transform JSF into a cloud‑native microservice platform.
This article explores the core components of a microservice foundation framework—including gateways, DevOps, Docker, security, load balancing, and service discovery—examines centralized vs. in‑process load‑balancing strategies, and reviews Netflix’s open‑source stack (Eureka, Zuul, Hystrix, etc.) as a reference implementation.
The article explains how client‑side and server‑side discovery rely on a service registry that stores each instance’s host and port, discusses registration options, lists common implementations such as Eureka, Zookeeper, Consul, and Etcd, and outlines the benefits and challenges of this pattern.
This article explains how server‑side service discovery enables clients such as API gateways to locate dynamically changing microservice instances via a router or load balancer that queries a service registry, outlining requirements, solution architecture, examples like AWS ELB, benefits, drawbacks, and related patterns.
This article explains why modern microservices need a client‑side discovery mechanism, how a Service Registry enables dynamic lookup of service instances, and outlines the advantages, drawbacks, and typical implementations such as Netflix OSS.
This article explains how using an API gateway as a single entry point enables diverse client types—desktop browsers, mobile apps, and native applications—to efficiently retrieve product details from multiple microservices while handling network constraints, service discovery, and security.
Google Cloud’s engineers explain how microservice architectures benefit from small, fast-deployable containers, using Docker, Docker‑Compose, and Kubernetes features such as Pods, Replication Controllers, Services, Labels, and canary releases to achieve automated, high‑availability deployments at Google’s massive scale.
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 explains the concepts, processes, and practical steps of blue‑green, rolling, and canary deployments, illustrates a game‑service topology, and details how to achieve high‑availability gateway discovery and service‑layer gray releases using Consul, Consul‑Template, Nginx, and Dubbo.
This article explains why high availability is critical for internet services, outlines key techniques such as stateless design, service discovery, heartbeat checks, idempotent operations, load balancing, throttling, caching, and micro‑service architecture, and discusses the operational challenges and monitoring tools needed to maintain resilient, scalable systems.
The article discusses how to achieve high availability for large‑scale internet services by adopting stateless architecture, service discovery and registration, heartbeat monitoring, idempotent design, retry mechanisms, rate limiting, caching, and micro‑service decomposition to handle machine failures, network glitches, and high concurrency.
This article provides a comprehensive overview of microservice architecture, covering its definition, historical development, differences from monolithic systems, core characteristics, comparison with SOA, practical implementation concerns such as API gateways, communication, service discovery, fault tolerance, common design patterns, advantages, challenges, and a mindset shift required for successful adoption.
The CCF TF Architecture SIG hosted a densely attended microservices practice seminar in Beijing, featuring leading experts from 25 top tech companies who shared deep insights on service discovery, high‑availability architectures, Spring Cloud adoption, and large‑scale microservice frameworks such as Vintage, OCTO, and rest.li.
This article chronicles a small team’s evolution from single‑repo manual deployments through service splitting, messaging middleware, SDK‑based calls, service discovery, Docker automation, and log handling, highlighting practical lessons and trade‑offs at each stage.
This guide shows how to build a Spring Cloud consumer that registers with Eureka, configures LoadBalancerClient and RestTemplate, and calls a provider service’s endpoint using load‑balanced discovery, complete with Maven dependencies, configuration files, and full Java code examples.
Spring Cloud is a toolbox built on Spring Boot that provides a suite of tools for developing distributed systems, offering features such as configuration management, service discovery, routing, load balancing, circuit breaking, global locks, cluster state management, and a variety of sub‑projects like Config, Netflix, Bus, Consul, Security, Sleuth, Data Flow, Stream, and Zookeeper.
Microservices architecture introduces technical concerns such as service registration, discovery, load balancing, health checks, front-end routing, fault tolerance, dynamic configuration, and framework selection, with common solutions ranging from centralized and in-process load balancers to Netflix and Spring Cloud components.
This article explains microservice architecture versus monolithic design, discusses communication, service discovery, ordering, and messaging strategies, and details GeTui’s practical implementation using OpenResty, API gateways, Zookeeper, and DevOps automation.
This article explains the differences between monolithic and microservice architectures, introduces Docker as a key tool for microservices, and details how a Container‑as‑a‑Service (CaaS) platform can provide service discovery, routing, logging, monitoring, auto‑scaling, SLA enforcement, and deployment strategies to simplify development and operations.
This guide walks through setting up Spring Cloud, explains microservice architecture, and provides step‑by‑step instructions with code samples for creating a Eureka service registry, a compute service provider, and switching to Consul for service discovery in a cloud‑native Java environment.
This article shares the engineering team’s experience of building a high‑growth, reliable backend for English Fluently, covering inter‑service communication with gRPC, service discovery, Docker‑based deployment, health‑checking, monitoring, autoscaling, Kubernetes orchestration, and multi‑cell availability strategies.
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.
This article explains the fundamental ideas behind microservices, compares them with traditional SOA, discusses when to adopt microservices, outlines design principles, explores technology selections such as Spring Cloud and Docker, and addresses common challenges like service discovery, transaction handling, and operational costs.
This article explains why microservices are chosen over monolithic architectures, outlines their key characteristics, reviews popular frameworks such as Netflix's stack and Spring Cloud, and discusses essential concerns like service discovery, load balancing, security, configuration, monitoring, and fault tolerance.
This article examines the shortcomings of classic microservice architectures, introduces a “micro‑intelligent” design philosophy and a pseudo‑social distributed model, and outlines three foundational elements—service registration, discovery, and monitoring—required to construct a robust, adaptive microservice computing platform.
This article introduces Docker 1.12’s Swarm mode, detailing its new features such as service creation, health checks, scaling, scheduling constraints, load balancing, service discovery, and rolling updates, and provides step‑by‑step instructions for building a multi‑node Swarm cluster, deploying services, and handling node failures.
This article explains how microservices adopt decentralized governance, outlines service registration and discovery mechanisms, details Docker and Kubernetes deployment strategies, describes security using OAuth2/OpenID, discusses transaction handling and fault‑tolerance patterns such as circuit breaking and timeouts, providing practical guidance for building robust cloud‑native systems.
Pinterest shares its real‑world experience using ZooKeeper for service discovery and dynamic configuration, detailing the challenges of connection overload, transaction spikes, network partitions, and human error, and explains the multi‑step solutions that improved resilience and reduced operational risk.
This article walks through designing a microservice application with Go, covering service registration and discovery, various testing strategies—including unit, integration, contract, and chaos testing—illustrates typical architectural patterns, and shares Qiniu's real‑world microservice implementation and practical Q&A.
This article explains the fundamentals of microservices architecture, contrasting it with monolithic and SOA approaches, and details design principles, messaging patterns, integration styles, data decentralization, governance, service discovery, deployment with Docker and Kubernetes, security, transaction handling, and fault‑tolerance techniques.
This article introduces etcd, a highly‑available key‑value store based on the Raft algorithm, and explores its classic use cases such as service discovery, messaging, load balancing, distributed coordination, locks, queues, monitoring, leader election, and compares it with ZooKeeper, highlighting its simplicity, security, and cloud‑native advantages.
The article explains three primary load‑balancing and service‑discovery patterns for microservice architectures—centralized external load balancers, client‑side soft load balancing, and independent host‑level LB processes—detailing their mechanisms, advantages, drawbacks, and real‑world examples such as F5/HAProxy, Netflix Eureka/Ribbon, and Airbnb SmartStack.
The article explains three primary load‑balancing and service‑discovery patterns for microservice architectures—centralized external load balancers, client‑side soft load balancing, and independent LB processes—detailing their mechanisms, advantages, drawbacks, and real‑world examples such as Netflix Eureka, Dubbo, and Airbnb SmartStack.
This article compares Nginx and ZooKeeper as load‑balancing solutions, explains their configurations, highlights scalability challenges with many services, and shows how ZooKeeper can serve as a service registry and notification center to complement or replace Nginx in complex environments.
This article walks through why service discovery is essential, compares Consul's features, and provides step‑by‑step instructions for deploying a Consul cluster, integrating it with Nginx/LVS/Docker, managing nodes, and safely upgrading the system.
This article outlines Meipai’s evolution into a billion‑user short‑video platform, detailing its high‑availability, scalable architecture, service discovery via etcd, data storage challenges, CDN and cloud‑storage redundancy, fault‑tolerance mechanisms, and future directions such as H.265 adoption and P2P‑CDN hybrid delivery.
This article explains what microservices are, compares them with monolithic architecture, outlines their key characteristics, and provides practical guidance on client access, inter‑service communication, service discovery, fault tolerance, and deployment considerations.
This article explains how large‑scale internet companies replace local service calls with remote procedure calls (RPC), covering Java dynamic proxies, message encoding, serialization, asynchronous response handling, and Zookeeper‑based service registration and discovery to achieve transparent, scalable service communication.
The article explains how an API Gateway can consolidate multiple fine‑grained microservice endpoints into a single coarse‑grained API for mobile clients, discussing its design considerations, benefits, drawbacks, and implementation techniques such as reactive programming, service discovery, and fault tolerance.
etcd, a highly‑available key‑value store built on the Raft algorithm, provides simple HTTP/JSON APIs for secure, fast, and reliable shared configuration and service discovery, enabling use cases such as service registration, load balancing, distributed locks, queues, leader election, and real‑time cluster monitoring.
In the cloud and mobile era, while many scalability issues can be addressed by cloud platforms, services still face challenges such as remote RPC calls, distributed tracing, configuration management including service discovery and load balancing, and scheduling with lifecycle management, prompting architects to design transparent, pluggable solutions.