mirage / ocaml-xenstore

A Xenstore protocol implementation in pure OCaml. This code works in both regular Unix and in MirageOS applications.
Other
8 stars 20 forks source link

Convenience functions for parallel write/directory/setperms #8

Open djs55 opened 9 years ago

djs55 commented 9 years ago

We would like to pipeline requests to xenstore to avoid excess ping/pong RPCs. At the moment the interface is monadic and essentially serial:

write foo bar
>>= fun () ->
write foo' bar'
>>= fun () ->

Perhaps we could make something more in an applicative style (like Cmdliner?)

samoht commented 9 years ago

would be great to have an haxl-like applicative interface! The use it to batch sql requests.

djs55 commented 9 years ago

Aha, thanks for the reference!

On Sat, Nov 1, 2014 at 10:37 PM, Thomas Gazagnaire <notifications@github.com

wrote:

would be great to have an haxl https://github.com/facebook/Haxl-like applicative interface! The use it to batch sql requests.

— Reply to this email directly or view it on GitHub https://github.com/mirage/ocaml-xenstore/issues/8#issuecomment-61386392.

Dave Scott