RE: Web Services or Sockets?
- From: "Eric Giles" <EricGiles@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 18:05:03 -0700
You might want to consider using Web Services via WSE 2.0. It becomes a
simple thing to start a listener at one end and post data to it in the form
of SOAP envelopes. It certainly would be far more extensible if you use a
push architecture as you will be able to support far more clients. In terms
of the issues involved with ports and firewalls/NAT, there is some very
pertinent information about this being written regarding SOAP routing
protocols. There will always be issues though if you decide to move away from
port 80 traffic however as you still require the specific ports to be open.
SQL Notification services would certainly be one way to achieve the pub/sub
scenario however will not relieve the issues related to firewalls/NAT. It is
also something that is certainly not a requirement to support this type of
scenario.
I would be looking at some of the newer specification work with regard to
SOAP routers, WS-Eventing etc. as this would offer you an extensible method
of delivering info to your clients using standards so you get the bits of Web
Services that make it simple to use and the ability to support sockets etc.
via WSE 2.0.
"Joe" wrote:
> I am looking to create a Windows Forms application that would get
> notifications from the server when data changes or it gets an instant message
> from other users. This application would have to work at different sites
> over the internet. The two technologies I am looking at are Web Services or
> Sockets. Would it be okay to have a client (lets say 500 clients) poll a web
> service every 5 seconds for messages? The messages will be stored in a MSMQ
> queue on the server and returned to the client through the web service
> call. This is the direction I would like to go for several reasons. Reason
> one; I don’t have to worry about the socket programming. Reason two is that
> some of the clients might be mobile going in and out of coverage breaking the
> socket connection.
>
> So my question is will polling the service be too much network traffic?
> Does polling a web service utilize more server recourses then streaming
> sockets? I am thinking it will, but I am hoping somebody will tell me
> otherwise!
>
> Thanks for any help or information!
>
.
- References:
- Web Services or Sockets?
- From: Joe
- Web Services or Sockets?
- Prev by Date: Re: VB.NET application install error
- Next by Date: RE: Application won't start without Visual Studio
- Previous by thread: Re: Web Services or Sockets?
- Next by thread: Autostart service needs network availability
- Index(es):
Relevant Pages
|
Loading