Tagged articles

Nacos

446 articles · Page 2 of 5
Tech Freedom Circle
Tech Freedom Circle
Sep 18, 2025 · Backend Development

Master Spring Cloud Internals (Nacos, Sentinel, Load Balancing) to Ace Interviews and Land Offers

This article provides a systematic deep‑dive into Spring Cloud’s load‑balancing layers, Sentinel’s flow‑control mechanisms, Nacos’s AP/CP dual model, configuration‑file priority rules, and service‑offline handling, offering concrete examples and best‑practice recommendations for interview preparation.

Circuit BreakingMicroservicesNacos
0 likes · 34 min read
Master Spring Cloud Internals (Nacos, Sentinel, Load Balancing) to Ace Interviews and Land Offers
IT Services Circle
IT Services Circle
Sep 10, 2025 · Backend Development

Why Does Spring Cloud Gateway Return 404 After Nacos Config Changes?

After a year‑long mystery, we discovered that Spring Cloud Gateway 3.x caches stale weight data from Nacos, causing 404 errors when routes are removed, and we detail the debugging steps, root‑cause analysis, and a custom solution that synchronizes the weight cache on configuration changes.

JavaNacosSpring Cloud Gateway
0 likes · 11 min read
Why Does Spring Cloud Gateway Return 404 After Nacos Config Changes?
Programmer XiaoFu
Programmer XiaoFu
Sep 8, 2025 · Backend Development

Why My Spring Cloud Gateway Returns 404 After Nacos Config Changes – A Year-Long Debugging Tale

The article walks through a year‑long investigation of a 404 error that appears after updating Nacos dynamic routing in Spring Cloud Gateway 3.0.1, explains how stale weight caches cause the failure, and presents a custom event‑listener solution that synchronizes the gateway's weight cache with the latest Nacos configuration.

404JavaNacos
0 likes · 12 min read
Why My Spring Cloud Gateway Returns 404 After Nacos Config Changes – A Year-Long Debugging Tale
Alibaba Cloud Observability
Alibaba Cloud Observability
Aug 25, 2025 · Artificial Intelligence

From Code to AI Native Apps: The Evolution of Programming Paradigms

This article explores how programming paradigms have shifted from traditional languages to AI‑driven development, detailing AI Agent concepts, workflow versus agentic modes, single versus multi‑agent strategies, prompt versus context engineering, the reference architecture with Spring AI Alibaba, Nacos, Higress and RocketMQ, and the observability solutions built on OpenTelemetry and LoongSuite.

AIAI AgentsNacos
0 likes · 20 min read
From Code to AI Native Apps: The Evolution of Programming Paradigms
Tech Freedom Circle
Tech Freedom Circle
Aug 24, 2025 · Operations

How a Misconfigured Nacos Cluster Cost $170 Million: A Deep P0 Incident Postmortem

A leading financial platform suffered a six‑hour outage and $170 million loss when its Nacos service‑registry cluster entered a split‑brain state due to network partition, exposing flaws in AP‑mode deployment, monitoring gaps, and cascading failures that were later resolved through Raft migration, multi‑active architecture, and client‑side resilience.

MicroservicesNacosOperations
0 likes · 32 min read
How a Misconfigured Nacos Cluster Cost $170 Million: A Deep P0 Incident Postmortem
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 14, 2025 · Backend Development

How to Build a Strictly Incremental Distributed ID System with Redis, MySQL, and Nacos

This article examines the limitations of traditional database‑based ID generation, compares common distributed ID solutions such as UUID, Snowflake, Baidu uid‑generator and Meituan Leaf, and presents a custom strictly incremental ID scheme that combines database segment allocation, Redis caching, and Nacos‑controlled mode switching.

MySQLNacosRedis
0 likes · 11 min read
How to Build a Strictly Incremental Distributed ID System with Redis, MySQL, and Nacos
Programmer1970
Programmer1970
Jul 17, 2025 · Cloud Native

Nacos in Spring Cloud: Split‑Brain, Timeout, and Performance Deep Dive

This article analyzes three critical issues when using Nacos as a service registry in Spring Cloud—network partition (split‑brain), registration timeout, and high‑concurrency performance bottlenecks—explaining their root causes, code‑level mechanisms, and practical mitigation strategies, and concludes with a feature‑by‑feature comparison of Nacos, Eureka, and Zookeeper.

CAP theoremNacosSpring Cloud
0 likes · 9 min read
Nacos in Spring Cloud: Split‑Brain, Timeout, and Performance Deep Dive
Open Source Tech Hub
Open Source Tech Hub
Jul 14, 2025 · Backend Development

Resolving Nacos Registration Errors with the webman-nacos PHP Plugin

This article examines why the webman-nacos plugin fails to register services on a new server, analyzes log clues, walks through version upgrades, network mode tweaks, and configuration changes, and finally presents a reliable fix for the Raft‑related registration exception.

Nacosservice discovery
0 likes · 5 min read
Resolving Nacos Registration Errors with the webman-nacos PHP Plugin
Tech Freedom Circle
Tech Freedom Circle
Jul 12, 2025 · Cloud Native

Service Discovery Interview: Should You Choose CP or AP? Why?

