nDash.com is a content creation platform that provides brands and agencies with access to the world's top freelance writers.

Idea from Yulia Lukashina


Finding Optimal Number of Threads for an API Call


The article elaborates on a use case when an application fetches data from a public API. To accelerate the response time, one may use asynchronous threading. But an API may have limits on processing too many threads or get busier during rush hours. A developer would need an automated test that requests the data using different number of threads, runs multiple times, and provides an opportunity to analyze the results. Based on my previous article in a data science journal (see the link below).


Yulia Lukashina


  • https://towardsdatascience.com/testing-a-python-based-api-call-with-a-data-science-charm-8aeee0d63432