File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 38
38
+ [ ngx Lua APi 介绍使用] ( #Openresty_ngx_api_used )
39
39
+ [ 连接数据库] ( #Openresty_connent_redis )
40
40
+ [ OpenResty缓存] ( #Openresty_connent_cache )
41
- + [ lua-resty-upstream-healthcheck 使用] ( #Openresty_lua-resty-upstream-healthcheck )
41
+ + [ lua-resty-upstream-healthcheck 使用] ( #Openresty_lua_resty_upstream_healthcheck )
42
42
+ [ luajit 执行文件默认安装路径] ( #Nginx_base_knowledge )
43
43
+ [ Redis执行Lua脚本基本用法] ( #Redis_Run_Lua )
44
44
+ [ Ngx_lua 写入Redis数据,通过CURL请求] ( #Ngx_lua_write_Redis )
690
690
+ 纯内存的操作,多个worker之间共享的(比如nginx开启10个Worker,则每个worker之间是共享该内存的)
691
691
+ 同一份数据在多个worker之间是共享的,只要存储一份数据就可以了
692
692
+ 锁的竞争(数据原子性)
693
- # ### <a name="Openresty_lua-resty-upstream-healthcheck "/> lua-resty-upstream-healthcheck 使用
693
+ # ### <a name="Openresty_lua_resty_upstream_healthcheck "/> lua-resty-upstream-healthcheck使用
694
694
+ health.txt 在每个upstream 服务器组的root 目录下创建这个文件,目录结构如下所示
695
695
` ` ` Lua
696
696
├── html
You can’t perform that action at this time.
0 commit comments