473,544 Members | 680 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple client connections advise

Hi,

I'm about to embark on a project that will both send and receive information
to/from our client computers in the field.

The area that I still need to finalize is the method of communication and
the technology to use.

The following will be true:

1. Communications will need to be over the internet and each client will
have a continuous connection to the internet (DSL or cable modem), but its
IP address could fluctuate.
2. We cannot connect to our clients due to firewall considerations, so the
client must connect to our server.

3. There could between 100 and 2000 clients
4. The remote clients will need to send information to our server.
5. We will need to be able to send information to our clients with a
reasonable delay (a minute or so is fine), so the client will either have to
check in frequently with the server or remain connected for long periods of
time.
6. Communications must be secure


I have started looking at WSE 3 and it looks like a good option for
communication and will allow us to integrate easily with WCF in the future.
However, I'm not sure how well web services using WSE can handle hundreds of
multiple client connections.

Can a WSE web service handle multiple connections (on the order of 1000 or
more) at the same time?

Is it a better idea to have the client check in once a minute or just stay
connected to the server?

Should I be considering some other technology?

Any help from those that may have some experience in these matters would be
much appreciated.


Dave


Oct 16 '06 #1
3 2281
"D. Yates" <fo****@hotmail .comwrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi,

I'm about to embark on a project that will both send and receive
information to/from our client computers in the field.

The area that I still need to finalize is the method of communication and
the technology to use.

The following will be true:

1. Communications will need to be over the internet and each client will
have a continuous connection to the internet (DSL or cable modem), but its
IP address could fluctuate.
2. We cannot connect to our clients due to firewall considerations, so
the client must connect to our server.

3. There could between 100 and 2000 clients
4. The remote clients will need to send information to our server.
5. We will need to be able to send information to our clients with a
reasonable delay (a minute or so is fine), so the client will either have
to check in frequently with the server or remain connected for long
periods of time.
6. Communications must be secure


I have started looking at WSE 3 and it looks like a good option for
communication and will allow us to integrate easily with WCF in the
future. However, I'm not sure how well web services using WSE can handle
hundreds of multiple client connections.

Can a WSE web service handle multiple connections (on the order of 1000 or
more) at the same time?

Is it a better idea to have the client check in once a minute or just stay
connected to the server?

Should I be considering some other technology?

Any help from those that may have some experience in these matters would
be much appreciated.
I would look at either Web Services or Remoting. Both styles will be
supported in WCF.

I would not maintain connections which will largely be idle, unless there's
s substantial setup time for the connections. For instance, if
authentication is expensive and only lasts for a single connection, then you
might want to keep the connection open.

Otherwise, let the client connect when it needs to. The Web Services
infrastructure will do this for you.

John
Oct 16 '06 #2
John,

Thanks for your reply.

If my clients don't use a continuous connection with my web service and
check in every 30 - 60 seconds to see if they need to do some work, what
suggestion do you have for this scenario?

I'm thinking that I could setup two web services. One web service (A)
accepts the periodic check in from the clients and lets them know if they
need to connect to the other web service (B) and accept some work based upon
a flag in a database. Connections to web service A would NOT be secure (to
reduce overhead) and connections to web service B would be secure and
provide the client with some work via a secure tunnel.

Thoughts?

Dave
Oct 16 '06 #3
"D. Yates" <fo****@hotmail .comwrote in message
news:uL******** ******@TK2MSFTN GP05.phx.gbl...
John,

Thanks for your reply.

If my clients don't use a continuous connection with my web service and
check in every 30 - 60 seconds to see if they need to do some work, what
suggestion do you have for this scenario?

I'm thinking that I could setup two web services. One web service (A)
accepts the periodic check in from the clients and lets them know if they
need to connect to the other web service (B) and accept some work based
upon a flag in a database. Connections to web service A would NOT be
secure (to reduce overhead) and connections to web service B would be
secure and provide the client with some work via a secure tunnel.

Thoughts?
This makes sense.

John
Oct 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
7465
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I have an series of interactive HTML forms. The user begins a Cookie session. A database connection is opened and a transaction is begun. After the...
3
9093
by: Adam | last post by:
My telnet server app. creates a new thread for each incoming Tcp client as shown in the code below. How can the client threads send text messages back and forth to each other? I don't understand how separate threads can communicate directly. Any techniques I can use? Thanks! //LISTENER THREAD class Server { static void Main(string args)
6
4422
by: Quiet Man | last post by:
Hi all, I'm designing a fairly simple service that will run on W2K/SP4 and W2K3 servers. It's job is to be a very specialized database server that listens on a given IP address / TCP port and handles multiple connections. Client programs will make a connection and pass text strings to the service, which will then return a value for each of...
9
23057
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated to a pool. If I assign only one application to a applicaton pool and have multiple worker processes assigned to that pool. Will my application be...
1
6299
by: VITAS | last post by:
Hi Im trying to program a irc client and got stuck in trying to establish multiple server connections. The core problem is, that i dont know how many connections i will be using so i tried a array with the type tcpclient, but it doesnt work. my code: Public Class IRCtest
1
1490
by: VITAS | last post by:
Hi Im trying to program a irc client and got stuck in trying to establish multiple server connections. The core problem is, that i dont know how many connections i will be using so i tried a array with the type tcpclient, but it doesnt work. my code: Public Class IRCtest
2
7100
by: jasonsgeiger | last post by:
From: "Factor" <jasonsgeiger@gmail.com> Newsgroups: microsoft.public.in.csharp Subject: Multiple Clients, One port Date: Wed, 19 Apr 2006 09:36:02 -0700 I'm been working with sockets for a short while now using a server program a former coworker started. The program listens on a port for incomming connections. When a valid connection is...
35
9304
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from 500000 to 3200000 of a file whose size is say 20MB... how do i request a download which starts directly at 500000th byte... thank u cheers
5
4476
by: Chamnap | last post by:
Hello, I want to implement multiple uploads with multiple iframe posting to the server at the same time. Do all of you think it is possible to do this? Does this ways has any drawbacks? Give me some idea, please. Thanks Chamnap
0
7429
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7368
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7614
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7777
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
3420
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3414
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1844
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
990
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
671
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.