The most reliable way to download data over HTTP

370 Views Asked by At

What is the most reliable choice of programming language / technology to perform requests and, most important, retrieve correct and full responses from an HTTP server which is under very heavy load, often yielding HTTP 503 Service Unavailable or just taking too much time to respond. What is the way to retrive data from such server which will pretty much guarantee, that all data will be downloaded properly and in fastest possible time?

1

There are 1 best solutions below

0
On

Given the situation where your application has no special treatment from the server, you will have to just keep trying until the server gives you the page.

Keep in mind that this may be a very bad idea during actual server outages (not just high-load) so you may want to report failure to the user and tell them to try again later.