The article explains why service discovery is essential in cloud‑native microservices, reviews the CAP theorem, compares CP and AP architectures, analyzes ZooKeeper, Eureka, and Nacos implementations, highlights their trade‑offs, and concludes that AP is usually preferred for availability in service discovery scenarios.

AP vs CPCAP theoremEureka
0 likes · 15 min read
Service Discovery Interview: Should You Choose CP or AP? Why?
Alibaba Middleware
Alibaba Middleware
Jul 10, 2025 · Cloud Native

A Comprehensive Look at Nacos 3.0 Architecture and Its Evolution for AI‑Era Service Registries

The article compares Nacos 2.0 and 3.0 architectures, highlights a ten‑fold performance boost via gRPC, discusses scalability and security challenges, introduces the AI Registry’s model‑tool‑application layers, explains the MCP Registry and Router, and outlines the roadmap toward a zero‑trust, AI‑native cloud‑native platform.

AI RegistryCloud NativeMCP
0 likes · 14 min read
A Comprehensive Look at Nacos 3.0 Architecture and Its Evolution for AI‑Era Service Registries
Java Architect Essentials
Java Architect Essentials
Jul 6, 2025 · Backend Development

Mastering Spring Cloud Config: Who Wins the Priority Battle?

This article explains how Spring Cloud and Spring Cloud Alibaba determine configuration precedence among local files, Nacos remote settings, environment variables, system properties, and command‑line arguments, highlighting version‑specific rule changes, key override switches, and provides a comprehensive comparison table to help developers troubleshoot and ace interview questions.

BackendDevOpsNacos
0 likes · 10 min read
Mastering Spring Cloud Config: Who Wins the Priority Battle?
Linux Ops Smart Journey
Linux Ops Smart Journey
Jul 6, 2025 · Cloud Native

Automate Prometheus Service Discovery with Nacos: A Step‑by‑Step Guide

Learn how to replace static Prometheus target files with dynamic service discovery by integrating Alibaba’s open‑source Nacos registry, configuring a Go‑based adapter, adding HTTP‑SD configs to the Prometheus Operator, and validating the automated monitoring of large‑scale microservice deployments.

NacosPrometheusservice discovery
0 likes · 5 min read
Automate Prometheus Service Discovery with Nacos: A Step‑by‑Step Guide
Alibaba Cloud Native
Alibaba Cloud Native
Jul 5, 2025 · Cloud Native

Google Cloud 2025 Outage: Lessons Learned and Nacos Gray Release Solutions

A massive Google Cloud outage on June 12, 2025, caused by an untested Service Control feature triggered a null‑pointer exception that cascaded globally, and the article explains how configuration gray‑release techniques—especially Nacos IP and label canary deployments—can prevent similar disasters.

Cloud NativeGoogle CloudGray Release
0 likes · 13 min read
Google Cloud 2025 Outage: Lessons Learned and Nacos Gray Release Solutions
Java One
Java One
Jul 4, 2025 · Cloud Native

Building Microservices with Nacos: Registration, Discovery, Load Balancing & Config

This tutorial walks through setting up Nacos as a cloud‑native service registry and configuration center, covering installation modes, service registration, discovery, load‑balancing with Spring Cloud, dynamic configuration loading, namespace isolation, and best‑practice patterns for managing microservice environments.

Configuration CenterNacosSpring Cloud
0 likes · 23 min read
Building Microservices with Nacos: Registration, Discovery, Load Balancing & Config
Code Ape Tech Column
Code Ape Tech Column
Jul 4, 2025 · Backend Development

How Nacos Implements Long‑Polling for Config Synchronization

This article explains the inner workings of Nacos' configuration center, detailing the client‑side long‑polling mechanism, the server‑side handling of listener requests, and the key classes and code paths that enable real‑time config updates in microservice environments.

BackendConfiguration CenterJava
0 likes · 13 min read
How Nacos Implements Long‑Polling for Config Synchronization
Alibaba Cloud Native
Alibaba Cloud Native
Jun 24, 2025 · Cloud Native

How Nacos 3.0 Redefines Cloud‑Native Service Discovery for the AI Era

This article examines Nacos 3.0’s architectural evolution from Nacos 2.0, highlighting performance and extensibility upgrades, the new AI Registry with model, tool, and application layers, zero‑trust security enhancements, MCP Registry capabilities, and the roadmap toward a comprehensive AI‑native cloud‑native platform.

AI RegistryMCPNacos
0 likes · 14 min read
How Nacos 3.0 Redefines Cloud‑Native Service Discovery for the AI Era
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 23, 2025 · Information Security

Securely Rotate Database Credentials with MSE Nacos, KMS, and Apache Druid

This article explains how to protect and dynamically rotate database usernames and passwords in modern applications by integrating MSE Nacos, Alibaba Cloud KMS, and Apache Druid, reducing leakage risk, eliminating manual maintenance, and achieving near‑instant, zero‑downtime credential updates.

Apache DruidDatabase SecurityDynamic Credential Rotation
0 likes · 9 min read
Securely Rotate Database Credentials with MSE Nacos, KMS, and Apache Druid
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 23, 2025 · Cloud Native

Unlocking Nacos: Deep Dive into Its Architecture and Core Modules

