Question

I'm working on a server project (and I want to make a MMO Server with this). I have created something but IDK is it a good system. Namely is there a MMO server tutorial/book for creating (help!) a high performance socket server (MMO)? I'll send/receive 5kb data to every connected clients (because this is a MMO systems) and server must handle ~2000clients/s. Can anybody show me a good start point?

Was it helpful?

Solution

There: C# SocketAsyncEventArgs High Performance Socket Code; based on things I have learnt from this (and some other resources) I have written a high performance TCP server which is handling more than 7000 clients.

Edit: Other good .NET code bases I studied to some extend are fracture (F#), SocketAwaitable and SuperSocket. I especially like fracture because of it's simple (not naive) and smart buffer pool handling but (as the version I've worked with) it does not provide a separate pool for acceptors; which I've done myself easily based on the already provided pool.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top