Thread: i'm back :)
View Single Post
Old 21.12.2005, 06:12   #4
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default Re:

I've been working on a C# version myself, its pretty incomplete right now as I'm working on bits and pieces, but I have a pretty much finished networking core right now which uses reusable socket and buffer pools for long term performance gains that take advantage of reusing sockets thanks to the new disconnect method, as well as smart thread pool driven async receive, send, and accept socket callbacks using new C# 2.0 generic queues and throttles.

This engine steps away from l2j's way of starting a new thread for each client connection (which causes performance problems around 200 - 300 players), I see no reason why this network core can't support 4000 players on a decent machine, probably more if compiled with large memory support on a x64 machine with 4gigs plus memory.

Compared to most emulators, lineage 2 packets are actually quite small and should require less overhead then alot of emulators even taking into account decrypting and encrypting. I see no reason why aiming for 10k users on one decent machine isn't feasible.

I've been mulling over database ideas and I/O right now, as thats my main concern for server bottle necking. SQL is nice, but I think it would be better to move away from it and aim for a high performance reusable engine, maybe a form of serialization or templating.

Anyway I've been doing it solo so its been slow going, but if you need help just drop me a PM, I'd be more then willing to join in on the project.
Sindol is offline