动态修改OpenResty的Conf配置文件(nginx-upsync-module)

翻译:糖果

nginx-upsync-module - Nginx C module, sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx.

nginx-upsync-module Nginx C模块,通过consul组件对upstream进行同步,动态的修改后端服务器的属性。(权重,最大失败数,…)并且不需要reload重新加载nginx.

It may not always be convenient to modify configuration files and restart NGINX. For example, if you are experiencing large amounts of traffic and high load, restarting NGINX and reloading the configuration at that point further increases load on the system and can temporarily degrade performance.

不能总是方便的修改配置文件重起Nginx。比如,大流量业务,配置重起NGINX, 会暂时性降低加载性能。

The module can be more smoothly expansion and constriction, and will not influence the performance.

这模块可对其进行,平滑的扩展和收束,而不影响性能。

Another module, nginx-stream-upsync-module supports nginx stream module(TCP protocol), please be noticed.

别一模块,nginx-stream-upsync-module 支持nginx流(TCP协议),敬请关注!

动态修改OpenResty的Conf配置文件(nginx-upsync-module)

www.lua.ren

糖果

糖果

糖果
LUA教程

如果不小心安装错 SQL Server 为 Evaluation 的版本,要小心当超过 180 天之后,系统就会无法正常使用了 这几天遇到一个蛮特别的案例,原本收到的问题是 “维护计划” 忽然无法使用,即便是里面没有任何的Task,都无法顺利地执行。但从对方所提供的错误消...… Continue reading

PLUM NIZ静电容键盘怎么样?

Published on September 25, 2020

程序员如何选择合适的机械键盘

Published on September 18, 2020