-
Client server app
Hi All,
Just after a few ideas, and to see if the path I'm heading down is the correct one.
I want to build a client server application, we will have roughly 200 clients. Each client will recive an update from the server every 2 seconds or so. The update will just be an integer value, so not a lot of data really.
My current plan is to create a WCF application, and set up duplex communication between the clients and the server. Stick a timer in the server app and then send an update to my clients every 2 seconds.
Will be a bit more logic in the update as not evey client will need updating, but the above is roughly the plan.
So is wcf the right choice for a simple client server program? or should I be using something else?
Just any thoughts really.
Thanks.
-
Re: Client server app
Hmmm... Why not just get the running clients to get the data from the server when it is needed? That will take the logic out of the server.
-
Re: Client server app
The clients don't know when they need updating.
As the server is pulling data from various places which the clients themselves don't have access to.
So every two seconds the server pulls in various chunks of data, manipulates it a bit and then pushes it out to the clients who are interested. Depending on what data has changed depends on what clients are interested.