[MXS-1951] Try out SO_REUSEPORT Created: 2018-07-02 Updated: 2019-03-28 Resolved: 2019-03-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-63, MXS-SPRINT-64, MXS-SPRINT-65, MXS-SPRINT-78 |
| Description |
|
SO_REUSEPORT allows multiple sockets to bind to the same port. This improves the performance by removing the need for cross-thread communication without sacrificing the balancing of load between the threads. Compared to multiple threads listening on a single socket, multiple threads listening on multiple sockets should result in fairer load balancing as well as improved overall performance. |