This article provides a comprehensive overview of Nacos, detailing its role as a dynamic naming and configuration service, explaining its three-layer architecture, core modules, service registration and discovery mechanisms, configuration management features, and the underlying data persistence strategy for cloud‑native applications.

Cloud NativeMicroservicesNacos
0 likes · 5 min read
Unlocking Nacos: Deep Dive into Its Architecture and Core Modules
macrozheng
macrozheng
Jun 20, 2025 · Cloud Native

Unlock Nacos 3.0: New Architecture, Deployment Modes, and Embedded Integration

Version 3.0 of Nacos introduces a decoupled architecture with independent console deployment, multiple port configurations, three flexible deployment modes (merged, server, console), a modular bootstrap startup engine, and an embedded integration approach that simplifies microservice governance while enhancing security and performance.

BootstrapNacosSpring Boot
0 likes · 8 min read
Unlock Nacos 3.0: New Architecture, Deployment Modes, and Embedded Integration
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Jun 17, 2025 · Backend Development

How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources

This guide explains how to adapt a distributed micro‑service architecture to run all SpringBoot services inside one external Tomcat instance by changing packaging to WAR, configuring server.xml, setting memory options, adjusting virtual addresses, handling logs, and registering services with Nacos for low‑memory environments.

JavaNacosSpringBoot
0 likes · 17 min read
How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources
Java Captain
Java Captain
Jun 12, 2025 · Backend Development

How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications

Learn how to replace plain‑text passwords in Spring Cloud’s Nacos configuration with encrypted values by extending NacosConfigProperties, overriding its initialization, and registering a custom bootstrap auto‑configuration, ensuring your application complies with corporate security policies.

Backend DevelopmentJavaNacos
0 likes · 5 min read
How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications
Alibaba Cloud Native
Alibaba Cloud Native
Jun 8, 2025 · Cloud Native

How Nacos MCP Router Enables Seamless Multi‑Protocol Support and One‑Click Conversion

The new Nacos MCP Router release introduces full SSE and Streamable HTTP protocol support, Dockerized deployment, and a one‑click conversion feature that transforms Stdio or SSE MCP servers into Streamable HTTP, simplifying integration across heterogeneous systems, micro‑service architectures, AI assistants, and cloud‑native applications.

DockerMCPNacos
0 likes · 11 min read
How Nacos MCP Router Enables Seamless Multi‑Protocol Support and One‑Click Conversion
Alibaba Cloud Developer
Alibaba Cloud Developer
May 26, 2025 · Artificial Intelligence

Choosing the Right MCP Architecture for Enterprise AI: 5 Patterns and Nacos Integration

Amid the surge of AI large‑model usage, this guide examines the Model Context Protocol (MCP) and presents five common server architectures, evaluates their pros, cons, and suitable scenarios, and shows how Nacos can streamline enterprise‑level MCP deployment through service discovery, configuration, and governance.

AI model servingArchitectureMCP
0 likes · 15 min read
Choosing the Right MCP Architecture for Enterprise AI: 5 Patterns and Nacos Integration
Top Architect
Top Architect
May 26, 2025 · Backend Development

Implementing Gray (Canary) Release in Spring Cloud with Nacos and Custom Load Balancer

This article explains how to implement gray (canary) release in a Spring Cloud project using Nacos for service discovery, custom request headers, ThreadLocal gray flags, Spring Cloud Gateway filters, custom Ribbon load balancer rules, and provides full code snippets, configuration steps, and deployment instructions.

Gray ReleaseMicroservicesNacos
0 likes · 20 min read
Implementing Gray (Canary) Release in Spring Cloud with Nacos and Custom Load Balancer
Java Architecture Diary
Java Architecture Diary
May 16, 2025 · Backend Development

Nacos 3.0 Deep Dive: Decoupled Architecture & Flexible Deployments

This article examines Nacos 3.0’s major architectural overhaul—including console‑service decoupling, independent ports, three deployment modes, a new bootstrap startup engine, and step‑by‑step embedded integration—showcasing how the redesign boosts security, performance, and flexibility for microservice ecosystems.

ArchitectureBootstrapNacos
0 likes · 9 min read
Nacos 3.0 Deep Dive: Decoupled Architecture & Flexible Deployments
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 12, 2025 · Backend Development

How to Use SpringBoot, Dubbo, and Seata to Solve Distributed Transaction Data Inconsistency

This article walks through integrating SpringBoot, Dubbo, and Seata to implement reliable distributed transactions, covering project setup, Maven dependencies, service definitions, Nacos registration, configuration files, testing normal commits and rollbacks, and troubleshooting version incompatibilities.

Distributed TransactionsDubboJava
0 likes · 17 min read
How to Use SpringBoot, Dubbo, and Seata to Solve Distributed Transaction Data Inconsistency
Code Ape Tech Column
Code Ape Tech Column
May 6, 2025 · Cloud Native

Nacos 3.0 Release Highlights: JDK & Spring Boot Upgrade, Enhanced Admin API, Built‑in Authentication, AI MCP, Distributed Lock, Fuzzy Listening, and xDS Support

The article introduces Nacos 3.0’s major upgrades—including migration to JDK 17 and Spring Boot 3.4.1, new Admin APIs, default authentication, AI‑focused Model Content Protocol, distributed lock, fuzzy listening, and native xDS support—while also promoting an enterprise‑level backend engineering booklet priced at 11.9 CNY.

