关于 ngx.shared.DICT 的理解咨询

65 views
Skip to first unread message

张泽瑞

unread,
Nov 19, 2024, 5:41:04 AM11/19/24
to openresty
查询前面的邮件 https://groups.google.com/g/openresty-en/c/LmXygRJkN5g 了解到,ngx lua 的操作会加一个全局的锁。

想了解下,ngx lua 调用 ngx.shared.DICT 的 api 时,这个加锁操作是会导致当前的请求 阻塞(Blocking)么?还是会 yield 了。
Reply all
Reply to author
Forward
0 new messages