-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allow trying to acquire, ping many locks in one call #244
Comments
There are some problems. Do you want all or none, or do you want best Best effort is easy to implement, all or none is not. In any case, this has
|
Just want best effort, same as you would get if you made many separate On Wed, Jun 29, 2016 at 9:39 PM Burak Serdar [email protected]
|
Lets make that a separate api. A bulk request mixed with both crud
|
We have algorithms we require us to acquire a bunch of locks, and we do these in a loop, which forces us to suffer the network round trip for each call. We could parallelize these, true, but it is probably easy to add this to the rest interface also so that we can pass many locks to acquire in one call, with a response that says what locks were successfully acquired and what locks weren't.
Maybe it would be worth reusing the bulk endpoint for this? It's essentially a bulk request but for locks.
@bserdar thoughts?
The text was updated successfully, but these errors were encountered: