Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleInitial mixed course test

Course Sizereqs#failsAvgMinMaxMedianreq/s95%
LargeGET_comment_list1060(0.00%)864263468068002700
 GET_thread60530(0.00%)21315612712000.3280
 GET_thread_list2928240(7.58%)1012175546510000.21800
 PATCH_comment1060(0.00%)1017305473879002700
 PATCH_thread813(3.57%)681167408342002000
SmallGET_comment_list30540(0.00%)24714314842100.2550
 GET_thread1834991(0.00%)1870624718028.1250
 GET_thread_list9748821(0.02%)501141668542012.71100
 PATCH_comment30541(0.03%)36817343453300.1750
 PATCH_thread330543(1.28%)28714025842500.2570

The chart below is the SMES/ASLCx/1T2015 (1700 Threads, 3047 comments) loadtest by itself for reference. These numbers are not comparable since the test in the chart below was at 10 users vs 20 users in the above test.

Namereqs#failsAvgMinMaxMedianreq/s95%
GETGET_comment_list3240(0.00%)22113910361900.1460
GETGET_thread204850(0.00%)168124207917012.7220
GETGET_thread_list109190(0.00%)46113216774505.6840
PATCHPATCH_comment3250(0.00%)34817613543000.1720
PATCHPATCH_thread3563(0.84%)2721348952300.2500

Addressing the 500s:

    Although only present on the larger courses, a significant amount of 500s were being returned. A solution has been proposed to include an index to account for this but for now in order to continue the load tests, the offending parameters "last_activity_at" and "asc" will be removed from out random selection. This also means that our thread retrieval for PATCHing (and DELETEing which has been disabled) will be less random, but sufficiently random. By removing these parameters, we hope to get rid of these 500s and see a performance improvement for large and small courses.

...

Expand
titleTsinghuaX/00690242_2x/3T2014 (29 threads, 155 comments)

 

Namereqs#failsAvgMinMaxMedianreq/s95%
GETGET_comment_list5140(0.00%)1761335141700.2240
GETGET_thread297340(0.00%)164126216216019.2220
GETGET_thread_list157380(0.00%)195123142715010.1340
PATCHPATCH_comment5120(0.00%)31016723772900.4520
PATCHPATCH_thread5068(1.56%)23913632932200.3380

After adding indices:

Expand
Coursereqs#failsAvgMinMaxMedianreq/s95%
LargeGET_comment_list600(0.00%)38619110953300760
 GET_thread35410(0.00%)240919412201.8360
 GET_thread_list1620238(12.81%)103718753809200.72200
 PATCH_comment600(0.00%)51922611314800970
 PATCH_thread650(0.00%)38417320593200770
SmallGET_comment_list18460(0.00%)24015211712100.4400
 GET_thread1110040(0.00%)222-25239520026.1340
 GET_thread_list59369151(0.25%)603-25581755012.81200
 PATCH_comment18377(0.38%)40218225823500.4770
 PATCH_thread199535(1.72%)31014816112700.4550

NEXT STEPS:

Run with new index.

...