How i can do a server that can be handle a very large number of clients (in same time) between 250,00 to 1,000,000 clients or more ? , Because when large number of clients connect to the normal server that failed.
what do you mean? have you tried a multihreaded client/server in java?: http://www.ase.md/~aursu/ClientServerThreads.html And if so i dont think the limitation is the code, with that number of users the limitations fall to the PC hardware/Internet connection... Then you'd need some sort of multicore sever(not really that big a deal im sure a i7 would handle it)...but it must have a huge bandwidth(thats where the catch comes).. see here also: http://discuss.fogcreek.com/joelonsoftware1/default.asp?cmd=show&ixPost=26535&ixReplies=15 and this: http://paultyma.blogspot.com/2008/03/writing-java-multithreaded-servers.html which might help you understand whats causing the fail and about bandwidth and thread per connections etc
DavidKroukamp
Practically a Master Poster
Team Colleague
693 posts since Dec 2011
Reputation Points: 282
Solved Threads: 169