Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB.net Server/Client Advice

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

670 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