Load Testing · Senior · Question 58 of 76
Why model long-lived connections separately in a test (e.g. WebSockets, SSE)?
- 1Load tools count them as normal short HTTP requests
- 2They hold memory and file descriptors per user, not per request
- 3They don't use any server resources after connecting
Show the answer
Correct answer: They hold memory and file descriptors per user, not per request
Explanation
Capacity is often limited by open connections, not RPS. Test how many you can hold and what happens on mass reconnects after a deploy.