HTTP Ping Question

Posted on 2001-06-06
Last Modified: 2010-04-02
I have a few http servers in the network that I need to ping to find out which server is the closest route to send a service request.  I need to know what is the most efficient solution to this problem.  Please send suggestions.  This solution will be implemented in a COM component.

Thanks in advance
Question by:ramrocket
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
  • 3
  • 2
LVL 32

Expert Comment

ID: 6160575
This is a difficult problem without access to a "map" of the available routes.  A series of ICMP ECHO (i.e. PING) packets can be used to trace a network route from end to end (i.e. the common traceroute program) but this is not only time-consuming to run, but can cause you to be labelled a poor "netizen" by those being pinged if you do it too often.

Now if this is a private network and its topology is relatively stable, you may be able to make some sort of database of optimal route that machines could use.  For example, anytime A wants to talk to B it would query the database for the best route from A -> B.  Similarly, if it wanted to talk to C, it would again ask.

Seems like a lot of trouble though.  Usually network administrators setup routers and servers in such a manner as to make things work pretty smoothly for most situations.  So is this really a programming problem or might it be better solved by some network evaluation and engineering?
LVL 32

Accepted Solution

jhance earned 100 total points
ID: 6160581
Oh, I'm sorry, I'm told that we need to post all comments as ANSWERS to avoid unecessary confusion.

Expert Comment

ID: 6401483
This question was LOCKED with a PROPOSED ANSWER and awaits your decision today.  Once a question is LOCKED with a Proposed Answer, few new experts will step in to help on that question, since the assumption is, you've been helped.  If the Proposed Answer helped you, please accept it and award that expert.  If it did not help you, please reject it and add comments as to status and what else is needed.

If you wish to award multiple experts, just comment here with detail, I'll respond as soon as possible.  As it stands today, you asked the question, got help and not one expert was awarded for the contribution(s) made.  Your response is needed.  I'll monitor through month end, and if you've not returned to complete this, we'll need to decide.  Expert input is welcome (as always) to determine the outcome here if the Asker does not respond.

Your response in finalizing this (and ALL) your question(s) is appreciated.

Site-related HELP:
Community Support Moderator @ Experts Exchange

Expert Comment

ID: 6451124

You logged in recently, but did not return to update or finalize this question.

PLEASE RETURN here and accept/grade this if it helped you, or reject the proposed answer with comments as to what else is needed.

This remains open today, awaiting your next action.


Community Support Moderator @ Experts Exchange

Expert Comment

ID: 6811472
Community Support Moderator @ Experts Exchange

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

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