jesque icon indicating copy to clipboard operation
jesque copied to clipboard

Use Lua script in Worker enqueue

Open abhinavdwivedi opened this issue 9 years ago • 2 comments

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.

abhinavdwivedi avatar Jan 10 '16 09:01 abhinavdwivedi

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!

gresrun avatar Jan 10 '16 23:01 gresrun

Is it better to use Jedis pipelined or multi (tx)?

XiaochunLU avatar Jun 14 '16 02:06 XiaochunLU