Module that encapsulates non blocking sockets with function similar to Unix.read and Unix.single_write but that will perform scheduling instead of blocking. This can be used to access your database. It has been tested with OCaml's bindings to libpq.
Io can be shared across several clients, for instance clients using the same session. As always, be aware of protecting concurrent access to the socket, as different client may run simultaneously on different domain.
Io is completely useless on regular file or blocking sockets.