Test high load conditions
Test what the interface would look like if there are ~500 users making Solr requests at the same time
#2 Updated by Lauren Walker about 7 years ago
- translation missing: en.field_remaining_hours set to 0.0
- Status changed from New to Resolved
I wrote a Python script that sends 4 Solr randomly-generated queries (some with facets) typical to what MetacatUI sends each time a user performs a query in the MetacatUI app.
Using SANDBOX, this script was executed 100 - 500 times concurrently. I started getting "Connection reset by peer" errors closer to 500 connections, most likely because the MaxKeepAliveRequests is set to 100 on the CN Apache server. When running the test script ~100-400 times simultaneously, no host response errors were received.
During all the testing the UI was still quick to return Solr queries and I didn't experience any noticeable delay. Most requests had Solr query times less than 400 milliseconds.
The MetacatUI app uses the loading template in many of its UI "blocks" so that if longer response times are experienced, there will be a loading icon displayed.