Tagged articles

Nacos

431 articles · Page 3 of 5
macrozheng
macrozheng
Jan 26, 2024 · Backend Development

Implement Full‑Link Gray Release with Spring Cloud Gateway, Ribbon, and OpenFeign

This article explains how to achieve full‑link gray (canary) release in a microservice architecture by adding a gray tag in a Spring Cloud Gateway global filter, propagating it through request headers, customizing Ribbon load‑balancing rules to select gray instances from Nacos, and using an OpenFeign interceptor to transmit the tag downstream, ensuring seamless A/B testing and stable deployments.

NacosOpenFeignRibbon
0 likes · 14 min read
Implement Full‑Link Gray Release with Spring Cloud Gateway, Ribbon, and OpenFeign
Sanyou's Java Diary
Sanyou's Java Diary
Jan 23, 2024 · Fundamentals

Demystifying Raft: How Nacos Uses JRaft for Strong Consistency

This article explains the Raft consensus algorithm, its request lifecycle, leader election, snapshot mechanism, and JRaft optimizations such as linear reads, learners, and multi‑raft groups, illustrating how Nacos integrates these concepts to achieve reliable distributed consistency.

JRaftLeader ElectionNacos
0 likes · 23 min read
Demystifying Raft: How Nacos Uses JRaft for Strong Consistency
MaGe Linux Operations
MaGe Linux Operations
Jan 22, 2024 · Cloud Native

Deploy and Secure Nacos Config Center on Huawei CCE & Kubernetes

This guide explains how to use Nacos as a centralized configuration center in Spring Boot micro‑services, covering common pitfalls of static configs, best‑practice namespace/group/DataId design, dependency setup, YAML examples, security annotations, role‑based access, Dockerfile tweaks, CCE deployment, database schema, and Kubernetes manifests for test and production environments.

DevOpsHuawei CCEKubernetes
0 likes · 19 min read
Deploy and Secure Nacos Config Center on Huawei CCE & Kubernetes
Selected Java Interview Questions
Selected Java Interview Questions
Jan 20, 2024 · Backend Development

Implementing Sa-Token Authentication in Spring Cloud Gateway with Redis and Nacos

This article demonstrates how to replace heavyweight Spring Security with the lightweight Sa-Token framework by configuring token generation, session storage in Redis, service discovery via Nacos, and permission checks in a Spring Cloud Gateway micro‑service architecture, complete with code examples and deployment settings.

JavaNacosRedis
0 likes · 21 min read
Implementing Sa-Token Authentication in Spring Cloud Gateway with Redis and Nacos
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 17, 2024 · Backend Development

Master Spring’s Extension Points: BeanPostProcessor, BeanFactoryPostProcessor, and More

This article explains Spring and SpringBoot’s key extension points—including BeanPostProcessor, BeanFactoryPostProcessor, ApplicationContextInitializer, EnvironmentPostProcessor, and PropertySourceLocator—provides detailed code examples, registration steps, and trigger timing to help developers customize and extend Spring applications effectively.

BeanPostProcessorEnvironmentPostProcessorExtensionPoints
0 likes · 13 min read
Master Spring’s Extension Points: BeanPostProcessor, BeanFactoryPostProcessor, and More
Su San Talks Tech
Su San Talks Tech
Jan 3, 2024 · Backend Development

How Nacos Implements Service Registration: From Ephemeral Instances to CP/AP Consistency

This article deep‑dives into Nacos as a service registry, explaining the differences between temporary and permanent instances, registration mechanisms across 1.x and 2.x versions, heartbeat and health‑check strategies, service discovery methods, data‑consistency models, and the underlying data model that powers Nacos clusters.

HeartbeatNacosconsistency
0 likes · 28 min read
How Nacos Implements Service Registration: From Ephemeral Instances to CP/AP Consistency
LouZai
LouZai
Dec 21, 2023 · Backend Development

Which Service Registry Should You Choose? A Deep Dive into Zookeeper, Eureka, Nacos, Consul, and Etcd

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.

CAP theoremConsulEureka
0 likes · 22 min read
Which Service Registry Should You Choose? A Deep Dive into Zookeeper, Eureka, Nacos, Consul, and Etcd
Code Ape Tech Column
Code Ape Tech Column
Dec 20, 2023 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation

