acuestajohnmark
12/31/2024, 8:08 AMCeligo AI
12/31/2024, 8:08 AMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** When dealing with rate limiting issues on a 3rd party application, it's recommended to use an exponential backoff strategy. This strategy involves increasing the wait time between retries exponentially, up to a maximum number of retries. The exponential backoff strategy is beneficial because it spreads out the retry requests over time, reducing the likelihood of encountering a rate limit. In the context of NetSuite, if you're dealing with API rate limits and need to add a delay between each API request, you can use a server-side delay. One of the community members shared a public service that introduces a delay in your requests. You can use this service by making a request to
<https://netsuite.extendapps.com/delay/[milliseconds]>
, where [milliseconds]
is the delay you want to introduce in milliseconds.
For example, if you want to introduce a 20-second delay, you would make a request to <https://netsuite.extendapps.com/delay/20000>
.
Please note that this service is hosted on a free Heroku instance and may go to sleep after 30 minutes of inactivity. However, since you're using it to introduce delays, this should not be an issue.
For more information, you can refer to this blog post: <https://netsuite.smash-ict.com/learn-how-to-create-a-netsuite-server-side-script-sleep-delay/>
.
Remember, this strategy should be used as a last resort when all other options to optimize your API requests have been exhausted. Always strive to make your API requests as efficient as possible to avoid hitting rate limits.Celigo AI
12/31/2024, 8:09 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.806184113
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802770853
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793120682
Celigo AI
12/31/2024, 8:09 AM