Project

General

Profile

Actions

Task #6779

closed

Test high load conditions

Added by Lauren Walker over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
06/04/2015
Due date:
% Done:

0%

Estimated time:

Description

Test what the interface would look like if there are ~500 users making Solr requests at the same time

Actions #1

Updated by Lauren Walker over 9 years ago

  • Parent task deleted (#6716)
Actions #2

Updated by Lauren Walker over 9 years ago

  • Status changed from New to Resolved
  • translation missing: en.field_remaining_hours set to 0.0

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.

Actions

Also available in: Atom PDF