[ 
https://issues.apache.org/jira/browse/TS-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067030#comment-15067030
 ] 

Kit Chan commented on TS-4085:
------------------------------

I used this one before - https://github.com/nrk/redis-lua

You are absolutely right. The ATS thread will be blocked in this way. So 
normally in my research/usecase, I setup redis in the same machine as ATS and 
have the lua code to make connection to the localhost redis port. This should 
help to lower the impact of the thread blocking. 

> Supporting reloading lua script on ats reload for ts_lua when run as a global 
> plugin
> ------------------------------------------------------------------------------------
>
>                 Key: TS-4085
>                 URL: https://issues.apache.org/jira/browse/TS-4085
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Lua, Plugins
>            Reporter: James Fang
>            Assignee: Kit Chan
>             Fix For: sometime
>
>
> suppose i have some acl rules that seldom changes,
> i would like to make them a global table that shared among all the lua 
> coroutines.
> i also would like to update the rule without restarting traffic server, but
> there seems to be no way to update this global after they are initalized.
> should i modify ts_lua to call some dynamic uploaded chunk that
> update the global for each ts_lua_main_ctx ?
> any ideas ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to