|
|
|
|
|
by benmmurphy
4288 days ago
|
|
SO_REUSEPORT[1] solves this nicely in linux land. pity the JVM does not support it. you just bind in the second server. it starts handling requests then you tell the first server to unbind and wait until it finishes handling its requests and then the first server kills itself. [1] http://lwn.net/Articles/542629/ |
|