This article provides a detailed walkthrough of Nacos' configuration center long‑polling mechanism, explaining how the client initializes ConfigService, schedules periodic checks, processes configuration changes, and how the server receives listener requests, manages long‑polling tasks, and triggers change events, all illustrated with code snippets and diagrams.

ConfigurationJavaNacos
0 likes · 12 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Dec 14, 2023 · Operations

Graceful Shutdown for Kubernetes‑Based Spring Boot Microservices with Nacos

This article explains the concept of graceful shutdown, outlines the essential steps, and demonstrates a practical Kubernetes‑Spring Boot‑Nacos case study, including PreStopHook handling, terminationGracePeriodSeconds tuning, and further optimizations for message queues, scheduled tasks, and traffic control.

NacosSpring Bootgraceful shutdown
0 likes · 13 min read
Graceful Shutdown for Kubernetes‑Based Spring Boot Microservices with Nacos
macrozheng
macrozheng
Dec 13, 2023 · Cloud Native

What’s New in Nacos 2.3.0? A Deep Dive into Its Latest Cloud‑Native Features

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.

Nacosanti-fragile plugincloud-native
0 likes · 6 min read
What’s New in Nacos 2.3.0? A Deep Dive into Its Latest Cloud‑Native Features
Top Architect
Top Architect
Nov 23, 2023 · Backend Development

Understanding Nacos Architecture and Service Registration in Spring Cloud

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.

HeartbeatNacosRegistration
0 likes · 10 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 20, 2023 · Cloud Native

Implementing a Custom Nacos‑like Service Discovery and Configuration Management with Spring Boot

This article explains how to build a Spring Boot‑based service registry that replicates Nacos' core features—service discovery, health‑checking, and dynamic configuration management—by creating server‑side registration APIs, scheduled heartbeat checks, client registration logic, and database‑backed configuration storage.

CloudNativeConfigurationManagementJava
0 likes · 10 min read
Implementing a Custom Nacos‑like Service Discovery and Configuration Management with Spring Boot
Alibaba Cloud Native
Alibaba Cloud Native
Nov 9, 2023 · Cloud Native

What’s New in Nacos 2.3.0? Key Plugins, Validation, and Future Roadmap

The Nacos 2.3.0 beta release introduces anti‑fragile, configuration‑change, and unified parameter‑validation plugins, adds ability negotiation, lists numerous feature enhancements and bug fixes, and outlines the roadmap toward Nacos 3.0 while highlighting community achievements in the 2023 Open‑Source Summer program.

Ability NegotiationNacosparameter validation
0 likes · 14 min read
What’s New in Nacos 2.3.0? Key Plugins, Validation, and Future Roadmap
Open Source Tech Hub
Open Source Tech Hub
Oct 29, 2023 · Cloud Native

How to Implement Nacos Service Registration & Discovery with Webman in PHP

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.

NacosPHPWebman
0 likes · 11 min read
How to Implement Nacos Service Registration & Discovery with Webman in PHP
Java Architecture Diary
Java Architecture Diary
Oct 23, 2023 · Cloud Native

What’s New in the Latest Nacos Pre‑Release: Features, Enhancements, and Bug Fixes

The pre‑release version introduces major enhancements such as configuration‑change hook plugins, revamped data source plugins, server‑client capability negotiation, extensive UI improvements, numerous bug fixes, and updated dependencies, providing a more robust, secure, and flexible cloud‑native service discovery platform.

Nacosrelease-notes
0 likes · 8 min read
What’s New in the Latest Nacos Pre‑Release: Features, Enhancements, and Bug Fixes
Sanyou's Java Diary
Sanyou's Java Diary
Oct 16, 2023 · Backend Development

Unveiling the Core Mechanics of Spring Cloud Config Center

This article dissects how Spring Cloud Config Center integrates with Spring Boot, detailing the startup phases, the prepareEnvironment logic, the bootstrap container that fetches remote configurations, and the @RefreshScope mechanism that enables dynamic property refreshes.

BootstrapConfig CenterNacos
0 likes · 15 min read
Unveiling the Core Mechanics of Spring Cloud Config Center
MaGe Linux Operations
MaGe Linux Operations
Oct 8, 2023 · Cloud Native

How Nacos Powers Service Registration and Dynamic Discovery in Spring Cloud

This article explains Nacos's architecture, the principles of service registration, how Spring Cloud integrates Nacos for automatic registration, the implementation details of NacosServiceRegistry including heartbeat mechanisms, and the dynamic service address discovery process using both Open API and SDK.

