Load Testing · Middle · Question 14 of 76
Why load a big CSV of users with SharedArray?
- 1The data is loaded once and shared, instead of a copy in every VU
- 2SharedArray sends the data to the server before the test
- 3SharedArray encrypts the data so passwords aren't logged
Show the answer
Correct answer: The data is loaded once and shared, instead of a copy in every VU
Explanation
Each VU is a separate JS runtime. A normal array is copied into each of them, which with 1000 VUs can use gigabytes of memory.