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

Shinyee Tong (International Supplier) 100 Reputation points Microsoft Vendor
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 Custom Search
Bing Custom Search
An easy-to-use, ad-free, commercial-grade search tool that lets you deliver the results you want.
78 questions
{count} votes

Accepted answer
  1. Azar 19,245 Reputation points
    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