I am about build a server on linux (I get to pick programming language) that accepts many TCP/IP socket persistent connections from a desktop software. How can this be done cheaply and efficiently? A machine cannot have more than 60000 ports, so if I have to support 600k connections then I will need 10 linux boxes?
Since the computation needed for each connection is extremely small (idle 95% of the time) one linux box can already handle 600k I don't want to waste money and resource running 10 boxes just to get around port limitations.
Any ideas?