AICloud NativeNacos
0 likes · 7 min read
Nacos 3.0 Release Highlights: JDK & Spring Boot Upgrade, Enhanced Admin API, Built‑in Authentication, AI MCP, Distributed Lock, Fuzzy Listening, and xDS Support
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 6, 2025 · Backend Development

Persist Sentinel Rate‑Limiting Rules with Nacos to Prevent Loss After Restart

The article explains why Sentinel rate‑limiting rules disappear after a client restart, demonstrates how to store those rules permanently in Nacos by creating a JSON configuration, adding a Nacos data source to the Sentinel client, and modifying the Sentinel Dashboard source code to achieve bidirectional synchronization, followed by verification steps.

Backend DevelopmentNacosRule Persistence
0 likes · 14 min read
Persist Sentinel Rate‑Limiting Rules with Nacos to Prevent Loss After Restart
Top Architect
Top Architect
May 3, 2025 · Backend Development

Nacos 3.0 Release Highlights and Related AI‑Powered Community Offers

This article outlines the major technical upgrades in Nacos 3.0—including JDK 17, Spring Boot 3.4.1, enhanced Admin API, default authentication, MCP for AI models, unified namespaces, distributed‑lock beta, fuzzy listening, and xDS support—while also promoting a series of AI‑focused products, community groups, and paid resources for developers.

AIChatGPTCloud Native
0 likes · 9 min read
Nacos 3.0 Release Highlights and Related AI‑Powered Community Offers
Architect
Architect
May 1, 2025 · Cloud Native

What’s New in Nacos 3.0? A Deep Dive into Its Cloud‑Native Enhancements

This article summarizes the key changes from the Nacos 3.0 beta to the official release, covering JDK and Spring Boot upgrades, new Admin APIs, default authentication, AI Model Content Protocol, unified namespaces, beta distributed lock, fuzzy listening, and native xDS support for cloud‑native microservice architectures.

AI IntegrationCloud NativeMicroservices
0 likes · 7 min read
What’s New in Nacos 3.0? A Deep Dive into Its Cloud‑Native Enhancements
Architecture Digest
Architecture Digest
Apr 29, 2025 · Cloud Native

Key Changes and New Features in Nacos 3.0 Release

Version 3.0 of Nacos introduces major updates—including JDK 17 and Spring Boot 3.4.1 support, enhanced Admin and Console APIs, default authentication, AI‑focused Model Content Protocol, unified namespaces, beta distributed lock and fuzzy listening features, and native xDS protocol support—aimed at improving cloud‑native service discovery and configuration management.

Cloud NativeNacosservice discovery
0 likes · 6 min read
Key Changes and New Features in Nacos 3.0 Release
macrozheng
macrozheng
Apr 28, 2025 · Cloud Native

Discover Nacos 3.0: AI‑Driven MCP, Distributed Locks, and Native xDS Support

Version 3.0 of Nacos upgrades to JDK 17 and Spring Boot 3.4.1, introduces AI‑focused MCP, enhanced Admin API with default authentication, unified namespaces, beta distributed lock and fuzzy listening features, and native xDS protocol support, while highlighting related open‑source SpringBoot + Vue e‑commerce projects.

AICloud NativeMicroservices
0 likes · 7 min read
Discover Nacos 3.0: AI‑Driven MCP, Distributed Locks, and Native xDS Support
Java Architecture Diary
Java Architecture Diary
Apr 27, 2025 · Cloud Native

What’s New in Nacos 3.0? Key Features, AI Integration, and Cloud‑Native Enhancements

Nacos 3.0 introduces major upgrades—including JDK 17 and Spring Boot 3.4.1 support, a new Admin API, default authentication, AI‑focused MCP, unified namespaces, beta distributed lock and fuzzy listening features, plus native xDS protocol support—positioning it as a powerful cloud‑native service discovery and configuration platform.

AI IntegrationCloud NativeNacos
0 likes · 6 min read
What’s New in Nacos 3.0? Key Features, AI Integration, and Cloud‑Native Enhancements
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 21, 2025 · Cloud Native

Build a Clean Microservice Config Center with Nacos in One Step

This article walks through using Nacos as a centralized configuration center for Spring Cloud microservices, showing how to create configuration data, set up a Maven client, enable dynamic refresh with @RefreshScope, and manage multi‑environment and multi‑file configurations.

@RefreshScopeCloud NativeConfiguration Center
0 likes · 16 min read
Build a Clean Microservice Config Center with Nacos in One Step
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 16, 2025 · Cloud Native

Quick 3‑Minute Guide to the Full Spring Cloud Alibaba Suite

This article introduces Spring Cloud Alibaba, outlines its key components such as Nacos, Dubbo, Sentinel, RocketMQ and Seata, explains how to manage its versions with Maven, highlights compatibility checks, and compares the first‑ and second‑generation Spring Cloud stacks.

DubboMicroservicesNacos
0 likes · 8 min read
Quick 3‑Minute Guide to the Full Spring Cloud Alibaba Suite
Alibaba Middleware
Alibaba Middleware
Mar 31, 2025 · Artificial Intelligence

