-
Metrics指标设计之RED大法, [源](https://github.com/openresty/openresty-con/blob/master/cn/2018/ppt/%E5%A4%A7%E8%A7%84%E6%A8%A1OpenResty%20SaaS%E6%9C%8D%E5%8A%A1%E7%9A%84%E6%90%AD%E5%BB%BA%E4%B8%8E%E8%BF%90%E7…
-
Right now this nginx module emits logs as unstructured text. Would it be possible to switch to a JSON format so that it's possible to search through the nginx logs more easily? Thanks!
jbuck updated
5 years ago
-
This place is for bug reports and development discussions only. For general questions and
discussions, please join the openresty-en mailing list instead: https://openresty.org/en/community.html
En…
-
local cli = client:new(broker_list)
local brokers, partitions = cli:fetch_metadata(kafka.topic)
if not brokers then
ngx.log(ngx.ERR, "fetch_metadata failed, err:", partitions)
end
ng…
-
1.这一层实现流量分组(内网和外网隔离、爬虫和非爬虫流量隔离)、内容缓存,请求头过滤,故障切换,限流,防火墙等一些通用型功能
2.业务nginx和单品页nginx,在这一层可以实现内容压缩,AB测试,降级,即这一层的nginx跟业务有关联,实现业务的一些通用逻辑。
3.主从架构
4.普通流量走一致性哈希,提升命中率。热点流量走轮训减少单服务器压力。根据请求特征将流量分配到不同分组并限流(爬虫…
-
At the time of this writing, maybe 20% of CoolStuffThatEveryoneWants™ is available in OPM. Everything else still requires luarocks to install.
Please undeprecate luarocks and make OPM play nicely l…
-
升级到最新2.2.2 后, 服务器经常出could not allocate node in cache keys zone错误, 用户端直接看到就是500错误
相关配置:
```
proxy_temp_path /home/mem_cache/temp;
proxy_cache_path /home/mem_cache/path levels=1:2 keys_zone=ca…
-
当lua脚本不存在,ts 会一直重启。这个不太合理。
当检查到传递的参数lua脚本不存在。则放弃加载。保证ats服务正常
-
I want to build this module with openresty.
My commands look exactly like [the instructions](http://openresty.org/en/installation.html):
./configure --add-module=../nginx-log-zmq-master
…
-
ingress配置如下双向认证无效了。 还有 ingress指定配置 nginx.ingress.kubernetes.io/server-snippet: 也无效了。例如:
```yaml
kind: Ingress
metadata:
name: log
namespace: default
annotations:
nginx.ingress.kubernetes.io/a…