Dynamic DiscoveryNacosservice registry
0 likes · 8 min read
How Nacos Powers Service Registration and Dynamic Discovery in Spring Cloud
Architecture Digest
Architecture Digest
Oct 8, 2023 · Cloud Native

Nacos Architecture and Service Registration Mechanism in Spring Cloud

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.

Consistent ProtocolHeartbeatNacos
0 likes · 7 min read
Nacos Architecture and Service Registration Mechanism in Spring Cloud
Practical DevOps Architecture
Practical DevOps Architecture
Sep 14, 2023 · Cloud Native

Spring Cloud Alibaba Comprehensive Learning Path – Video, Documentation, and Code Examples

This article presents a detailed Spring Cloud Alibaba curriculum covering microservice architecture, service registration with Nacos, rate limiting with Sentinel, distributed transaction solutions, and practical hands‑on labs, providing video tutorials, documentation, and complete code samples for developers.

NacosSentineldistributed systems
0 likes · 10 min read
Spring Cloud Alibaba Comprehensive Learning Path – Video, Documentation, and Code Examples
Sanyou's Java Diary
Sanyou's Java Diary
Sep 4, 2023 · Backend Development

Inside Nacos Dynamic Service Discovery: Architecture, Protocols, and Code

This article explains the fundamentals of Nacos dynamic service discovery, covering its purpose, communication protocols, registration, heartbeat, subscription, push mechanisms, and client querying, and includes detailed code examples and diagrams to illustrate the internal processes and performance improvements.

Nacosdynamic registrationgRPC
0 likes · 17 min read
Inside Nacos Dynamic Service Discovery: Architecture, Protocols, and Code
Alibaba Cloud Native
Alibaba Cloud Native
Aug 10, 2023 · Cloud Native

Connect Dubbo and Spring Cloud: Step‑by‑Step Mixed Deployment Guide

This article demonstrates how to achieve low‑cost, code‑minimal integration between Apache Dubbo and Spring Cloud, enabling mixed deployment and migration scenarios by leveraging Dubbo’s built‑in REST support, multi‑protocol publishing, and Nacos registration, with complete sample code and configuration details.

JavaNacosREST
0 likes · 11 min read
Connect Dubbo and Spring Cloud: Step‑by‑Step Mixed Deployment Guide
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2023 · Cloud Native

Graceful Service Deployment with Nacos Registry in Spring Boot

This article explains how to achieve graceful service publishing using Nacos as a registration center in a Spring Boot microservice architecture, covering environment setup, provider startup and shutdown, client-side load‑balancing with Ribbon, and configuration tweaks for both online and offline scenarios.

FeignGraceful DeploymentNacos
0 likes · 16 min read
Graceful Service Deployment with Nacos Registry in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 20, 2023 · Cloud Native

Choosing and Implementing Service Registry Centers: Zookeeper, Eureka, Nacos, Consul, and Kubernetes

This article examines the role of service registry centers in microservice architectures, compares Zookeeper, Eureka, Nacos, Consul, and Kubernetes, discusses load‑balancing strategies, and provides guidance on selecting the most suitable registry solution based on availability, consistency, and ecosystem fit.

ConsulEurekaKubernetes
0 likes · 24 min read
Choosing and Implementing Service Registry Centers: Zookeeper, Eureka, Nacos, Consul, and Kubernetes
Top Architect
Top Architect
Jun 1, 2023 · Cloud Native

Nacos Cluster Deployment Guide and Raft Leader Election Mechanism

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.

ClusterDockerNacos
0 likes · 13 min read
Nacos Cluster Deployment Guide and Raft Leader Election Mechanism
Top Architect
Top Architect
May 31, 2023 · Cloud Native

Step-by-Step Guide to Deploying a Nacos Cluster on Linux and Understanding Its Raft Leader Election

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.

Cluster DeploymentLinuxNacos
0 likes · 15 min read
Step-by-Step Guide to Deploying a Nacos Cluster on Linux and Understanding Its Raft Leader Election
Java Architecture Diary
Java Architecture Diary
May 29, 2023 · Databases

How to Add a Shentong Database Plugin to Nacos 2.2+

This guide explains how to create and configure a custom Shentong datasource plugin for Nacos 2.2+, covering dependency addition, script conversion, connection settings, and platform specification to enable Shentong as a supported database.

