Test performance of call number browsing

MSEARCH-300 - Getting issue details... STATUS



Environment

Summary

Test 1 user call number browsing with random words.

Test 5 users call number browsing with random words.

Test 10 users call number browsing with random words.

Test 20 users call number browsing with random words.

Test 50 users call number browsing with random words.

Test with long ramp-up period, 1 minute per user from 0 to 25 users

Environment

  • mod-search 1.6.4
  • OpenSearch service
    • nodes type r6g.large.search (X4) * (4 data nodes 3 dedicated master nodes);

    • version OpenSearch 1.2 (latest);
  • kafka 2.8.0

Summary

  • ALL tests (1-50 users) ended without errors. Average response time . most resource intensive is mod-search. During test 50 users call number browsing  CPU usage reached more than 300%
  • During tests 50 users with background activities (CICO+ Data Import) response time increased up to 10%-15%.
number of usersaverage rt% CPU mod-search
10.14812
50.16842
100.19175
200.321122
501.821158



1 user 


RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers17471747002.2200.0530.1420.1660.2550.3080.6870.1480.251




5 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers821982190010.6930.0480.1500.1880.2950.4190.9200.1680.292


10 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers12741127410020.3130.0510.1610.2330.3870.5841.4370.1910.384



20 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers12193121930032.1690.0520.2450.4410.7391.0252.4410.3210.736



50 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers784978490038.4850.0810.9631.2591.8232.1823.2750.9961.821

50 users 30 min (10 min ramp up)

50 users + DI in background

50 users +DI 5K in background

RTT without background activity

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers "BT83.57 .N625 2013"1027610276009.3490.0460.1610.2340.4010.7791.5470.1920.401
GET_browse _call_numbers "CC76.4 .C66 2013"1027510275009.3520.0460.1690.2430.4020.8061.7360.1990.402
GET_browse _call_numbers "DT107.827.L32 1987"1027710277009.3460.0500.1690.2420.4000.8101.7210.1980.399
GET_browse _call_numbers "G3893.M5 1923 .W4"1027510275009.3360.0530.1730.2480.4070.8211.7530.2030.407
GET_browse _call_numbers "LC4019 .H83 2012"1027510275009.3550.0560.1810.2530.4180.8231.6060.2100.418
GET_browse _call_numbers "N6370 .C585 2013eb"1027610276009.3430.0540.1700.2430.3970.7631.8470.1990.397
GET_browse _call_numbers "P302.77 .P67 2013"1027310273009.3490.0620.1920.2670.4330.8081.8800.2220.433
GET_browse _call_numbers "PR2274 .P7 1633"1027710277009.3340.0470.1680.2450.4110.8111.8150.2010.411
GET_browse _call_numbers "TL220 .B85 2012"1027610276009.3390.0430.1510.2240.3830.7341.7650.1820.383
GET_browse _call_numbers "Z711 .C88 2013"1027510275009.3500.0930.2600.3390.5070.9952.0740.2890.507


RTT with DI in the background.

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers "BT83.57 .N625 2013"20722072009.2800.0540.2110.2930.4600.7551.4230.2390.460
GET_browse _call_numbers "CC76.4 .C66 2013"20732073009.2820.0510.2240.3060.4690.7171.4190.2490.469
GET_browse _call_numbers "DT107.827.L32 1987"20732073009.2770.0530.2160.2970.4610.6841.3590.2410.460
GET_browse _call_numbers "G3893.M5 1923 .W4"20732073009.2700.0580.2170.3020.4620.7251.3320.2440.462
GET_browse _call_numbers "LC4019 .H83 2012"20712071009.2830.0670.2340.3140.4840.7421.3300.2610.484
GET_browse _call_numbers "N6370 .C585 2013eb"20732073009.2750.0600.2180.2980.4640.6901.4540.2460.464
GET_browse _call_numbers "P302.77 .P67 2013"20712071009.2780.0680.2400.3250.5000.7521.4840.2680.500
GET_browse _call_numbers "PR2274 .P7 1633"20742074009.2660.0490.2210.3040.4640.6911.4850.2450.464
GET_browse _call_numbers "TL220 .B85 2012"20722072009.2730.0440.1980.2740.4380.6711.4490.2250.437
GET_browse _call_numbers "Z711 .C88 2013"20752075009.2820.1030.3150.4060.5910.8711.6040.3400.591




