Solved

VB.net Server/Client Advice

Posted on 2013-05-30
1
409 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 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

17 Experts available now in Live!

Get 1:1 Help Now