Datasource PluginNacosSPI
0 likes · 4 min read
How to Add a Shentong Database Plugin to Nacos 2.2+
Architecture Digest
Architecture Digest
May 17, 2023 · Backend Development

Step-by-Step Guide to Setting Up Nacos and Seata for Distributed Transactions in Spring Cloud Alibaba

This tutorial walks through the complete environment setup, including rapid installation of Nacos with MySQL mode, configuring Seata 1.5.0 for distributed transactions, creating the required MySQL tables, building micro‑services with Spring Boot, defining Feign clients, enabling global transactions, testing the workflow, and noting important version compatibility issues.

MySQLNacosSeata
0 likes · 15 min read
Step-by-Step Guide to Setting Up Nacos and Seata for Distributed Transactions in Spring Cloud Alibaba
Java Architecture Diary
Java Architecture Diary
Apr 26, 2023 · Databases

How to Build a Custom Kingbase Datasource Plugin for Nacos 2.2+

This guide explains how to create and configure a custom Kingbase (Kingbase8) datasource plugin for Nacos 2.2+, covering Maven dependency setup, database script adjustments, connection properties, and platform specification to enable Kingbase persistence in Nacos.

ConfigurationDatasource PluginKingbase
0 likes · 3 min read
How to Build a Custom Kingbase Datasource Plugin for Nacos 2.2+
Code Ape Tech Column
Code Ape Tech Column
Apr 26, 2023 · Backend Development

Comprehensive Guide to Alibaba Sentinel: Installation, Dashboard, Flow Control, Degrade Rules, Hotspot Parameters, Persistence, Cluster Flow Control, and Integration with Spring Cloud

This article provides an in‑depth tutorial on Alibaba Sentinel, covering its core concepts, installation of the dashboard, version selection, flow‑control configuration, degrade rules, hotspot parameter limiting, system adaptive protection, custom block handlers, blacklist/whitelist settings, rule persistence with Nacos, push‑mode synchronization, and cluster flow‑control setup for microservice applications.

JavaNacosSentinel
0 likes · 38 min read
Comprehensive Guide to Alibaba Sentinel: Installation, Dashboard, Flow Control, Degrade Rules, Hotspot Parameters, Persistence, Cluster Flow Control, and Integration with Spring Cloud
Code Ape Tech Column
Code Ape Tech Column
Mar 8, 2023 · Cloud Native

Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions

This article explains why an API gateway is essential in micro‑service architectures, introduces Spring Cloud Gateway’s core features, walks through project setup, routing predicates, filters, integration with Nacos for service discovery and dynamic routing, and demonstrates custom global error handling.

API GatewayCustom FiltersNacos
0 likes · 25 min read
Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions
DeWu Technology
DeWu Technology
Jan 16, 2023 · Cloud Native

Nacos Service Registration and Discovery: Principles and Implementation

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.

JavaNacosSpring Boot
0 likes · 55 min read
Nacos Service Registration and Discovery: Principles and Implementation
Java Architecture Diary
Java Architecture Diary
Jan 16, 2023 · Backend Development

How to Compile and Run Nacos Console in Standalone Mode

This guide walks you through cloning the Nacos repository, compiling it with Maven (including special handling for Mac M‑series chips), explains the role of Protocol Buffers, and shows how to configure and run the Nacos console in standalone mode.

CompilationJavaNacos
0 likes · 2 min read
How to Compile and Run Nacos Console in Standalone Mode
Architecture Digest
Architecture Digest
Jan 15, 2023 · Backend Development

Debugging High CPU Usage in Nacos Config Client and Understanding Raft Network Partition

The article details a sudden CPU spike in a Java backend service using Nacos, walks through diagnosing the offending thread with top and jstack, analyzes Nacos client thread creation and scheduled gray‑config tasks, explains Raft network partition handling, and presents a fix that checks config health and avoids unnecessary thread creation.

CPUDebuggingJava
0 likes · 8 min read
Debugging High CPU Usage in Nacos Config Client and Understanding Raft Network Partition
Code Ape Tech Column
Code Ape Tech Column
Dec 30, 2022 · Backend Development

Implementing a Dynamic Thread Pool with Nacos in Spring Boot

This article demonstrates how to create a dynamically configurable thread pool in a Spring Boot backend by leveraging Nacos as a configuration center, covering dependency setup, YAML configuration, Java implementation with @RefreshScope, runtime parameter updates, and a simple controller for testing.

