mirage / ocaml-conduit

Dereference URIs into communication channels for Async or Lwt
ISC License
83 stars 74 forks source link

conduit-lwt-unix: set SO_REUSEPORT to true #411

Closed bikallem closed 9 months ago

bikallem commented 2 years ago

Set socket SO_REUSEPORT to true. Sockets with SO_RESUSEPORT set to true are automatically load balanced by the Linux OS.

This will be especially useful in OCaml 5.0 with multicore support.