My App in Freshdesk can be used by more than 100 agents at a time. I checked with 60 agents at a time for load testing. While all the agents making particular action at the same time Request API sending the request to my Node Application. In testing, I am exceeding 50 requests per minute and getting an issue as in the image.
If more than 50 agents make any requests from the app at the same minute-window, the Request API rate-limit will be breached. But, to make us clear on how is the concurrent users is calculated, could you please provide the following details to understand the app’s intention and usage?
Is it a custom app or Marketplace app?
If it’s a custom app, what is the number of the agents of the account?
What is the expected count of concurrent users of the app?
Does the app make any request upon first-time app loading?
For one ideal workflow of the app, how many request the app makes for one agent?
Intention of the App is to send the response of third party solution and make request API based on the response to get Freshdesk Ticket/Contact/Company info.
I will publish the App in the marketplace within 6 weeks. I tested the same as a custom app. There I opened 60 tabs for 3 different agents. While I am making a operation in my third party software the Node Application send the response to Freshdesk App through the socket connection (here it needs to send all 60 tabs). After receiving the response I am making Request API call to get ticket and contact details from Freshdesk. Here I am getting the error.
Also in real time I am expecting that the client will make atleast 100 request per minute (they have 200 agents). While opening my App, I am making 2 Request API and expecting atleast 60-70 agents will open the App every minute (concurrently open the App) as the client requirement.