Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!


share|improve this question

closed as off-topic by joeqwerty, Dave M, mdpc, cole, Nathan C Nov 14 '13 at 13:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – joeqwerty, Dave M, mdpc, cole, Nathan C
If this question can be reworded to fit the rules in the help center, please edit the question.

Modern hardware solutions like the F5 Big-IP LTM series can do this easily. – phoebus Nov 13 '13 at 5:05
up vote 3 down vote accepted

We us an F5 Big-IP LTM for this. Configuration is straightforward.

Most modern hardware load balancing solutions can do this; software solutions like Zeus should be able to as well. Many cloud providers like Rackspace and AWS provide software load balancers based on Zeus or similar technologies, if you happen to be using one of these platforms.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.