jesque
jesque copied to clipboard
Use Lua script in Worker enqueue
Can we use a lua script to do all types of enqueue? this would reduce network roundtrips by a factor of 2. I am willing to implement this on the lines of new pop function if you are open to it.
After the great success we saw with the worker pop, I'm very open to seeing a lot of Jesque logic be pushed into lua scripts! Even if we only see marginal improvement in the throughput, I like the idea!
Is it better to use Jedis pipelined or multi (tx)?