average real call numbers from database0.2095
average random words0.326


Comparison chart - call number browsing real keys + data import 5K in background

Call number browsing with background CICO activity.

A large usage of processor resources is observed in the mod-search module during call number browsing. I guess  need to increase the processor resources in task definition of this module.

Grafana chart from test - random keywords.

Grafana chart from test - real keywords from database.

SELECT jsonb -> effectiveCallNumberComponents →> 'callNumber')    FROM fs09000000_mod_inventory_storage.item WHERE jsonb -> effectiveCallNumberComponents →'callNumber'  is not null limit 10



50 users call number browsing random words + 10 user CICO in background


RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers BT83.57 .N625 201352995299008.5660.0480.1720.2680.4750.8022.9810.2140.475
GET_browse _call_numbers CC76.4 .C66 201352975297008.5690.0500.1780.2820.4860.8842.2490.2240.485
GET_browse _call_numbers DT107.827.L32 198752975297008.5610.0520.1810.2810.5020.9222.4850.2260.502
GET_browse _call_numbers G3893.M5 1923 .W452975297008.5490.0540.1820.2890.5110.8822.7420.2300.511
GET_browse _call_numbers LC4019 .H83 201252985298008.5760.0580.1930.2900.5130.8792.3370.2370.513
GET_browse _call_numbers N6370 .C585 2013eb52965296008.5560.0540.1780.2720.4910.8692.3020.2230.491
GET_browse _call_numbers P302.77 .P67 201352975297008.5620.0660.2040.3100.5270.8622.9160.2500.527
GET_browse _call_numbers PR2274 .P7 163352995299008.5470.0480.1820.2800.5040.9032.1420.2280.504
GET_browse _call_numbers TL220 .B85 201252975297008.5520.0430.1620.2590.4660.8472.2240.2070.466
GET_browse _call_numbers Z711 .C88 201353005300008.5720.0910.2620.3870.6471.1572.9920.3180.647


call number browsing W/O background process


RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers BT83.57 .N625 201327732773007.7570.0470.1440.2230.3780.7782.2920.1810.378
GET_browse _call_numbers CC76.4 .C66 201327722772007.7620.0500.1590.2400.4090.8041.5940.1950.409
GET_browse _call_numbers DT107.827.L32 198727742774007.7470.0500.1570.2400.4020.7922.0290.1930.401
GET_browse _call_numbers G3893.M5 1923 .W427702770007.7260.0530.1680.2530.4150.7121.6550.2010.415
GET_browse _call_numbers LC4019 .H83 201227732773007.7720.0590.1680.2550.4150.8891.4850.2060.415
GET_browse _call_numbers N6370 .C585 2013eb27742774007.7420.0540.1600.2350.4020.7581.4030.1950.402
GET_browse _call_numbers P302.77 .P67 201327732773007.7510.0670.1860.2700.4310.7971.7440.2210.431
GET_browse _call_numbers PR2274 .P7 163327712771007.7200.0500.1600.2400.4080.8091.8450.1980.408
GET_browse _call_numbers TL220 .B85 201227762776007.7360.0410.1400.2130.3810.8161.2940.1750.381
GET_browse _call_numbers Z711 .C88 201327742774007.7680.0900.2500.3480.5260.9341.7750.2840.526

Average response times chart (blue- callnumber browsing random words, orange - call number browsing random words + CICO 10 users)_

it can be seen that the response time slightly (15%) increases when working with CICO in background.


long ramp-up period, 1 minute per user from 0 to 25 users



Call  number browsing + DI + CICO



Call number browsing with old cluster

1 user

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers26432643002.2330.0440.1250.1640.2850.4940.9480.1450.278

10 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers25569255690021.3630.0430.1380.1940.3500.6111.9370.1670.346

20 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers41155411550035.0260.0410.1960.3550.6711.0782.6250.2710.669

50 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers1033981033980089.4370.0410.2110.3130.5340.8962.1460.2510.530

100 users

RequestsTotalOKKO% KOReq/sMin50th pct75th pct95th pct99th pctMaxAverageLatency
GET_browse _call_numbers1068651068650093.8360.0440.7270.9781.3942.0734.7130.7581.389




users

new

cluster

old 

cluster

10.1480.145
100.1910.167
200.3210.271
501.8210.251