Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Lua script in Worker enqueue #96

Open
abhinavdwivedi opened this issue Jan 10, 2016 · 2 comments
Open

Use Lua script in Worker enqueue #96

abhinavdwivedi opened this issue Jan 10, 2016 · 2 comments

Comments

@abhinavdwivedi
Copy link

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.

@gresrun
Copy link
Owner

gresrun commented Jan 10, 2016

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!

@XiaochunLU
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants