There was a related thread Databases and OCaml recently. At least Ezpostgresql and my own Caqti supports connection pooling. Not sure if it fit’s your bill, but due to the monadic concurrency used by these libraries, requests will be queued by the underlying event system.
4 Likes