I am trying to write a pair of client/server apps.
The server app will run on a single machine on a network. The client app will run on up to five computers on the same LAN as the server app. One of these may or may not be the same machine as the server app.
So far I have developed the following:
The server app starts up and logs all actions to a SQL database.
The client app starts up, gets a username and password and validates them via the server app, and then polls the server app once per minute to make sure it is still running.
The server app implements a WCF service, and the client app connects to this to verify the username and password, and to poll the server app.
If I just run the server and client on the same computer it works fine.
When I try to connect the client app on a different computer on the LAN, it works, but it is *very* slow.
If I try to connect two or three client apps, I get timeouts all over the place!
Am I wrong to try and do this with WCF, and if so, what should I be using?
If WCF is the right approach, why is the performance so terrible?