Link to home
Start Free TrialLog in
Avatar of ramrocket
ramrocket

asked on

HTTP Ping Question

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
Avatar of jhance
jhance

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?
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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:  https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
Moondancer
Community Support Moderator @ Experts Exchange
ramrocket,

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.

Thanks,

Moondancer
Community Support Moderator @ Experts Exchange
Finalized
Moondancer
Community Support Moderator @ Experts Exchange