Versions Compared

Key

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

Tests were performed on the original, unoptimized Courses API. These tests are not meant to be comprehensive; they are just to confirm that the API does in fact need serious optimization work.

 

Tests were performed with a single user waiting 1000 ms between requests.

...

Details:

  • Endpoint: /api/course_structure/v0/courses/<course_key>/blocks+navigation
  • Number of users: 1
  • User wait per request: 1000 ms
blocks+navigation blocks+navigation
Course key# Requests madeReq/sMedian response time (ms)95% response time (ms)(Link to X-Ray trace)
edX/DemoX.1/2014blocks    
navigation    
3430.576901400https://rpm.newrelic.com/accounts/88178/key_transactions/14280/x_rays/1744

course-v1:edx+DemoX.1+LT_SPLIT

blocks   

 
navigation    
blocks+navigation2060.3418002700 

MITx/6.002x/2013_Spring

blocks    navigation

   blocks+navigation350.061600021000 

course-v1:MITx+6.002x_6x+1T2015

blocks    
navigation    

300.051800022000https://rpm.newrelic.com/accounts/88178/key_transactions/14280/x_rays/1745