This guide covers Nginx rate limiting via ngx_http_limit_req_module (leaky bucket algorithm), connection limiting with ngx_http_limit_conn_module, and bandwidth throttling using limit_rate, limit_rate_after, and proxy_limit_rate, including burst handling, nodelay, whitelists, and dynamic rate control via map variables.
DynamicTp is a lightweight Spring Boot framework that enables runtime dynamic adjustment of thread pool parameters via configuration centers like Nacos and Apollo, provides real-time monitoring through MicroMeter and JSON logs, and integrates alerting for queue capacity, thread activity, rejection rates, and task timeouts across both application and third-party component thread pools.
This tutorial demonstrates how to use Spring-Smart-DI's @AutowiredProxySPI annotation to dynamically switch between multiple service implementations (e.g., SMS providers) at runtime by changing configuration values, without application restarts, using proxy-based injection that resolves the active implementation on each call.
The article explains Airbnb's Sitar‑agent sidecar architecture, detailing the end‑to‑end configuration distribution lifecycle, key design choices such as sidecar versus in‑process deployment, pull‑model optimizations, and the migration from Sparkey to SQLite for robust, multi‑language support at massive scale.
This article examines the hidden pitfalls of SpringBoot’s @Scheduled annotation—such as duplicate runs in clusters, single‑thread blocking, uncaught exceptions, and lack of monitoring—and provides a step‑by‑step guide to configuring custom thread pools, distributed locks, timeout handling, dynamic task management, and observability for production‑grade reliability.
The article explains how large‑scale, million‑QPS systems transition from hard‑coded file configurations to centralized, dynamically pushed config centers, detailing the problems of file‑based configs, the benefits of externalization, dynamic updates, governance features, and the trade‑offs involved.
This tutorial shows how to integrate Apache Commons Configuration2 with Spring Boot 3 to load, refresh, persist, and listen to configuration changes in real time, using periodic reload triggers, auto‑save, and event listeners so updates take effect without restarting the service.
Airbnb’s Sitar platform demonstrates how a modern dynamic configuration system can provide safe, reliable, and flexible runtime changes through a Git‑centric workflow, multi‑tenant control and data planes, staged rollouts, rapid rollback, and local caching, balancing developer agility with operational stability.
This article introduces DynamicTp, an open‑source framework that extends Java's ThreadPoolExecutor to enable real‑time, configuration‑center‑driven parameter adjustments, live monitoring, alerting, and seamless integration with popular middleware thread pools, all while requiring zero code intrusion.
The article demonstrates how to use the Adapter design pattern together with Nacos dynamic configuration to enable transparent switching among multiple OSS providers (MinIO, Alibaba Cloud OSS, etc.) in a Spring Cloud micro‑service, preserving low coupling and supporting hot reload without code changes.
DynamicTp is an open‑source SpringBoot starter that lets developers monitor, alert on, and adjust ThreadPoolExecutor parameters at runtime via popular configuration centers, offering zero‑intrusion integration, extensible metrics, multi‑channel notifications, and support for a wide range of middleware thread pools.
This article demonstrates how to use the Adapter pattern together with Nacos dynamic configuration to abstract multiple OSS providers (Minio, Aliyun), configure Spring beans for hot‑refreshable storage selection, and integrate the solution into a microservice’s service, file, and controller layers.
This article explains why certain machines fail to refresh configuration with @RefreshScope in a Spring Cloud Alibaba and Nacos setup, analyzes the underlying source code, identifies five common root causes, and provides a step‑by‑step troubleshooting guide with best‑practice recommendations.
This article presents twelve practical techniques for dynamically modifying SpringBoot configuration values without restarting the application, ranging from simple @Value listeners to advanced solutions such as Nacos, Apollo, dynamic data sources, in‑memory maps, scheduled polling, event‑driven updates, and Spring Cloud Config, helping developers achieve flexible and resilient runtime configuration management.
This article explains how a function input box, combined with parameter interpolation and a sandboxed Node.js environment, lets backend developers write arbitrary JavaScript to dynamically generate HTML components, handle complex logic, and maintain security, offering unparalleled flexibility for ever‑changing business requirements.
This article explains why traditional Java apps require restarts for config changes, introduces Spring Boot's @RefreshScope for zero‑downtime hot‑reloading, details its core principles, provides step‑by‑step implementation, troubleshooting tips, best practices, and advanced use cases for dynamic configuration in production environments.
This guide explains how to load external JAR files into the JVM, configure SpringBoot to recognize them, and choose among several class‑loading strategies—including expanding the classpath, using the loader.path parameter, or implementing a custom classloader—while providing Maven configuration examples and code snippets.
Class LoadingCustom ClassLoaderDynamic Configuration
This guide explains how to use Spring Boot's @RefreshScope to dynamically refresh configuration at runtime without restarting services, covering the underlying mechanism, step‑by‑step implementation, production best practices, troubleshooting tips, and advanced use cases.
This article explains why dynamic configuration refresh is needed in Spring Boot, details the @RefreshScope mechanism, provides step‑by‑step implementation code, and shares production best practices and troubleshooting tips for zero‑downtime config updates.
This article explains why dynamic configuration refresh is needed in Spring Boot, details the @RefreshScope mechanism, provides step‑by‑step implementation code, and shares best practices and troubleshooting tips for zero‑downtime updates in production environments.
This article details Dewu's shift from manual product checks to an AI‑driven, dynamically configurable audit system that improves review speed, accuracy, and scalability while reducing manual effort through rule engines, HTTP‑based algorithm calls, and extensive data analysis.
This article explores the drawbacks of static YAML files in production, compares traditional configuration centers, and presents a database‑driven approach that offers zero extra infrastructure, full control, and simplified architecture, while detailing layered bootstrapping, entity design, dynamic loading, encryption, versioning, and monitoring.
This article explains how to use Jenkins pipeline parameters and the credentials store to dynamically configure development, testing, and production environments while securely handling database connections and API keys, thereby improving CI/CD flexibility and security.
This article explains how to use spring-smart-di to dynamically switch between multiple service providers in a Spring application, reducing manual configuration, improving fault tolerance, and enabling runtime updates without restarting the service.
This article explains how to dynamically switch between multiple service providers in a Spring backend by configuring identifiers, using spring-smart-di's AutowiredProxySPI and related annotations, and provides step‑by‑step code examples for seamless, runtime‑configurable dependency injection.
This article explains how to dynamically switch between multiple service providers, such as SMS vendors, in a Spring‑based backend by using spring‑smart‑di's @AutowiredProxySPI and related annotations, covering configuration, Maven dependency, enabling the feature, and custom proxy implementations.
This article explains how to implement dynamic switching of service implementations in a Spring Boot application by leveraging the spring‑smart‑di library, covering configuration setup, custom annotations, and code examples that enable runtime changes without restarting the service.
This article demonstrates how to modify Spring Boot 3 log levels and refresh the application.yml configuration on the fly using Actuator endpoints and custom code, providing step‑by‑step examples, code snippets, and screenshots to help developers avoid service restarts.
DynamicTp is a Java‑based dynamic thread‑pool framework that extends ThreadPoolExecutor to enable runtime parameter tuning, real‑time monitoring, and multi‑channel alerting, addressing common pain points of thread‑pool configuration in microservice environments.
DynamicTp is a SpringBoot‑compatible framework that extends ThreadPoolExecutor to allow live adjustment of pool parameters, real‑time monitoring, multi‑platform alerts, and seamless integration with popular configuration centers, helping Java services achieve higher performance and reliability.
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.
This article explains how to implement runtime switching of multiple service providers in a Spring‑based backend by configuring the active implementation in a central store and using the spring‑smart‑di library's AutowiredProxySPI to inject the appropriate bean automatically.
This guide explains how to integrate Nacos with Spring Cloud to achieve runtime configuration refresh, protect sensitive properties using Alibaba KMS without code changes, and details the underlying mechanisms, dependency setup, property source priority, and troubleshooting tips.
This guide shows how to use Spring AI Alibaba together with Nacos to securely store API keys, dynamically update Prompt templates and model parameters, and encrypt sensitive configurations without restarting Java AI applications.
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.
This article demonstrates how to dynamically load Spring Boot configuration from a database and refresh specific beans at runtime using Spring Cloud's ContextRefresher, enabling configuration changes without restarting the application.
The article explains the concept of a dynamic thread pool, identifies common pain points such as invisible runtime status, hard‑to‑trace rejections, and slow parameter tuning, and presents a comprehensive solution that includes monitoring, alerting, automatic stack dumping, and live parameter refresh for Java backend services.
The article explains the concept of dynamic thread pools, analyzes common pain points such as invisible runtime status, hard‑to‑locate rejections, and slow parameter tuning, and presents a comprehensive solution that includes monitoring, alerting, automatic stack tracing, and on‑the‑fly parameter refresh using Java code.
The article explains Sermant's classloader architecture, plugin mechanism, class isolation, unified dynamic configuration, and logging capabilities, providing step‑by‑step guidance for building service‑governance plugins from basic to advanced features.
This article walks through a Spring Boot solution for dynamically masking sensitive user data—such as names, ID numbers, phone numbers, and custom fields—by defining custom annotations, a configurable rule engine, a Redis‑backed context holder, and a Jackson serializer that applies masking at JSON serialization time, all while keeping performance overhead low.
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.
Learn how to integrate Nacos as a dynamic configuration center to modify Java thread pool sizes at runtime, covering dependency setup, initial Nacos configuration, custom listener implementation, thread pool usage, testing, and the benefits of adaptive scaling for production systems.
This guide shows how to set up a flexible Webpack devServer proxy that supports multiple test environments, allows switching configurations via npm scripts, and updates target and cookie values on the fly without restarting the server.
This article demonstrates how to build a dynamically configurable thread pool in a Spring Cloud backend by using Nacos as a configuration center, covering dependency setup, YAML files, Java implementation, controller exposure, testing steps, and practical tips for runtime adjustments.
This article demonstrates how to create a dynamically configurable thread pool in a Spring Boot backend by using Nacos as a configuration center, covering Maven dependencies, YAML configuration files, Nacos data IDs, Java implementation with listeners, a REST controller for testing, and practical verification steps.
The article demonstrates replacing fragile if‑else channel logic with a Strategy pattern and Spring Expression Language, storing parameter mappings in a database so that new payment channels or Excel formats can be added simply by configuring SpEL expressions, achieving a flexible, maintainable, data‑driven solution.
This article walks developers through Sermant’s architecture, explaining its plugin mechanism, class isolation, and how to build practical plugins with basic capabilities, unified dynamic configuration, and unified logging, while showcasing real‑world examples and tips for efficient development.
This article introduces a virtual routing framework for mobile applications that unifies page navigation across Android, iOS, and mini-programs, enabling dynamic URL distribution, platform-specific configurations, version-based routing, and reduced maintenance, while detailing architecture, implementation steps, and code examples.
This guide explains how to use Python's config module to load log levels, set output paths per environment, dynamically update logging settings, control log formats, and configure file backup, providing five practical code examples for robust API automation logging.
The article explains why user privacy data must be masked, then walks through a Spring Boot solution that uses custom annotations, an aspect‑oriented filter, a contextual serializer and a flexible rule engine stored in Redis to achieve dynamic, high‑performance data desensitization without polluting business logic.
Tengine‑Ingress is Alibaba’s cloud‑native Ingress gateway built on the high‑performance Tengine‑Proxy, replacing the legacy Unified Access with dynamic, loss‑less configuration, per‑domain gray‑rollout, dual‑certificate TLS, real‑time observability, and checksum validation, achieving up to 20 % lower latency, CPU and memory usage while scaling to thousands of pods, and paving the way for a universal API gateway supporting TCP, UDP, gRPC, QUIC/HTTP3 and advanced TLS.
This article explains the purpose, source code, usage steps, and internal working principle of Spring Cloud's @RefreshScope annotation, showing how it leverages scope proxying, refresh events, and bean cache management to achieve dynamic configuration refresh in microservice applications.
This article explains how to use Spring's profile‑specific configuration files, package a multi‑module Java project with Maven or IDEA, and deploy the resulting JAR on a Linux server by installing JDK, setting environment variables, and starting the application in foreground or background.
The DynamicTp framework extends Java's ThreadPoolExecutor with runtime‑adjustable parameters, real‑time monitoring, alerting, and integration with multiple configuration centers, offering a lightweight, zero‑intrusion solution for microservice environments to improve performance and reliability.
DynamicTp is a Java library that extends ThreadPoolExecutor to enable dynamic, configuration‑center‑driven adjustment of thread‑pool parameters, real‑time monitoring, alert notifications, and metric collection, providing a lightweight, zero‑intrusion solution for microservice architectures.
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.
This article outlines the technical strategies and best practices for guaranteeing high‑quality user experiences during large‑scale mobile event rollouts, covering background, core guarantees, business characteristics, performance metrics, high‑concurrency handling, dynamic configuration, loading optimization, runtime safeguards, and monitoring.
This guide walks through the step‑by‑step process of creating a new Topic in Know Streaming, highlights the clean UI, explains default cleanup policies, shows how to test message size, and describes additional dynamic configuration options.
This tutorial walks through setting up a Spring Cloud Gateway integrated with Nacos as a registration and configuration center, covering Nacos installation, project configuration, route definition, and a listener that dynamically refreshes service instances to ensure reliable request forwarding.
This article explains how to build a lightweight, single‑machine configuration center for Spring Boot micro‑services, detailing the core classes, file scanning, variable pooling, environment initialization, YAML conversion, controller endpoints, and runtime property updates, while also discussing current limitations and future improvements.
This article explains how Flink's Broadcast State feature can be used to dynamically update processing rules and enrich streaming events with user information from MySQL, showing configuration, code examples, key considerations, and runtime results that demonstrate real‑time adaptability without restarting the job.
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.
This article explains how to build a lightweight, plug‑and‑play microservice flow orchestration system using Docker‑installed Nacos, SpringBoot services with Kafka integration, and dynamic configuration listeners to adjust data pipelines without downtime.
This article explains how to build a Docker‑containerized PaaS platform that uses Spring Cloud Netflix components such as Zuul, Eureka, and Hystrix to provide service gateway, registration, discovery, fault tolerance, and dynamic configuration for scalable microservice applications.
The article analyzes the risks and efficiency challenges of using Apollo for dynamic configuration in various business scenarios, explores past mitigation approaches, and presents a standardized, automated, and immersive view‑driven solution that achieved full coverage and zero production configuration errors in Zhuanzhuan's B2C platform.
This article explains common configuration challenges in microservice applications and introduces Alibaba Cloud's AHAS feature switch as a lightweight, dynamic configuration framework that offers zero‑code integration, strong type validation, persistent storage, and non‑intrusive deployment for real‑time business control.
This article describes the progressive redesign of an e‑commerce recommendation platform—from a simple strategy‑factory V1.0 through a vertically split V2.0 to a fully configurable, pipeline‑driven V3.0—highlighting architectural challenges, Redis clustering, dynamic configuration, recall and prediction services, and future directions for fine‑grained, explainable recommendations.
This article explains how to design and implement a microservice‑based PaaS platform using Docker containers, Spring Cloud Netflix components such as Zuul, Eureka, and Hystrix, covering service gateway routing, registration and discovery, deployment, fault tolerance, and dynamic configuration.
This article details a step‑by‑step, zero‑downtime migration of a Zookeeper cluster supporting ClickHouse from Hong Kong to Singapore, covering background, challenges, dynamic‑config upgrades, expansion, configuration changes, encountered issues, and the final rollout plan.
ClickHouseData Center MigrationDynamic Configuration
This article shares practical refactoring techniques applied to JD App's backend, demonstrating how to decouple tightly‑coupled modules, replace hard‑coded logic with dynamic configuration, and isolate result fields to improve maintainability and extensibility in large‑scale backend projects.
This guide explains how to configure Alibaba Sentinel to load flow‑control, degradation, and system rules from files using a custom AutoRefreshDataSource in a Spring Cloud Alibaba project, covering API methods, pull/push data source modes, Maven setup, YAML settings, rule JSON examples, and Java implementation details.
This article explains how to build a runtime validator for Spring Cloud dynamic configuration by generating Java classes from .properties files, compiling them in memory with JavaCompiler, loading them via a custom ClassLoader, and integrating the result into the Spring context to catch configuration errors early.
This article explains why dynamic configuration is needed for Spring Boot applications, compares three mainstream microservice configuration centers (Nacos, Config+Bus, Apollo), and provides step‑by‑step tutorials for two Spring Boot‑specific solutions with complete code examples.
This article explains the purpose and principles of API gateways in microservice architectures, introduces Spring Cloud Gateway's core concepts and workflow, and provides step‑by‑step examples for basic routing, weighted routing, rate limiting, and dynamic route management with complete code snippets.
This article explains how JD’s Open Platform’s Business Message Queue (BMQ) architecture, dynamic channels, retry and downgrade mechanisms, and real‑time monitoring ensure reliable, low‑risk message delivery across thousands of merchants while simplifying integration and scaling for future growth.
This article explains the architecture, reliability mechanisms, dynamic configuration, monitoring, and alerting strategies of JD Daojia Open Platform's Business Message Queue (BMQ), illustrating how the system handles bidirectional communication, fault isolation, and scalable message processing for merchants.
This article provides a step‑by‑step guide on converting static iOS widgets into dynamic, server‑driven configurable widgets using SiriKit Intent files, Intents extensions, SwiftUI views, image loading, user interaction handling, data sharing, and debugging techniques.
This article explains how to build a microservice‑based PaaS platform using Spring Cloud Netflix components, Docker containers, Eureka for service registration, Zuul as a gateway, Hystrix for fault tolerance, and a dynamic configuration center to achieve agile development and continuous integration.
This article explains why the Flask‑Redis extension cannot switch Redis databases, describes the underlying limitation of redis‑py, and provides a Python class library that enables dynamic database selection, data push/pull, and clean connection handling for Flask applications.
This article demonstrates how to implement a dynamic, non‑blocking Quartz scheduler in a Spring Boot application, allowing tasks to be added, paused, resumed, deleted, or triggered instantly without restarting the service, and provides complete code examples and configuration steps.
This article demonstrates how to implement a dynamic, non‑blocking Quartz scheduling solution in a Spring Boot application, covering Maven dependencies, database schema, initialization steps, custom job factory, listener, and common Scheduler API operations such as pause, resume, delete, and trigger.
This article explains the background pain points of hard‑coded cross‑stack navigation in a mobile app, describes a dynamic routing component built on URL interception, regex matching and replacement, shows Kotlin and iOS implementations, and demonstrates real‑world cases in an app center and order module.
This article explains the role of an access‑layer gateway, presents its architecture and implementation using OpenResty, discusses technical selection, details OpenResty’s underlying Nginx/Lua mechanisms, and shows how to achieve dynamic routing, plugin‑based policies, shared data, and upstream configuration without service reloads.
API gatewayBackend DevelopmentDynamic Configuration
This article introduces a dynamic thread‑pool component for Spring Cloud that supports Cat monitoring, runtime core‑parameter adjustments, queue‑capacity and reject‑count alerts, and provides Nacos‑based configuration, code examples, and endpoint integration for operational visibility.
This article explains the concept and benefits of Java thread pools, dives deep into the internal design and lifecycle of ThreadPoolExecutor with code examples, discusses real‑world usage scenarios and common configuration pitfalls, and presents a dynamic, monitorable thread‑pool solution to improve performance and reliability.
This tutorial demonstrates how to replace static Spring Boot property files with Spring Cloud Alibaba Nacos for real‑time, centralized configuration management across multiple microservices, covering dependency integration, bootstrap setup, namespace and group usage, multi‑config sets, and dynamic refresh with code examples.
This article explains the concept, design, and internal implementation of Java's ThreadPoolExecutor, discusses common thread‑pool problems, presents dynamic configuration solutions, and provides practical usage scenarios and code examples to help developers efficiently manage concurrency in backend applications.
The article explains Java’s ThreadPoolExecutor—its purpose, core design, lifecycle management, task scheduling, worker behavior, and typical configurations for fast response or batch processing—then proposes a dynamic pool with runtime‑adjustable core and max sizes, queue selection, and real‑time monitoring to prevent mis‑configuration and boost stability.
This article explains Envoy's hot‑restart capability, various dynamic configuration options—including static, SDS/EDS, CDS, RDS, and LDS—and the initialization and drain processes that enable seamless updates and graceful connection handling in cloud‑native deployments.
Learn how Nacos, Alibaba’s open‑source platform, enables cloud‑native applications to perform dynamic service registration, discovery, and configuration, offering health checks, DNS routing, metadata management, and a user‑friendly UI, with step‑by‑step integration examples for Spring Cloud projects.
This article explains why a task center is essential for merchants, outlines its goals, and details the backend architecture—including atomic APIs, Apollo-driven dynamic configuration, idempotent control, workflow orchestration, caching, and asynchronous logging—while also sharing future enhancements.
Real-time streaming jobs require dynamic configuration loading without restarts, and this article compares two common approaches—polling pull and push control streams—examining Spark Streaming’s broadcast variables and Flink’s broadcast state, discussing their implementations, advantages, limitations, and practical considerations.
This article walks through setting up Nacos for dynamic configuration, covering server installation, compiling from source, starting the service, creating and modifying configuration items, and explaining the client’s long‑polling mechanism that pulls updates and triggers listeners, with detailed code snippets and diagrams.
This article explains why Hystrix is needed for handling unstable third‑party HTTP services, demonstrates both annotation‑based and command‑style integrations with code examples, shows how to configure thread pools, semaphores, fallback methods, dynamic properties, and circuit‑breaker thresholds, and provides a summary of best practices for resilient backend development.
This article explains why a configuration center is essential for modern micro‑service architectures, describes the typical architecture and governance capabilities of Apollo, details its high‑availability and real‑time mechanisms, and showcases practical use cases such as feature switches, service governance, dynamic logging, routing, and data‑source management.
This article explains how to dynamically modify a Java project's properties at runtime without restarting the JVM by attaching a custom Java agent, configuring Maven dependencies, and using JConsole or Telnet for property updates.
The article explains how a microkernel architecture separates a stable core from plug‑in components, enabling static and dynamic composition through annotations or configuration files, illustrated by e‑commerce checkout and iQIYI payment redesign, and introduces the open‑source Navi framework for declarative matcher‑based component selection, highlighting extensibility as essential for rapid business growth.