Versions Compared

Key

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

...

Expand
titlepage size vs response time

Over time DAPI (1000 threads, 500 comments) slowed down over time.

Namereqs#failsAvgMinMaxMedianreq/s95%
GETGET_comment_list157930(0.00%)22016231162000.2340
GETGET_thread9550971(0.00%)214-8450920023.8290
GETGET_thread_list5109210(0.00%)44515559542011.6810
PATCHPATCH_comment157920(0.00%)33718738513200.2490
PATCHPATCH_thread17333164(0.94%)27316130192500.5400

When running a similar test with a more verbose output, we clearly saw that the page size had an effect on the response time. Although not shown here, larger content size was somewhat correlated to slower response times, but page_size had the better correlation.

Namereqs#failsAvgMinMaxMedianreq/s95%
GETpage=1&page_size=1002380(0.00%)79165519907500.4960
GETpage=2&page_size=1002820(0.00%)76265915267300.4910
GETpage=1&page_size=752400(0.00%)65154410386200.2830
GETpage=2&page_size=752550(0.00%)67757316286500820
GETpage=7&page_size=1002600(0.00%)56846126375200.4710
GETpage=6&page_size=1002320(0.00%)5594668435200.1710
GETpage=9&page_size=1002220(0.00%)56846019075300.5700
GETpage=3&page_size=1002620(0.00%)55646218075200.2700
GETpage=5&page_size=1002590(0.00%)55646313755100.3700
GETpage=4&page_size=1002760(0.00%)5554568405200.2690
GETpage=8&page_size=1002360(0.00%)5484689035200.1680
GETpage=3&page_size=752510(0.00%)54344513485100.3670
GETpage=2&page_size=502780(0.00%)50741511414800.5670
GETpage=1&page_size=502510(0.00%)51242510434900.1660
GETpage=8&page_size=752370(0.00%)48139716444400.1650
GETpage=3&page_size=502470(0.00%)5234519035000.4640
GETpage=6&page_size=752380(0.00%)49239816344500.3640
GETpage=4&page_size=752180(0.00%)4803958864400.2630
GETpage=7&page_size=752270(0.00%)4743917954400.5620
GETpage=5&page_size=752390(0.00%)46638813944400.2610
GETpage=4&page_size=502370(0.00%)45337110104200.2610
GETpage=9&page_size=752160(0.00%)4673979964300.4600
GETpage=6&page_size=502520(0.00%)39132110653600.4540
GETpage=5&page_size=252490(0.00%)39232313673700.4530
GETpage=7&page_size=502430(0.00%)3923199973600.4530
GETpage=9&page_size=502210(0.00%)3913306583600520
GETpage=8&page_size=502410(0.00%)38831713003600.4520
GETpage=5&page_size=502040(0.00%)3863227233600.1520
GETpage=2&page_size=252590(0.00%)36329911243400.4520
GETpage=1&page_size=252420(0.00%)37329611423500.4510
GETpage=4&page_size=252380(0.00%)36129211713400.3500
GETpage=6&page_size=252560(0.00%)3653126873500.3480
GETpage=3&page_size=252320(0.00%)3563027523400.9480
GETpage=7&page_size=252610(0.00%)3623105903500.1470
GETpage=9&page_size=252740(0.00%)3042547972800.3430
GETpage=8&page_size=252320(0.00%)3002536442800420
GETpage=8&page_size=12350(0.00%)22819110252100320
GETpage=3&page_size=12550(0.00%)23518511062200.2310
GETpage=9&page_size=12480(0.00%)23418411472100.3310
GETpage=5&page_size=12470(0.00%)2331868512200.5300
GETpage=7&page_size=12310(0.00%)23418821042200.3290
GETpage=2&page_size=12510(0.00%)2261879722200.4290
GETpage=1&page_size=12550(0.00%)2231864612100.3290
GETpage=4&page_size=12600(0.00%)2221884002100.3290
GETpage=6&page_size=12660(0.00%)2211873732200.1280

Pagination: GETting a single threads vs comment_count 
Anchor
pagination
pagination

    This tests takes the course BerkeleyX/ColWri2.2x/1T2014 (~38,000 threads, ~40,000 comments) and then retrieves a single thread. This thread is then grouped by its comment_count. This test was run for 1 hour. As expected, because of pagination issues, threads with more comments are taking longer to return. 

...