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

pipeline interface #66

Open
c-cube opened this issue Sep 10, 2019 · 0 comments
Open

pipeline interface #66

c-cube opened this issue Sep 10, 2019 · 0 comments
Assignees

Comments

@c-cube
Copy link
Collaborator

c-cube commented Sep 10, 2019

queue operations paired with a future (reply Lwt.u or reply -> unit possibly, depending on backend); send the whole batch in one go. Possibly with the following API:

Redis.pipelined client
  (fun () ->
     R.set c "a" 1;
     R.set c "b" 2)

where normal operations could take an optional reply IO.future that they fullfill once the pipeline is processed.

@c-cube c-cube self-assigned this Sep 10, 2019
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

1 participant