Bing search API is slow, sometimes. Could advise if anything i need to pay attention?

Shinyee Tong (International Supplier) 100 Reputation points Microsoft External Staff
2023-12-19T07:00:42.1933333+00:00

I used the bing search API in my application.

Sometimes the response time maybe a little bit slow

I used this API for some query of the weather or the train time line check.

Could advise if anything that i need to pay attention for the API used in the application?

Bing | Bing Search APIs | Bing Custom Search API
{count} votes

Accepted answer
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2023-12-19T08:21:00.18+00:00

    Hi Shinyee Tong (International Supplier)

    When using this API or any external API, there are several factors can affect the response time and overall performance of your application. I can drop you a few recomendations.

    Review the API documentation provided by Bing to understand their recommended best practices, rate limits, and any specific guidelines they provide for optimizing performance.

    Also be aware of the rate limits imposed by the API. If you exceed the allowed number of requests in a given period, your application may be slower than usual Adjust your application's usage to stay within the specified limits.

    Consider implementing caching mechanisms to store responses for common queries. This can help reduce the number of API calls and improve response times for frequently requested data. However, be cautious with caching for real-time data like weather, as the information may change frequently.

    If this helps kindly accept the answer thanks much.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.