Web Services or Sockets?
- From: Joe <Joe@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Apr 2005 12:12:02 -0700
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!
.
- Follow-Ups:
- RE: Web Services or Sockets?
- From: Eric Giles
- RE: Web Services or Sockets?
- From: Dan Kelley
- Re: Web Services or Sockets?
- From: richlm
- RE: Web Services or Sockets?
- Prev by Date: serialization question
- Next by Date: Re: Web Services or Sockets?
- Previous by thread: serialization question
- Next by thread: Re: Web Services or Sockets?
- Index(es):
Relevant Pages
|