Zero‑Code Upgrade of Legacy APIs to MCP Protocol with Nacos MCP Registry

The article explains how Nacos, acting as an MCP Registry, can transform existing service APIs into MCP‑compatible interfaces without code changes, detailing the integration with Higress, the underlying tool/list exposure, protocol conversion, deployment steps, and a weather‑query demo that showcases the end‑to‑end workflow.

AICloud NativeHigress
0 likes · 17 min read
Zero‑Code Upgrade of Legacy APIs to MCP Protocol with Nacos MCP Registry
Code Ape Tech Column
Code Ape Tech Column
Mar 28, 2025 · Backend Development

Applying the Adapter Pattern for Multi‑Cloud OSS Storage in a Spring Microservice

This article demonstrates how to use the Adapter pattern to abstract multiple OSS providers such as MinIO and Aliyun in a Spring microservice, configure the concrete adapters via Nacos dynamic configuration, and expose a unified upload API through a service and controller layer, complete with deployment and testing steps.

Adapter PatternJavaMicroservices
0 likes · 10 min read
Applying the Adapter Pattern for Multi‑Cloud OSS Storage in a Spring Microservice
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 28, 2025 · Backend Development

Mastering Spring Cloud Alibaba Sidecar: Integrate Heterogeneous Microservices Seamlessly

This guide explains how to use Spring Cloud Alibaba Sidecar to integrate heterogeneous microservices, covering its principles, configuration, health‑check setup, and a complete hands‑on example with Spring Boot services, Sidecar registration, Nacos discovery, and RestTemplate calls, while guaranteeing permanent updates for subscribers.

NacosSpring BootSpring Cloud Alibaba
0 likes · 8 min read
Mastering Spring Cloud Alibaba Sidecar: Integrate Heterogeneous Microservices Seamlessly
Architect's Guide
Architect's Guide
Jan 9, 2025 · Backend Development

Investigation and Resolution of Random Nacos Service Deregistration in a Spring Cloud Alibaba Microservice Cluster

This article details a week‑long investigation of intermittent Nacos service deregistration in a Spring Cloud Alibaba microservice environment, describing the background architecture, multiple hypothesis tests, diagnostic commands, kernel version mismatch, and the final fix by upgrading the Linux kernel.

Backend DevelopmentLinux kernelMicroservices
0 likes · 7 min read
Investigation and Resolution of Random Nacos Service Deregistration in a Spring Cloud Alibaba Microservice Cluster
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 12, 2024 · Cloud Native

How to Use Nacos Custom Tag Gray Release for Precise Configuration Deployment

This article explains Nacos's custom tag gray release feature, covering its advantages over IP‑based gray releases, version requirements, tag configuration methods, publishing steps, multi‑tag and parallel gray versions, and priority rules to achieve flexible, safe configuration rollout in cloud‑native environments.

Cloud NativeGray ReleaseMicroservices
0 likes · 16 min read
How to Use Nacos Custom Tag Gray Release for Precise Configuration Deployment
Alibaba Middleware
Alibaba Middleware
Dec 12, 2024 · Cloud Native

What’s New in Nacos 3.0 Alpha? Security, API Overhaul, and Cloud‑Native Enhancements

The Nacos 3.0‑Alpha release introduces finer‑grained API classification, default security per API type, a revised default namespace handling, native xDS support, a redesigned Admin API with flexible console/engine deployment, experimental distributed‑lock capability, and plans to upgrade to Spring Boot 3 and JDK 17, all outlined in the community roadmap.

API SecurityCloud NativeNacos
0 likes · 14 min read
What’s New in Nacos 3.0 Alpha? Security, API Overhaul, and Cloud‑Native Enhancements
Alibaba Cloud Native
Alibaba Cloud Native
Dec 9, 2024 · Cloud Native

Master Dynamic Nacos Config in Spring Cloud: New @NacosConfig Annotations Explained

This article explains the limitations of using @Value and @ConfigurationProperties for Nacos dynamic configuration in Spring Cloud, introduces the new @NacosConfig, @NacosConfigListener, and @NacosConfigKeysListener annotations, provides detailed usage examples, version upgrade guidance, Maven dependencies, and essential configuration snippets.

ConfigurationNacosSpring Cloud
0 likes · 14 min read
Master Dynamic Nacos Config in Spring Cloud: New @NacosConfig Annotations Explained
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 9, 2024 · Backend Development

Dynamic Config Refresh & Secure Settings in Spring Cloud with Nacos & KMS

This article demonstrates how to integrate Nacos into a Spring Cloud application to achieve runtime configuration refresh, and how to employ Alibaba KMS for zero‑code encryption of sensitive properties, covering setup steps, code examples, underlying mechanisms, and best practices for secure, dynamic configuration management.

Backend DevelopmentConfiguration EncryptionKMS
0 likes · 20 min read
Dynamic Config Refresh & Secure Settings in Spring Cloud with Nacos & KMS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 30, 2024 · Backend Development

Understanding Nacos Service Registration and Discovery in Spring Cloud Microservices

This article explains the fundamentals and implementation of a Nacos service registry in a Spring Cloud microservice architecture, covering registration concepts, building a standalone Nacos server, creating provider and consumer services, and deep-diving into the underlying registration code and HTTP interactions.

