Mobile app version of vmapp.org
Login or Join
Ann8826881

: How do I pick a host with the fastest access to a third party API? I'm developing an application that relies on an API that is very time-sensitive. Every millisecond advantage I have over

@Ann8826881

Posted in: #Api #Cdn #Optimization #Performance #WebHosting

I'm developing an application that relies on an API that is very time-sensitive. Every millisecond advantage I have over my competitors the better.

Is there a good way to determine the optimal webhost/data centre choice for my application short of getting accounts at various hosts and testing?

To complicate this particular situation further the API I am targeting is behind a CDN/DDos protection service with various endpoint locations. So, as far as I can tell pings only measure the time to the endpoint not the roundtrip to the machine hosting the API itself.

I have some guesses but do not know where the API is hosted. And if I did, would the right choice of host be located at the CDN endpoint closest to the API machine?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann8826881

2 Comments

Sorted by latest first Latest Oldest Best

 

@Yeniel560

Are you working on financial data? I know for sure that when you get access to financial data API, you can request their support to get the best hosting solution, best being most probably collocated solutions where your servers are in the same data center, or better, same racks as theirs. However, that comes at a price.

Could you be more specific on what kind of data you're working with, why it is millisecond sensitive, and maybe who's your provider? That may help tailor a more targeted answer...

10% popularity Vote Up Vote Down


 

@Welton855

The CDN endpoint is all that you can target here, because anything that happens behind the CDN is really out of your control (unless you can actually query the API server directly, which would negate their having a CDN). If the CDN is also geographically optimised, it should automatically route you to the endpoint closest to you so the hosting difference is negligible.

If it doesn't (or doesn't do it well), your best bet is to use a host that is geographically closest to the CDN endpoint.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme