At Thu, 29 Nov 2018 18:06:05 -0500, Philip McGrath wrote:
> > accept on a single listener socket from multiple threads … the proportion
> > of connections accepted per thread tends to be uneven under high connection
> > load (assuming simple event loop: while (1) { accept(); process() }, wakeup
> > does not promote fairness among the sockets.  We have seen the
> > disproportion to be as high as 3:1 ratio between thread accepting most
> > connections and the one accepting the fewest.  With so_reusport the
> > distribution is uniform.
> 
> Am I right that this is essentially what Racket would be doing internally
> if multiple places were blocked on `tcp-accept` with the same TCP listener?

Yes, that's right.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to