Dynamic ConfigurationNacosSpring Boot
0 likes · 9 min read
Implementing a Dynamic Thread Pool with Nacos in Spring Boot
Java Architecture Diary
Java Architecture Diary
Dec 28, 2022 · Backend Development

How to Add a Custom DM8 Database Plugin to Nacos 2.2

Starting with Nacos 2.2.0, this guide shows how to create a custom DM8 database plugin via the SPI mechanism, add Maven dependencies, import the required scripts, configure connection settings and set the platform property, enabling Nacos to persist data in a DM8 database.

DM8DatabaseNacos
0 likes · 3 min read
How to Add a Custom DM8 Database Plugin to Nacos 2.2
Java Architecture Diary
Java Architecture Diary
Dec 27, 2022 · Backend Development

How to Build a Custom Oracle Plugin for Nacos 2.2 Using SPI

This guide explains how to create a custom Oracle datasource plugin for Nacos 2.2 by adding Maven dependencies, importing the Oracle SQL script, configuring connection properties, and setting the datasource platform, enabling Nacos to use Oracle instead of the default MySQL or Derby.

Datasource PluginNacosOracle
0 likes · 3 min read
How to Build a Custom Oracle Plugin for Nacos 2.2 Using SPI
macrozheng
macrozheng
Dec 21, 2022 · Cloud Native

What’s New in Nacos 2.2.0? Explore the Latest Features and Plugins

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.

Nacoscloud-nativeplugins
0 likes · 9 min read
What’s New in Nacos 2.2.0? Explore the Latest Features and Plugins
Architecture Digest
Architecture Digest
Dec 20, 2022 · Cloud Native

Nacos 2.2.0 GA Release: New Plugins, Refactoring, and Bug Fixes

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.

Nacosbackendcloud-native
0 likes · 6 min read
Nacos 2.2.0 GA Release: New Plugins, Refactoring, and Bug Fixes
Java Architecture Diary
Java Architecture Diary
Dec 19, 2022 · Backend Development

How to Add a Custom PostgreSQL Plugin to Nacos 2.2+ via SPI

Starting with Nacos 2.2.0, you can inject multiple data source plugins via the SPI mechanism; this guide walks through adding a PostgreSQL plugin, importing the required Maven dependencies, loading the database script, configuring connection details, and setting the datasource platform in application.properties.

DataSourceNacosPlugin
0 likes · 3 min read
How to Add a Custom PostgreSQL Plugin to Nacos 2.2+ via SPI
Code Ape Tech Column
Code Ape Tech Column
Dec 15, 2022 · Backend Development

Nacos 2.2.0 Release Highlights: New Plugins, Refactoring, and Bug Fixes

The Nacos 2.2.0 release introduces major changes including removal of redundant 1.x code, new rate‑limiting, custom environment, and datasource plugins, enhanced batch registration, v2 OpenAPI, LDAP authentication, extensive refactoring, numerous bug fixes, and updated UI dependencies.

Nacosbackendconfiguration management
0 likes · 5 min read
Nacos 2.2.0 Release Highlights: New Plugins, Refactoring, and Bug Fixes
Selected Java Interview Questions
Selected Java Interview Questions
Dec 9, 2022 · Backend Development

Design and Implementation of BetterGateway for Centralized Error‑Code Management in Distributed Systems

This article describes the background, design, configuration, code implementation, and testing of BetterGateway—a Spring Cloud Alibaba‑based gateway that centralizes error‑code management using Nacos and dynamic refresh to enable fast, accurate exception tracing across micro‑services and third‑party interfaces.

Nacosdistributed systemserror-handling
0 likes · 15 min read
Design and Implementation of BetterGateway for Centralized Error‑Code Management in Distributed Systems
Alibaba Cloud Native
Alibaba Cloud Native
Nov 27, 2022 · Cloud Native

How HeLian Health Scaled Its Low‑Fault Medical Platform with Cloud‑Native Microservices

HeLian Health’s journey from a fast‑iteration monolith to a stable, cloud‑native microservice architecture illustrates how modular design, Dubbo‑Nacos integration, Kubernetes, and Alibaba Cloud MSE can overcome low‑fault tolerance challenges in the medical check‑up domain while boosting release efficiency and reducing operational costs.

KubernetesMSENacos
0 likes · 10 min read
How HeLian Health Scaled Its Low‑Fault Medical Platform with Cloud‑Native Microservices
Code Ape Tech Column
Code Ape Tech Column
Nov 14, 2022 · Information Security

