Redis Lua eval and pubsub - send a command on a message? -


is possible use lua evaluation hang out , listen pubsub channel, replying command on message?

edit: seems pubsub has been implemented. i'm little unclear on how approach (lua green). https://github.com/nrk/redis-lua/issues/7

no, subscribe not allowed in scripts. scripts executed in same event loop else in redis, meaning, while script executing no other commands executed.

further, library linking lua client library. here relevant documentation lua scripting in redis.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -