I think you should also throw in the mix MSMQ. It has a very simple API, you
have asynchronous modes available on the receiving side, plus timeout,
binary distribution, confirmations, broadcasting (IIRC) and whatnot. You can
get cross platform support (to some extent) and the solution offers good
performance.
Just my 2c.
Regards,
Eddie

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Muhammad Adel
Sent: Monday, September 18, 2006 12:04 PM
To: [email protected]
Subject: [ADVANCED-DOTNET] Sockets,Remoting or webservices, which is better
for this scenario?


I was discussing with a friend developer the best connection method for an
application he is building. I thought it would be fine to get some opinions
from you here. This is the situation:
There would be a server application and clients connecting to this
application. the client should get messages every minute to update the data
it is displaying. These messages should contain datasets that are displayed
to the client. The number of clients connecting to the server at the same
time would be about 1000 clients
The question is what is the best way to connect the clients to the server?
remoting,sockets or webservices?
I guess that using sockets to maintain a connection to clients would require
a thread for each connection, otherwise the server would be closing
connections and restarting them to connect to clients with small number of
threads.
The performance difference between sockets and remoting (Using TCP channel)
is not very great as I have read before, so there are two main options now
for connection: Remotig and webservices.
The webservices are better in terms of future modifications and cross
plafrom support. remoting will not be supported in the near future in the
WCF as I heared in one of Microsoft conferences here in Egypt.
Remoting is better in terms of performance but how much is the difference?
will remoting be twice as fast as webservices for example?

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to