Answer the question
In order to leave comments, you need to log in
How to speed up api loading?
When loading 2500 history of cryptocurrencies through api, the server issues a 502 error. How to speed up or optimize the download? Or solve the problem in a different way?
Answer the question
In order to leave comments, you need to log in
The problem can occur for various reasons (not enough resources to generate a response, not enough RAM, a long time to generate a response and the request ends by timeout)
Without seeing the code and not knowing the API, it will not be possible to give exact advice, but I can advise a universal solution:
do not send heavy requests to the API - request data in parts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question