DiscoveryJavaNacos
0 likes · 15 min read
Understanding Nacos Service Registration and Discovery in Spring Cloud Microservices
Su San Talks Tech
Su San Talks Tech
Nov 24, 2024 · Backend Development

Master Nacos: Simplify Service Registration, Discovery, and Dynamic Configuration in Spring Cloud

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.

NacosSpring Cloudconfiguration management
0 likes · 28 min read
Master Nacos: Simplify Service Registration, Discovery, and Dynamic Configuration in Spring Cloud
Code Ape Tech Column
Code Ape Tech Column
Nov 8, 2024 · Backend Development

Implementing a Dynamic Thread Pool with Nacos in Spring Boot

This article explains how to externalize and dynamically adjust a Spring Boot thread pool's core and maximum sizes using Nacos as a configuration center, allowing runtime changes without service restarts and demonstrating the setup, code, and testing procedures.

JavaNacosSpring Boot
0 likes · 9 min read
Implementing a Dynamic Thread Pool with Nacos in Spring Boot
Su San Talks Tech
Su San Talks Tech
Nov 5, 2024 · Backend Development

Mastering Sentinel: From Setup to Advanced Flow Control in Spring Cloud

This comprehensive guide walks you through installing Sentinel, configuring its dashboard, integrating it with Spring Cloud microservices, and mastering flow control, circuit breaking, hotspot parameter limiting, system adaptive protection, custom block handling, rule persistence with Nacos, and cluster-wide rate limiting.

Circuit BreakerJavaNacos
0 likes · 37 min read
Mastering Sentinel: From Setup to Advanced Flow Control in Spring Cloud
Top Architect
Top Architect
Oct 7, 2024 · Cloud Native

Understanding Nacos Configuration Center Long‑Polling Mechanism

This article explains how Nacos’s ConfigService initiates a long‑polling task on the client side, how the client periodically checks for configuration changes, and how the Nacos server processes long‑polling requests, detailing the relevant classes, methods, and code flow.

Cloud NativeConfiguration CenterJava
0 likes · 14 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism
Top Architect
Top Architect
Oct 4, 2024 · Backend Development

Implementing Gray Release in Spring Cloud with Nacos and Ribbon

This article explains the concept of gray (canary) release, details the core components and version configuration, and provides a complete Spring Cloud implementation—including custom request holders, gateway filters, Ribbon load‑balancer extensions, Feign interceptors, and deployment instructions—for smoothly rolling out new service versions.

Gray ReleaseJavaMicroservices
0 likes · 20 min read
Implementing Gray Release in Spring Cloud with Nacos and Ribbon
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 10, 2024 · Cloud Native

Understanding Nacos: Principles of Dynamic Service Discovery and Configuration Management

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.

Nacosconfiguration managementservice discovery
0 likes · 4 min read
Understanding Nacos: Principles of Dynamic Service Discovery and Configuration Management
Programmer XiaoFu
Programmer XiaoFu
Sep 9, 2024 · Backend Development

Mastering Alibaba Sentinel: Flow Control, Degradation, and Cluster Management Guide

This comprehensive tutorial walks through Alibaba Sentinel's core concepts, installation, dashboard setup, microservice integration, flow‑control configurations, degradation strategies, hotspot parameter limiting, system‑adaptive rules, custom block handlers, whitelist/blacklist policies, rule persistence with Nacos, and cluster flow control for resilient Java backend services.

Circuit BreakingFlow ControlJava
0 likes · 38 min read
Mastering Alibaba Sentinel: Flow Control, Degradation, and Cluster Management Guide
Su San Talks Tech
Su San Talks Tech
Sep 8, 2024 · Operations

Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, Etcd

This article provides a comprehensive overview of five popular service registries—Zookeeper, Eureka, Nacos, Consul, and Etcd—covering their core concepts, CAP trade‑offs, underlying protocols, implementation details, and practical guidance for selecting the most suitable registry for microservice architectures.

ConsulEurekaMicroservices
0 likes · 26 min read
Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, Etcd
Top Architect
Top Architect
Sep 4, 2024 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism

This article provides a detailed walkthrough of Nacos' configuration center long‑polling mechanism, covering both client‑side initialization, reflection‑based service creation, scheduled tasks, cache handling, and server‑side request processing, with code examples and architectural diagrams to illustrate each step.

JavaMicroservicesNacos
0 likes · 13 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism
Java Tech Enthusiast
Java Tech Enthusiast
Sep 4, 2024 · Information Security

Spring and Nacos Security Vulnerabilities and Mitigation Guide

Recent disclosures revealed critical Spring DoS flaws (CVE‑2024‑38809 and CVE‑2024‑38808) exploitable via oversized If‑Match/If‑None‑Match headers and malicious SpEL expressions, plus a Nacos 2.4.1 vulnerability allowing arbitrary file read/write through port 7848, mitigated by upgrading to the patched Spring and Nacos releases or restricting the vulnerable ports.

CVEJavaNacos
0 likes · 7 min read
Spring and Nacos Security Vulnerabilities and Mitigation Guide
Architect
Architect
Sep 2, 2024 · Cloud Native

