Solved

VB.net Server/Client Advice

Posted on 2013-05-30
1
410 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
1 Comment
 
LVL 35

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now