Nacos Permission Bypass Vulnerability and Its Fix

This article explains a permission‑bypass vulnerability in Nacos 1.4.2 caused by a specific User‑Agent header, demonstrates how to reproduce it, and provides step‑by‑step instructions for fixing the issue by upgrading to version 2.1.1 or adjusting configuration files.

NacosPermission BypassVulnerability
0 likes · 6 min read
Nacos Permission Bypass Vulnerability and Its Fix
Sanyou's Java Diary
Sanyou's Java Diary
Oct 31, 2022 · Backend Development

Mastering the Spring Cloud Alibaba Microservice Ecosystem: From Nacos to XXL‑JOB

This article provides a comprehensive guide to building a microservice ecosystem with Spring Cloud Alibaba, covering essential modules such as service registration, load balancing, configuration, messaging, gateway, fault tolerance, distributed transactions, tracing, and task scheduling, and showing how to integrate them with practical code examples.

NacosSpring Bootdistributed systems
0 likes · 26 min read
Mastering the Spring Cloud Alibaba Microservice Ecosystem: From Nacos to XXL‑JOB
Top Architect
Top Architect
Oct 10, 2022 · Backend Development

Integrating Dubbo with Nacos in Spring Boot: A Step‑by‑Step Example

This article provides a practical step‑by‑step guide to integrating Dubbo with Nacos in a Spring Boot project, covering environment setup, Maven configuration, module creation for public API, provider and consumer services, and testing the RPC call, while highlighting version compatibility and common pitfalls.

MavenNacosRPC
0 likes · 18 min read
Integrating Dubbo with Nacos in Spring Boot: A Step‑by‑Step Example
ITPUB
ITPUB
Oct 9, 2022 · Cloud Native

Service Governance in Microservices: Registration, Load Balancing, Rate Limiting

This article explains how to achieve comprehensive service governance in a microservice architecture using SpringCloud Alibaba's Nacos and Dubbo, covering service registration and discovery, load balancing, rate limiting and circuit breaking with Sentinel, configuration management, and monitoring with Prometheus and SkyWalking.

DubboNacosPrometheus
0 likes · 7 min read
Service Governance in Microservices: Registration, Load Balancing, Rate Limiting
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2022 · Cloud Native

Implementing a Spring Cloud Gateway with Nacos for Dynamic Service Discovery and Load Balancing

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.

Dynamic ConfigurationNacosload balancing
0 likes · 16 min read
Implementing a Spring Cloud Gateway with Nacos for Dynamic Service Discovery and Load Balancing
Java High-Performance Architecture
Java High-Performance Architecture
Oct 8, 2022 · Backend Development

How to Quickly Integrate Dubbo with Nacos in Spring Boot: A Step‑by‑Step Guide

This tutorial walks through building a simple Dubbo‑Nacos integration using Spring Boot, covering environment setup, Maven project structure, dependency management, service interface definition, provider and consumer modules, configuration files, and a test call, enabling rapid development of high‑performance Java microservices.

DubboJavaMaven
0 likes · 21 min read
How to Quickly Integrate Dubbo with Nacos in Spring Boot: A Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 20, 2022 · Backend Development

Comprehensive Guide to Building an OAuth2 Authentication Server with Spring Boot, MySQL, Nacos, and Gateway Integration

This tutorial walks through designing an OAuth2 authentication architecture, configuring Spring Boot services, setting up MySQL schemas, integrating Nacos discovery, implementing security with JWT tokens, and connecting microservices through a Spring Cloud Gateway, while demonstrating all four OAuth2 grant types with code examples.

NacosOAuth2Spring Boot
0 likes · 26 min read
Comprehensive Guide to Building an OAuth2 Authentication Server with Spring Boot, MySQL, Nacos, and Gateway Integration
IT Xianyu
IT Xianyu
Sep 6, 2022 · Backend Development

Dynamic Flow Orchestration with Nacos, Docker, and SpringBoot Microservices

This article demonstrates how to build a lightweight, plug‑and‑play flow‑orchestration system for microservices by installing Nacos with Docker, configuring SpringBoot services with Kafka and Nacos, and using dynamic Nacos listeners to adjust Kafka topics at runtime without redeployment.

DockerFlow OrchestrationJava
0 likes · 9 min read
Dynamic Flow Orchestration with Nacos, Docker, and SpringBoot Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Aug 20, 2022 · Backend Development