How Nacos Implements Long‑Polling for Real‑Time Configuration Updates

This article dissects Nacos' configuration center long‑polling mechanism, detailing the client‑side initialization, thread‑pool scheduling, cache handling, and server‑side request processing, while illustrating the flow with code snippets and diagrams to help developers understand real‑time config synchronization.

Configuration CenterJavaNacos
0 likes · 15 min read
How Nacos Implements Long‑Polling for Real‑Time Configuration Updates
Selected Java Interview Questions
Selected Java Interview Questions
Aug 25, 2024 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism and Its Implementation

This article explains the principles and source‑code flow of Nacos configuration center’s long‑polling mechanism, detailing how the client initiates periodic tasks, how the server processes listener requests, and how configuration changes are detected and propagated through various internal classes and threads.

BackendConfiguration CenterJava
0 likes · 10 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism and Its Implementation
Top Architect
Top Architect
Aug 18, 2024 · Backend Development

Implementing Gray Release (Canary Deployment) in Spring Cloud with Nacos and Ribbon

This article explains how to implement gray (canary) release in a Spring Cloud micro‑service system using Nacos for service discovery, Spring Cloud Gateway filters, ThreadLocal gray flags, custom Ribbon load‑balancing rules, and configuration files to switch between production and gray versions.

Gray ReleaseJavaMicroservices
0 likes · 21 min read
Implementing Gray Release (Canary Deployment) in Spring Cloud with Nacos and Ribbon
Architect
Architect
Aug 16, 2024 · Information Security

How to Patch Critical Spring & Nacos Vulnerabilities in 2024

This article analyzes recent critical security flaws in Spring Framework (CVE‑2024‑38808 and CVE‑2024‑38809) and Nacos Jraft port, explains their impact, provides version‑specific mitigation steps, code snippets for Spring Boot fixes, and offers additional hardening recommendations for developers and operators.

CVE-2024-38808CVE-2024-38809Nacos
0 likes · 7 min read
How to Patch Critical Spring & Nacos Vulnerabilities in 2024
Top Architect
Top Architect
Aug 13, 2024 · Backend Development

Spring Cloud Alibaba and Nacos Service Governance: Architecture, Installation, and Practical Usage

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.

MicroservicesNacosSpring Cloud
0 likes · 11 min read
Spring Cloud Alibaba and Nacos Service Governance: Architecture, Installation, and Practical Usage
Java Architect Essentials
Java Architect Essentials
Aug 12, 2024 · Backend Development

Implementing Gray (Canary) Release with Spring Cloud Gateway, Nacos and Ribbon

This article explains the concept of gray (canary) release, details the required Spring Boot, Spring Cloud and Nacos versions, describes core components such as Nacos, Spring Cloud Gateway, Ribbon and OpenFeign, and provides a complete code‑first implementation with filters, interceptors, custom load‑balancer rules and deployment instructions for demonstrating gray release scenarios.

Gray ReleaseJavaNacos
0 likes · 17 min read
Implementing Gray (Canary) Release with Spring Cloud Gateway, Nacos and Ribbon
Open Source Linux
Open Source Linux
Aug 9, 2024 · Cloud Native

Why Choose Nacos Over Eureka? A Hands‑On Guide to Service Discovery, Config, and Cluster Setup

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.

Cluster DeploymentMicroservicesNacos
0 likes · 23 min read
Why Choose Nacos Over Eureka? A Hands‑On Guide to Service Discovery, Config, and Cluster Setup
Sanyou's Java Diary
Sanyou's Java Diary
Aug 5, 2024 · Cloud Native

Understanding Dubbo 3.x’s Move to Application-Level Service Registration

This article explains why Dubbo transitioned from interface-level to application-level service registration in version 3.x, detailing the performance pressures of interface registration, alignment with Spring Cloud and Kubernetes, and the underlying implementation using metadata centers, Nacos, Redis, and Zookeeper.

DubboMetadata CenterNacos
0 likes · 15 min read
Understanding Dubbo 3.x’s Move to Application-Level Service Registration
Top Architect
Top Architect
Jul 18, 2024 · Backend Development

Implementing Gray Release in Spring Cloud with Nacos, Gateway, and Custom Load Balancer

This article provides a step‑by‑step guide to implementing gray (canary) release in a Spring Cloud microservice architecture, covering core components such as Nacos registration, Spring Cloud Gateway filters, custom Ribbon load‑balancing, OpenFeign interceptors, and configuration details with full code examples.

Gray ReleaseMicroservicesNacos
0 likes · 21 min read
Implementing Gray Release in Spring Cloud with Nacos, Gateway, and Custom Load Balancer
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Jul 13, 2024 · Cloud Native

Master Nacos: Complete Guide to Architecture, Registration, and Configuration Management

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.

MicroservicesNacosSpring Cloud
0 likes · 34 min read
Master Nacos: Complete Guide to Architecture, Registration, and Configuration Management
Programmer XiaoFu
Programmer XiaoFu
Jun 27, 2024 · Backend Development

Choosing a Service Registry: In‑Depth Comparison of Zookeeper, Eureka, Nacos, Consul, and Etcd

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.

