Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB.net Server/Client Advice

Posted on 2013-05-30
1
Medium Priority
?
426 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 36

Accepted Solution

by:
Miguel Oz earned 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses

877 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