Using Nacos as a Configuration Center in Spring Boot Applications

This article explains why a configuration center is essential for microservices, introduces Nacos as a centralized solution, and provides step‑by‑step instructions with code examples for integrating Nacos into Spring Boot, managing Data IDs, namespaces, groups, and dynamic configuration refresh.

Configuration CenterNacosSpring Boot
0 likes · 14 min read
Using Nacos as a Configuration Center in Spring Boot Applications
Top Architect
Top Architect
Aug 16, 2022 · Backend Development

Spring Cloud Gateway: Service Gateway Basics, Deployment, Routing, Filters, Nacos Integration, Apollo Dynamic Configuration, and Global Exception Handling

This comprehensive guide explains why a service gateway is needed in microservice architectures, details Spring Cloud Gateway's core concepts, deployment steps, route and predicate configurations, local and global filters, integration with Nacos for service discovery, dynamic routing via Apollo, and custom global exception handling, providing code examples throughout.

ApolloJavaNacos
0 likes · 24 min read
Spring Cloud Gateway: Service Gateway Basics, Deployment, Routing, Filters, Nacos Integration, Apollo Dynamic Configuration, and Global Exception Handling
IT Architects Alliance
IT Architects Alliance
Aug 15, 2022 · Cloud Native

How Nacos Powers Service Registration and Dynamic Discovery in Spring Cloud

This article explains Nacos's architecture, the principles of service registration, how Spring Cloud integrates Nacos via auto‑configuration, the implementation of NacosServiceRegistry, heartbeat mechanisms, registration workflows, provider address queries, and the dynamic service address perception using subscription and HostReactor.

Nacoscloud-nativemicroservices
0 likes · 9 min read
How Nacos Powers Service Registration and Dynamic Discovery in Spring Cloud
Top Architect
Top Architect
Aug 15, 2022 · Cloud Native

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains Nacos's core components, the principles of service registration and health checking, how Spring Cloud integrates Nacos via ServiceRegistry and AutoServiceRegistration, the implementation details of NacosServiceRegistry, heartbeat mechanisms, and dynamic service address discovery using HostReactor.

HeartbeatNacosRegistration
0 likes · 9 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
macrozheng
macrozheng
Aug 2, 2022 · Cloud Native

Master Spring Cloud LoadBalancer: From RestTemplate to OpenFeign

This tutorial walks through replacing Ribbon with Spring Cloud LoadBalancer, showing how to configure dependencies, set up RestTemplate and OpenFeign clients, customize caching and request transformation, and verify load‑balanced calls using Nacos as the service registry.

LoadBalancerNacosOpenFeign
0 likes · 10 min read
Master Spring Cloud LoadBalancer: From RestTemplate to OpenFeign
Top Architect
Top Architect
Jul 29, 2022 · Cloud Native

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains the Nacos architecture, its components, and how Spring Cloud integrates with Nacos for service registration, health checking, and dynamic service discovery, detailing the underlying mechanisms, code implementations, and the role of heartbeats in maintaining service health.

HeartbeatNacosRegistration
0 likes · 8 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
Java High-Performance Architecture
Java High-Performance Architecture
Jul 19, 2022 · Backend Development

Build a Dynamic Microservice Flow Orchestrator with Nacos, Kafka, and SpringBoot

This article explains how to create a lightweight, plug‑in‑style microservice flow orchestration system using Docker‑installed Nacos for configuration, three SpringBoot services with Kafka integration, and dynamic topic management to enable hot‑swapable data pipelines without heavy frameworks.

Dynamic ConfigurationFlow OrchestrationKafka
0 likes · 10 min read
Build a Dynamic Microservice Flow Orchestrator with Nacos, Kafka, and SpringBoot
Wukong Talks Architecture
Wukong Talks Architecture
Jul 15, 2022 · Backend Development

Understanding Nacos Configuration Center: Pull Model, Long Polling, and Source Code Analysis

This article explains how Nacos configuration center works, clarifies that it uses a client‑initiated pull (long‑polling) model rather than push, and walks through key client and server source code components—including cacheMap, listeners, long‑polling handling, and configuration change notification – to help developers and interviewees master its internals.

Configuration CenterJavaNacos
0 likes · 17 min read
Understanding Nacos Configuration Center: Pull Model, Long Polling, and Source Code Analysis
Code Ape Tech Column
Code Ape Tech Column
Jul 14, 2022 · Cloud Native

