Load Testing · Senior · Question 58 of 76

Why model long-lived connections separately in a test (e.g. WebSockets, SSE)?

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.

Further reading

Problem with a question

Load Testing · Senior · question 58

Test yourself

Take the Load Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz