Loadbalance UDP traffic with session affinity and way to take servers in & out of rotation

Posted by William on Server Fault See other posts from Server Fault or by William
Published on 2013-11-13T01:04:16Z Indexed on 2013/11/13 3:56 UTC
Read the original article Hit count: 490

What is the best way to go about load balancing UDP traffic among a whole bunch of servers, while keeping session affinity based on the users' IP? I need to also be able to take servers in and out of rotation for new clients, so when they join for the first time, they get put on a server in a list of available servers, and clients already connected would stay connected to their specific server. I have written the software to maintain a list, but I can't seem to find anything that would perform this functionality. If you need the context, this is to facilitate game tournaments for Minecraft: Pocket Edition, which is done with UDP traffic, I cannot change the protocol. And, because tournaments open and close, I need to be able to place players on their proper servers. Performance is also a priority, I have a program to do this but it is very bloated and slow.

Thanks for any help!

William

© Server Fault or respective owner

Related posts about networking

Related posts about load-balancing