c# Scalable Socket Servers

H

.:: - Hades - ::.

Hi,

1. I am trying to find out something close to the Overlapped IO / Completion
Ports model
provided to me by the Winsock 2 library in C#.

The two ways provided to me to move towarsds scalable servers in C# would be

- Asynchronous Sockets [BeginAccept(), EndAccept() ]
- Non-blocking Socket Methods [Poll / Select()]

I know that the Completion Ports model is the most scalable model, which can
linearly scale
to the number of CPU's you add. But C# doesnt provide me that model.

2. I also have a requirement to port my code to FreeBSD .net Framawork
(Rotor)
or MONO.net with no/least changes to my code.


Based on these two requirements I want to know what is the best model to
choose.

Any ideas / comments ??
_____________
Hades
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top