Hello everyone,
I’m facing an issue with the speed of the responses I’m receiving from the API.
I’m making 100 parallel calls from one user and repeating this process 10 times, resulting in less than 1000 calls per minute. Here’s the code snippet that I’m using:
_boxClientCredentialsGrant = new BoxCCGAuth(boxConfig);
_userclient = _boxClientCredentialsGrant.UserClient(_testUserId);
// This part in paralel 100 times
// iterate 10 times
var result = await _userclient.UsersManager.GetCurrentUserInformationAsync();
The blue line is the performance in average pro call in this scenario
I’m wondering if there are additional optimizations that I can implement to receive faster responses to these API calls and process them more quickly. Has anyone had experience with performance optimization? I’m questioning whether the current performance is acceptable or if there are further optimizations I can make on my end. For example, should I consider using an HTTP client instead of the SDK or any other approaches that I might not be aware of?
I would be grateful for any suggestions or guidance.
Thank you in advance.