Understanding Nacos Long‑Polling Mechanism in Spring Cloud Alibaba

This article explains the internal long‑polling mechanism of Nacos configuration center used in Spring Cloud Alibaba, covering client‑side initialization, thread‑pool scheduling, request handling, server‑side processing, event listening, and code snippets that illustrate how configuration changes are detected and propagated.

Config ServiceJavaNacos
0 likes · 13 min read
Understanding Nacos Long‑Polling Mechanism in Spring Cloud Alibaba
Code Ape Tech Column
Code Ape Tech Column
Jul 8, 2022 · Backend Development

Deep Dive into Nacos Service Registration and Discovery Mechanisms

This article provides a detailed analysis of Nacos as a service registry, covering its architecture, registration and discovery processes, health‑checking, Raft‑based consistency, Spring Cloud integration, and practical code examples for developers building micro‑service systems.

JavaNacosRaft
0 likes · 19 min read
Deep Dive into Nacos Service Registration and Discovery Mechanisms
Architect
Architect
Jun 30, 2022 · Backend Development

Dynamic Flow Orchestration with Nacos, Kafka, and SpringBoot

This article demonstrates how to build a lightweight, plug‑and‑play microservice flow orchestration solution using Docker‑deployed Nacos for configuration, Kafka for streaming, and SpringBoot services, covering environment setup, service configuration, dynamic topic handling, and runtime configuration change listening.

Flow OrchestrationNacosSpringBoot
0 likes · 10 min read
Dynamic Flow Orchestration with Nacos, Kafka, and SpringBoot
Top Architect
Top Architect
Jun 19, 2022 · Backend Development

Implementing Simple Flow Orchestration with Nacos, Docker, and Spring Boot

This article demonstrates how to build a lightweight micro‑service flow‑orchestration solution using Docker‑deployed Nacos for dynamic configuration, Spring Boot services with Kafka integration, and code examples that show installing Nacos, setting up three services, and handling runtime topic changes via Nacos listeners.

Flow OrchestrationNacosSpringBoot
0 likes · 11 min read
Implementing Simple Flow Orchestration with Nacos, Docker, and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 15, 2022 · Cloud Native

Migrating Service Registry from Eureka to Nacos with Dual Registration and Subscription in Spring Cloud Alibaba

This article demonstrates how to migrate a Spring Cloud microservice architecture from Eureka to Nacos using a dual‑registration/dual‑subscription model, covering configuration changes, code adjustments, graceful shutdown, load‑balancing behavior, and step‑by‑step deployment procedures.

Nacosgraceful shutdownmicroservices
0 likes · 11 min read
Migrating Service Registry from Eureka to Nacos with Dual Registration and Subscription in Spring Cloud Alibaba
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 13, 2022 · Cloud Native

Custom Nacos PropertySourceLocator in Spring Cloud Alibaba for Dynamic Config

This article explains how to implement a custom PropertySourceLocator in Spring Cloud Alibaba, detailing the necessary spring.factories configuration, core classes like NacosConfigBootstrapConfiguration and NacosPropertySourceLocator, and the process of obtaining ConfigService, loading shared, extended, and application configurations from Nacos.

ConfigurationJavaNacos
0 likes · 10 min read
Custom Nacos PropertySourceLocator in Spring Cloud Alibaba for Dynamic Config
IT Architects Alliance
IT Architects Alliance
Jun 9, 2022 · Operations

Apollo vs Nacos: Which Config Center Is Safer and Simpler?

This article compares Alibaba's Nacos and Ctrip's Apollo config centers, examining their security models, architectural complexity, and practical deployment differences to determine which solution offers better safety and simplicity for various system sizes.

ApolloComparisonConfiguration Center
0 likes · 6 min read
Apollo vs Nacos: Which Config Center Is Safer and Simpler?
IT Architects Alliance
IT Architects Alliance
May 21, 2022 · Backend Development

Service Registration Center Overview, CAP Theory, and Comparison of Major Solutions

This article explains how service registration centers decouple providers and consumers in microservice architectures, discusses the CAP theorem trade‑offs, categorizes registration approaches, and compares popular solutions such as Eureka, Consul, Nacos, CoreDNS, and ZooKeeper across key features and integration aspects.

CAP theoremConsulEureka
0 likes · 11 min read
Service Registration Center Overview, CAP Theory, and Comparison of Major Solutions