Solved

VB.net Server/Client Advice

Posted on 2013-05-30
1
418 Views
Last Modified: 2013-06-02
Hi,

I need to make a client/server application that allows clients to view realtime data. The data comes from an external telnet server that isn't built to handle multiple connections.

I have two issues.

1) Last time I made a client/server application, some users couldn't get it to work due to firewall issues on the client's side.
To avoid firewall issues, I thought that using a Web Service would be best. However, does it cause high server load if loads of clients are continously polling every 3 seconds?

2) Data updates are continously received via the telnet connection. To reduce load on the telnet server, my server application will need to store the data updates to be able to pass down to the client through the webservice.
The only way I know to share data between the vb.net application (thats connected to the telnet connection) and a vb.net webservice (that sends the updates to the clients) is to write the data to disk. However, the data will change often and sometimes quite quickly.
Is there a better way of passing data to a webservice from an application?

Any advice appreciated.
Thanks
Dan
0
Comment
Question by:DanJourno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 39213660
1) web services (especially WCF) can handle muliple requests per second depending on size and hosting environment.
2) Why creating two applications? Let your web service handles the telnet connection and update to clients. My educated guess (I do not know full details of yor design) is that very time you receive a telnet update then your web service wil process it and broadcasst the info to the clients. All this can be done in memory depending of data size but it is possible to use a file as long as you can lock it for multiple read exclusive write.

For WCF tutorials check:
http://www.switchonthecode.com/tutorials/wcf-tutorial-basic-interprocess-communication
http://www.xvpj.net/2008/03/08/wcf-step-by-step-tutorial/
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question