Quote:
Originally Posted by JellyBitz
So.. What's the argument here?
Why silkroad files cannot handle 3500+ clients?
I'm pretty sure a PC can run 3500+ clientless bots... but a server cannot handle +3500 clients? I cannot see the difference. All depends on PC resources actually and doesn't matter if it's compiled in 1980, or yesterday.
PC resources (CPU power, RAM capacity, Bandwith limit) will be always the limitation.
|
You clearly don't know about programming at all. Let's put it in simple words, silkroad shard manager is single-threaded, it means that it only benefits from 1 single thread, which means that if you run a server in some Xeon 1337 Ultimate Super Saiyan 512 Cores 1028 Threads, the shard manager will only use 1 of these 512 cores. Get it? now, imagine a server with actual 3500 players, let's imagine that each client has a traffic of 10 packets per second, that shard manager would need to handle 35.000 packets per second (this traffic is much, MUCH higher as more players are together, like in unique events, jobbing, etc), and keep in mind many of those packets will incur in DB calls. Do you really think a single core can handle that?
Also your comparison doesn't make sense, a bot is completely different from a shard manager, which is comunicating and synchronizing with other modules and a database; while the bot just is handling its own connection and nothing else. Plus, and more importantly, every bot you open, opens in a different thread, so your 3500 bots are running in different threads and they benefit from all cores you CPU has. Any potato pc can run hundred or even thousand of bots if well optimized, a silkroad server is just not like that.