ConsulEurekaNacos
0 likes · 23 min read
Choosing a Service Registry: In‑Depth Comparison of Zookeeper, Eureka, Nacos, Consul, and Etcd
Su San Talks Tech
Su San Talks Tech
Jun 11, 2024 · Backend Development

Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, and Etcd Compared

This comprehensive guide explains the fundamentals, CAP trade‑offs, and core algorithms of service registries, then details Zookeeper, Eureka, Nacos, Consul, and Etcd features, compares them across health checks, multi‑datacenter support, KV storage, and provides practical selection advice for developers and architects.

ConsulEurekaNacos
0 likes · 23 min read
Choosing the Right Service Registry: Zookeeper, Eureka, Nacos, Consul, and Etcd Compared
JavaEdge
JavaEdge
Jun 10, 2024 · Backend Development

How Nacos Implements Long Polling with AsyncContext – A Deep Dive

This article walks through Nacos's LongPollingService source code, showing how it extracts headers, calculates timeouts, detects configuration changes, enforces connection limits, and uses Servlet 3.0 AsyncContext to handle long‑polling without blocking threads.

AsyncContextBackend DevelopmentJava
0 likes · 6 min read
How Nacos Implements Long Polling with AsyncContext – A Deep Dive
Architect's Tech Stack
Architect's Tech Stack
May 18, 2024 · Operations

Graceful Shutdown in Kubernetes and Spring Boot Microservices: Best Practices and Optimizations

This article explains the concept of graceful shutdown, outlines essential steps, examines Kubernetes pod termination and Spring Boot integration with Nacos, and provides practical optimizations—including PreStop hooks, terminationGracePeriod settings, and actuator shutdown—to ensure reliable service termination without data loss.

Cloud NativeGraceful ShutdownKubernetes
0 likes · 11 min read
Graceful Shutdown in Kubernetes and Spring Boot Microservices: Best Practices and Optimizations
MaGe Linux Operations
MaGe Linux Operations
May 2, 2024 · Cloud Native

Why Nacos Beats Eureka: Hands‑On Guide to Service Discovery, Config Center & Cluster

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.

ClusterConfiguration CenterNacos
0 likes · 34 min read
Why Nacos Beats Eureka: Hands‑On Guide to Service Discovery, Config Center & Cluster
Alibaba Cloud Native
Alibaba Cloud Native
Apr 19, 2024 · Information Security

Securing Nacos with Zero‑Trust: TLS, Encryption, and Access Control

This article explains how to protect Nacos configuration data by applying zero‑trust principles, covering transport encryption with TLS, storage encryption using plugins, and fine‑grained access control through authentication and RBAC, while providing practical configuration steps.

Access ControlConfiguration SecurityNacos
0 likes · 18 min read
Securing Nacos with Zero‑Trust: TLS, Encryption, and Access Control
Architect
Architect
Apr 14, 2024 · Backend Development

How to Dynamically Load and Unload Java Governance Tasks with Custom ClassLoaders and XXL‑Job

This article explains how to design a plug‑in architecture for a data‑governance service that can start, stop, add, or upgrade individual tasks at runtime without restarting the whole service, using a custom URLClassLoader, Spring bean registration, XXL‑Job integration, dynamic configuration updates, and a clean unload process.

ClassLoaderDynamic LoadingJava
0 likes · 26 min read
How to Dynamically Load and Unload Java Governance Tasks with Custom ClassLoaders and XXL‑Job
Ubiquitous Tech
Ubiquitous Tech
Apr 11, 2024 · Interview Experience

How 6 Targeted Questions Reveal the True Experience of 2‑Year Java Candidates

The author recounts screening eight Java resumes, identifies common exaggerations, and walks through six interview questions that exposed a candidate's lack of real microservice, distributed‑system, and payment‑security experience, offering practical insights for both interviewers and applicants.

JavaMicroservicesNacos
0 likes · 8 min read
How 6 Targeted Questions Reveal the True Experience of 2‑Year Java Candidates
Top Architect
Top Architect
Apr 2, 2024 · Backend Development

Spring Cloud Alibaba and Nacos Service Governance: Architecture Evolution, Microservice Introduction, and Practical Setup

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.

JavaNacosservice discovery
0 likes · 11 min read
Spring Cloud Alibaba and Nacos Service Governance: Architecture Evolution, Microservice Introduction, and Practical Setup
Su San Talks Tech
Su San Talks Tech
Mar 31, 2024 · Backend Development

Mastering Configuration Centers: From Local Files to Nacos in Microservices

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.

JavaNacosconfiguration management
0 likes · 20 min read
Mastering Configuration Centers: From Local Files to Nacos in Microservices
Java Architect Essentials
Java Architect Essentials
Mar 27, 2024 · Cloud Native

Mastering Graceful Shutdown in Kubernetes with Spring Boot and Nacos

This article explains the concept of graceful shutdown, walks through a Kubernetes pod termination flow, demonstrates a Spring Boot + Nacos example with PreStop hooks, identifies common pitfalls, and provides practical optimizations—including MQ handling, scheduled tasks, traffic control, and actuator shutdown—to achieve reliable, zero‑downtime service termination.

Cloud NativeGraceful ShutdownKubernetes
0 likes · 12 min read
Mastering Graceful Shutdown in Kubernetes with Spring Boot and Nacos