How does SO_REUSEPORT load balance to its listening sockets?

Solution Verified - Updated -

Issue

  • How does the SO_REUSEPORT listen socket option load balance to its listening sockets?
  • Can you please describe how kernel load balancing works in RHEL when we bind multiple processes to same TCP port with SO_REUSEPORT?
  • We want to load balance properly so workers binding to one port requests are distributed correctly.

Environment

  • Red Hat Enterprise Linux 6.5 and later
  • SO_REUSEPORT socket option to allow multiple programs to attach to the same listen socket

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content