We are trying to send 2000 requests to Alfresco content service(On-premise setup) with 20 users in 100 seconds as per our project use case. We are getting below errors:
ETIMEDOUT: 410 , ESOCKETTIMEDOUT: 61
Is it the expected behavior? Is there any rate limit on the service?
How are you making the requests?
We are using request module from node js in our project. There we got the multiple timeouts while sending the multiple requests to Alfresco service. So we tried stand-alone program with 'Artillery' utility just to check if it is really a Alfresco issue. Atillery utility requires endpoint url and authentication information in yaml file just like below:
config: target: 'http://<host:port>' phases: - duration: 100 arrivalRate: 20 defaults: headers: Authorization: 'Basic <authentication_token>' scenarios: - flow: - get: url: "/browser"
Getting reply as below:
Summary report @ 10:30:54(+0530) 2020-01-17 Scenarios launched: 2000 Scenarios completed: 1544 Requests completed: 1544 RPS sent: 16.6 Request latency: min: 66.1 max: 22129 median: 107.4 p95: 15087.9 p99: 16574.7 Scenario counts: 0: 2000 (100%) Codes: 200: 1544 Errors: ETIMEDOUT: 456
Here, can see ETIMEDOUT is thrown from 456 requests among 2000.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.