CICO + DI "random_page_cost" DB parameter experiments Test Report (Sunflower) [Eureka] [ECS]

CICO + DI "random_page_cost" DB parameter experiments Test Report (Sunflower) [Eureka] [ECS]

Overview

  • Combined Check-in Check-out (CICO) + Data Import workflow on Eureka based environment in Sunflower ECS release.

  • The purpose of testing is to determine whether setting random_page_cost to 1.1 has any impact on database behavior or performance.

  • Test was carried out on member tenant.

  • Compare results with random_page_cost default = 4 and 1.1.

  • The current ticket: https://folio-org.atlassian.net/browse/PERF-1157

Summary

  • Check-In Check-Out tests finished successfully with no failed requests.

  • Data Import finished successfully during Test 1 - Test 2.

  • RDS CPU utilization showed an approximate 10% reduction during CICO after adjusting random_page_cost to 1.1.

  • Response times for Check-in and Check-Out are approximately the same, within the standard deviation.

Test Runs 

The following table contains tests configuration information:

Test #

Test Conditions

Duration 

random_page_cost parameter

Notes

Test #

Test Conditions

Duration 

random_page_cost parameter

Notes

1

20 users CICO + DI (Create PTF 2 profile and 25K records)

45 min

4

DI initiated 15 min after test start

2

20 users CICO + DI (Create PTF 2 profile and 25K records)

45 min

1.1

DI initiated 15 min after test start

Results Comparison

Response time comparison (in milliseconds) across test phases:

  • CICO

  • CICO + DI

  • CICO after DI completion

CICO

random_page_cost = 4

random_page_cost = 1.1

random_page_cost = 1.1 VS 4

Transaction

NumberOfSamples

Average

pct95

NumberOfSamples

Average

pct95

Delta, samplers

Delta,%

Delta, avg

Delta,%

Delta,pc95

Delta,%

Check-In Controller

1447

494

676

1518

468

723

71

5%

-26

-5%

47

7%

Check-Out Controller

1860

1211

1553

1997

1167

1631

137

7%

-44

-4%

78

5%

POST_circulation/check-in-by-barcode (Submit_barcode_checkin)

1447

271

420

1519

257

434

72

5%

-14

-5%

14

3%

POST_circulation/check-out-by-barcode (Submit_barcode_checkout)

1861

360

511

2000

360

598

139

7%

0

0%

87

17%

GET_circulation/loans (Submit_barcode_checkout)

1861

169

285

2000

159

266

139

7%

-10

-6%

-19

-7%

CICO + DI

random_page_cost = 4

random_page_cost = 1.1

random_page_cost = 1.1 VS 4

Transaction

NumberOfSamples

Average

pct95

NumberOfSamples

Average

pct95

Delta, samplers

Delta,%

Delta, avg

Delta,%

Delta,pc95

Delta,%

Check-In Controller

1103

1324

2136

1065

1365

2186

-38

-3%

41

3%

50

2%

Check-Out Controller

1491

4130

5732

1395

4473

5669

-96

-6%

343

8%

-63

-1%

POST_circulation/check-in-by-barcode (Submit_barcode_checkin)

1101

729

1261

1062

754

1410

-39

-4%

25

3%

149

12%

POST_circulation/check-out-by-barcode (Submit_barcode_checkout)

1492

1583

2280

1394

1778

2567

-98

-7%

195

12%

287

13%

GET_circulation/loans (Submit_barcode_checkout)

1491

569

961

1392

589

944

-99

-7%

20

4%

-17

-2%

CICO after DI completion

random_page_cost = 4

random_page_cost = 1.1

random_page_cost = 1.1 VS 4

Transaction

NumberOfSamples

Average

pct95

NumberOfSamples

Average

pct95

Delta, samplers

Delta,%

Delta, avg

Delta,%

Delta,pc95

Delta,%

Check-In Controller

1456

533

1068

1374

513

989

-82

-6%

-20

-4%

-79

-7%

Check-Out Controller

1882

1594

2897

1798

1543

2708

-84

-4%

-51

-3%

-189

-7%

POST_circulation/check-in-by-barcode (Submit_barcode_checkin)

1456

258

646

1373

246

606

-83

-6%

-12

-5%

-40

-6%

POST_circulation/check-out-by-barcode (Submit_barcode_checkout)

1882

509

1060

1794

507

1109

-88

-5%

-2

0%

49

5%

GET_circulation/loans (Submit_barcode_checkout)

1880

222

464

1794

202

442

-86

-5%

-20

-9%

-22

-5%

 

Resources Utilization

CPU Utilization 

Top used modules across test phases: CICO, CICO + DI, CICO after DI completion:

Test #1

image-20250717-095145.png

Test #2

image-20250717-095833.png

 

Memory Utilization

Memory usage showed stable trends with no spikes for both Test #1 and Test #2:

Test #1

image-20250717-095346.png

Test #2

image-20250717-100202.png

 

RDS CPU Utilization

RDS CPU utilization showed around 10% reduction for CICO phases during Test #2 (with adjusted random_page_cost to 1.1):

Test #1

image-20250716-155108.png

 

Test #2

image-20250716-155148.png

 

RDS Database Connections

Connections for both Test #1 and Test #2 remained approximately the same:

Test #1

image-20250716-155612.png

 

Test #2

image-20250716-160131.png

 

Database load

Test #1

image-20250717-081615.png
image-20250717-081656.png
image-20250717-082358.png
image-20250717-082429.png
Load by sqls (AAS) SQL statements Calls/sec Rows/sec Avg latency (ms)/call 4.2 SELECT * FROM cs00000int_0001_mod_orders_storage.internal_lock WHERE lock_name =... 17.59 17.59 361.6 3.02 SELECT jsonb FROM cs00000int_mod_orders_storage.po_line WHERE lower(f_unaccent(p... 8.83 0 483.46 1.6 WITH deleted_ids as ( DELETE FROM cs00000int_mod_search.instance_call_nu... 2.78 1.02 657.85 1.37 insert into "marc_records_lb" ("id", "content") values (cast($1 as uuid), cast($... 8.6 8.6 202.22 1.2 WITH prefixes AS ( SELECT prefix || ? AS pattern FROM UNNEST(CAST($1 AS text... 26.25 160.29 55.52 0.47 INSERT INTO cs00000int_0001_mod_inventory_storage.holdings_record (id, jsonb) VA... 8.6 8.6 45.66 0.46 COMMIT 0 0 0 0.37 INSERT INTO cs00000int_0001_mod_pubsub.audit_message (id, event_id, event_type, ... 51.8 51.8 1.72 0.33 INSERT INTO cs00000int_0001_mod_source_record_manager.journal_records (id, job_e... 43.13 43.13 6.76 0.32 WITH deleted_ids as ( DELETE FROM cs00000int_mod_search.instance_call_nu... 0.16 0.11 2603.32 0.29 INSERT INTO cs00000int_0001_mod_inventory_storage.item (id, jsonb) VALUES ($1, $... 8.6 8.6 19.3 0.23 SELECT jsonb FROM cs00000int_mod_orders_storage.pieces WHERE (jsonb->>?) = ? 17.59 0 17.48 0.23 INSERT INTO cs00000int_0001_mod_inventory_storage.instance (id, jsonb) VALUES ($... 8.59 8.59 42.71 0.17 INSERT INTO cs00000int_0001_mod_source_record_manager.events_processed (handler_... 8.6 8.6 6.2 0.16 WITH input_rows(record_id, holdings_id) AS ( VALUES ($1::uuid,$2::uuid) ) , i... 8.6 8.6 4.77 0.15 WITH input_rows(record_id, item_id) AS ( VALUES ($1::uuid,$2::uuid) ) , ins A... 8.6 8.6 4.72 0.14 insert into "records_lb" ("id", "snapshot_id", "matched_id", "generation", "reco... 8.6 8.6 20.22 0.13 WITH input_rows(record_id, instance_id) AS ( VALUES ($1::uuid,$2::uuid) ) , i... 8.59 8.59 4.87 0.12 WITH deleted_ids as ( DELETE FROM cs00000int_mod_search.instance_call_nu... 0.05 0.05 3088.22 0.08 select max("records_lb"."generation") as "generation" from "records_lb" join "sn... 8.6 8.6 8.4 0.08 insert into "raw_records_lb" ("id", "content") values (cast($1 as uuid), $2) on ... 8.6 8.6 10.87 0.07 UPDATE cs00000int_0001_mod_source_record_manager.job_execution_progress SET succ... 3.13 3.13 1.55 0.07 SELECT cs00000int_0001_mod_inventory_storage.count_estimate(?) 99.44 99.44 0.69 0.05 UPDATE cs00000int_0001_mod_inventory_storage.item SET jsonb=$1 WHERE id=$2 RETUR... 3.41 3.41 4.82 0.05 INSERT INTO cs00000int_0001_mod_inventory_storage.instance_subject_type (instanc... 6.54 21.36 10.12

 

Test #2

image-20250717-081923.png
image-20250717-081956.png
image-20250717-082543.png
image-20250717-082620.png
Load by sqls (AAS) SQL statements Calls/sec Rows/sec Avg latency (ms)/call 8.46 SELECT * FROM cs00000int_0001_mod_orders_storage.internal_lock WHERE lock_name =... 17.45 17.45 555.87 3.53 SELECT jsonb FROM cs00000int_mod_orders_storage.po_line WHERE lower(f_unaccent(p... 8.77 0 474.87 1.65 WITH prefixes AS ( SELECT prefix || ? AS pattern FROM UNNEST(CAST($1 AS text... 25.86 157.79 68.74 1.55 insert into "marc_records_lb" ("id", "content") values (cast($1 as uuid), cast($... 8.65 8.65 198.81 0.97 WITH deleted_ids as ( DELETE FROM cs00000int_mod_search.instance_call_nu... 2.76 1.02 349.92 0.52 INSERT INTO cs00000int_0001_mod_inventory_storage.holdings_record (id, jsonb) VA... 8.65 8.65 43.58 0.51 COMMIT 0 0 - 0.41 INSERT INTO cs00000int_0001_mod_pubsub.audit_message (id, event_id, event_type, ... 50.82 50.82 2.21 0.35 INSERT INTO cs00000int_0001_mod_source_record_manager.journal_records (id, job_e... 43.26 43.26 6.38 0.35 INSERT INTO cs00000int_0001_mod_inventory_storage.item (id, jsonb) VALUES ($1, $... 8.66 8.66 21.1 0.33 WITH deleted_ids as ( DELETE FROM cs00000int_mod_search.instance_call_nu... 0.13 0.09 2965.47 0.28 SELECT jsonb FROM cs00000int_mod_orders_storage.pieces WHERE (jsonb->>?) = ? 17.43 0 17.07 0.27 INSERT INTO cs00000int_0001_mod_inventory_storage.instance (id, jsonb) VALUES ($... 8.64 8.64 38.69 0.18 insert into "records_lb" ("id", "snapshot_id", "matched_id", "generation", "reco... 8.65 8.65 20.23 0.18 INSERT INTO cs00000int_0001_mod_source_record_manager.events_processed (handler_... 8.66 8.66 6.53 0.17 WITH input_rows(record_id, holdings_id) AS ( VALUES ($1::uuid,$2::uuid) ) , i... 8.65 8.65 2.95 0.15 WITH input_rows(record_id, item_id) AS ( VALUES ($1::uuid,$2::uuid) ) , ins A... 8.66 8.66 2.98 0.14 WITH deleted_ids as ( DELETE FROM cs00000int_mod_search.instance_call_nu... 0.05 0.05 3153.93 0.12 autovacuum: VACUUM cs00000int_0001_mod_inventory_storage.instance - - - 0.11 WITH input_rows(record_id, instance_id) AS ( VALUES ($1::uuid,$2::uuid) ) , i... 8.64 8.64 3.11 0.11 autovacuum: ANALYZE cs00000int_0001_mod_inventory_storage.instance - - - 0.1 INSERT INTO cs00000int_mod_search.subject (id, value, authority_id, source_id, t... 1.3 1.3 49.78 0.09 insert into "raw_records_lb" ("id", "content") values (cast($1 as uuid), $2) on ... 8.65 8.65 11.33 0.09 INSERT INTO cs00000int_0001_mod_source_record_manager.incoming_records (id, job_... 8.46 8.46 8.02 0.07 INSERT INTO cs00000int_mod_search.subject (id, value, authority_id, source_id, t... 0.87 3.49 46.12

Database health metrics

Tuples Read rate dropped from max 18.65M/sec (Test #1) to 4.546M/sec (Test #2), indicating more efficient query execution with adjusted random_page_cost:

Test #1

image-20250717-094236.png

 

Test #2

image-20250717-094322.png

 

Appendix

Infrastructure

PTF - environment secon

  • 14 r7g.2xlarge EC2 instances located in US East (N. Virginia)us-east-1

  • 1 instance of db.r7g.xlarge database instance: Writer instance

  • MSK fse-test

    • 4 kafka.m7g.xlarge brokers in 2 zones (2 brokers per zone)

    • Apache Kafka version 3.7.x, metadata mode - KRaft

    • EBS storage volume per broker 300 GiB

    • auto.create.topics.enable=true

    • log.retention.minutes=480

    • default.replication.factor=3

    • revision - 26

 

Module Task Definition Revision Module Version Task Count Mem Hard Limit Mem Soft Limit CPU Units Xmx Metaspace Size Max Metaspace Size mod-remote-storage 2 mod-remote-storage:3.4.2 2 4920 4472 128 3960 512 512 mod-remote-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-finance-storage 2 mod-finance-storage:8.8.2 2 1024 896 128 700 88 128 mod-finance-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-ncip 2 mod-ncip:1.15.7 2 1024 896 128 768 88 128 mod-ncip - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-agreements 2 mod-agreements:7.2.2 2 4096 4096 1024 4096 0 0 mod-agreements - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 mod-ebsconet 2 mod-ebsconet:2.4.0 2 1248 1024 128 700 128 256 mod-ebsconet - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-organizations 2 mod-organizations:2.1.0 2 1024 896 128 620 88 128 mod-organizations - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-serials-management 2 mod-serials-management:2.0.3 2 2780 2312 256 1792 384 896 mod-serials-management - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-settings 2 mod-settings:1.2.0 2 1024 896 200 768 88 128 mod-settings - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-data-import 2 mod-data-import:3.3.3 1 2048 1844 256 1292 384 512 mod-data-import - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-consortia-keycloak 2 mod-consortia-keycloak:1.7.1 2 5136 4776 512 4416 384 512 mod-consortia-keycloak - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-search 3 mod-search:5.0.3 2 2592 2480 1024 1440 512 1024 mod-search - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-dematic 1 edge-dematic:2.4.1 1 1024 896 128 768 88 128 mod-record-specifications 2 mod-record-specifications:2.0.1 2 1024 896 400 1440 256 512 mod-record-specifications - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-inn-reach 2 mod-inn-reach:3.4.0 2 3600 3240 128 2880 512 1024 mod-inn-reach - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-tags 2 mod-tags:2.4.1 2 1024 896 128 768 88 128 mod-tags - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-courses 1 edge-courses:1.6.0 2 1024 896 128 768 88 128 mod-inventory-update 2 mod-inventory-update:4.1.0 2 1024 896 128 768 88 128 mod-inventory-update - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-notify 2 mod-notify:3.4.0 2 1024 896 128 768 88 128 mod-notify - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-configuration 2 mod-configuration:5.12.0 2 1024 896 128 768 88 128 mod-configuration - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-orders-storage 2 mod-orders-storage:13.9.4 2 1024 896 512 700 88 128 mod-orders-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-caiasoft 1 edge-caiasoft:2.4.0 2 1024 896 128 768 88 128 folio-keycloak 2 folio-keycloak:26.1.3 1 5000 3000 2048 2048 0 0 mod-erm-usage-harvester 2 mod-erm-usage-harvester:5.1.0 2 1024 896 128 768 88 128 mod-erm-usage-harvester - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-password-validator 2 mod-password-validator:3.4.0 2 1440 1298 128 768 384 512 mod-password-validator - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-licenses 2 mod-licenses:6.2.2 2 2480 2312 512 1792 384 512 mod-licenses - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-gobi 2 mod-gobi:3.0.0 2 1024 896 128 768 88 128 mod-gobi - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-dcb 1 edge-dcb:1.3.0 2 1024 896 128 768 88 128 mod-fqm-manager 2 mod-fqm-manager:4.0.7 2 3000 2600 128 2048 88 512 mod-fqm-manager - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-bulk-operations 2 mod-bulk-operations:2.2.4 2 3072 2600 1024 2048 384 512 mod-bulk-operations - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1500 768 512 256 0 128 mod-graphql 2 mod-graphql:1.13.1 2 1024 896 128 768 88 128 mod-graphql - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-finance 2 mod-finance:5.1.1 2 1024 896 256 768 88 128 mod-finance - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-roles-keycloak 2 mod-roles-keycloak:3.0.3 2 1024 896 128 512 88 256 mod-roles-keycloak - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-erm-usage 2 mod-erm-usage:5.1.0 2 2800 2550 128 1800 384 512 mod-erm-usage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-batch-print 4 mod-batch-print:1.3.0 2 1024 896 0 768 88 128 mod-batch-print - Sidecar 1 N/A folio-module-sidecar: N/A 665 512 0 128 88 128 mod-lists 2 mod-lists:3.1.3 2 6000 2600 128 2048 88 512 mod-lists - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 768 715 128 256 0 96 mod-copycat 2 mod-copycat:1.8.0 2 1024 896 128 768 88 128 mod-copycat - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-entities-links 2 mod-entities-links:4.0.2 2 2592 2483 512 1440 0 1024 mod-entities-links - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-permissions 2 mod-permissions:6.7.0 2 1684 1544 512 1024 384 512 mod-permissions - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 pub-edge 2 pub-edge:2023.06.14 2 1024 896 128 768 0 0 mod-orders 2 mod-orders:13.0.4 2 2048 1740 1024 1024 384 512 mod-orders - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 kong 2 kong:3.9.0 1 6144 6144 2048 768 88 128 edge-patron 4 edge-patron:5.3.0 2 1024 896 256 768 88 128 mod-users-keycloak 2 mod-users-keycloak:3.0.2 2 1024 896 128 512 88 256 mod-users-keycloak - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-ncip 1 edge-ncip:1.10.2 2 1024 896 128 768 88 128 mod-marc-migrations 2 mod-marc-migrations:2.0.1 2 2880 2592 1024 1814 384 512 mod-marc-migrations - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mgr-applications 2 mgr-applications:3.0.0 1 1024 896 1024 512 88 256 edge-inn-reach 1 edge-inn-reach:3.4.0 2 1024 896 128 768 88 128 mod-users-bl 2 mod-users-bl:7.10.1 2 1440 1152 128 922 88 128 mod-users-bl - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mgr-tenants 2 mgr-tenants:3.0.0 1 1024 896 1024 512 88 256 mod-inventory-storage 2 mod-inventory-storage:29.0.8 2 4096 3690 1024 3067 384 512 mod-inventory-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 768 512 256 0 128 mod-invoice 2 mod-invoice:6.0.1 2 1440 1152 512 922 88 128 mod-invoice - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-user-import 2 mod-user-import:3.10.0 2 1024 896 128 768 88 128 mod-user-import - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-sender 2 mod-sender:1.14.1 2 1024 896 128 768 88 128 mod-sender - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-oai-pmh 1 edge-oai-pmh:2.11.0 2 1512 1360 1024 1440 384 512 mgr-tenant-entitlements 2 mgr-tenant-entitlements:3.1.1 1 1024 896 1024 512 88 256 mod-login-keycloak 2 mod-login-keycloak:3.0.0 2 1024 896 128 512 88 256 mod-login-keycloak - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-data-export-worker 2 mod-data-export-worker:3.4.4 2 3072 2800 1024 2048 384 512 mod-data-export-worker - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 768 512 256 0 128 mod-okapi-facade 2 mod-okapi-facade:3.0.0 2 1024 896 128 768 88 128 mod-okapi-facade - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-rtac 2 mod-rtac:3.8.0 2 1024 896 128 768 88 128 mod-rtac - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-circulation-storage 2 mod-circulation-storage:17.4.0 2 2880 2592 1024 1814 384 512 mod-circulation-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 mod-source-record-storage 3 mod-source-record-storage:5.10.6 2 4096 3688 1024 3076 384 512 mod-source-record-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-scheduler 2 mod-scheduler:3.0.0 2 1024 896 128 512 88 256 mod-scheduler - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-calendar 2 mod-calendar:3.3.0 2 2048 1536 128 768 88 128 mod-calendar - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-event-config 2 mod-event-config:2.9.0 2 1024 896 128 768 88 128 mod-event-config - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-courses 2 mod-courses:1.4.12 2 1024 896 128 768 88 128 mod-courses - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-circulation-item 2 mod-circulation-item:1.2.0 2 1024 896 128 0 0 0 mod-circulation-item - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-inventory 2 mod-inventory:21.1.5 2 4096 3688 1024 3076 384 512 mod-inventory - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 768 512 256 0 128 mod-email 2 mod-email:1.19.0 2 2800 2550 128 1800 384 512 mod-email - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-linked-data 2 mod-linked-data:1.0.4 2 2048 1792 256 768 88 128 mod-linked-data - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-pubsub 2 mod-pubsub:2.16.1 2 1536 1440 1024 922 384 512 mod-pubsub - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 mod-circulation 2 mod-circulation:24.4.5 2 2880 2592 1024 1814 384 512 mod-circulation - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 mod-di-converter-storage 2 mod-di-converter-storage:2.4.1 2 1024 896 128 768 88 128 mod-di-converter-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-rtac 1 edge-rtac:2.9.1 2 1024 896 128 768 88 128 edge-orders 1 edge-orders:3.2.0 2 1024 896 128 768 88 128 mod-users 2 mod-users:19.5.1 2 1024 896 256 768 88 128 mod-users - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-template-engine 2 mod-template-engine:1.22.0 2 1024 896 128 768 88 128 mod-template-engine - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-patron-blocks 2 mod-patron-blocks:1.12.1 2 1024 896 1024 620 88 128 mod-patron-blocks - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 edge-fqm 1 edge-fqm:4.0.0 2 1024 896 128 768 88 128 mod-audit 4 mod-audit:2.11.1 2 1024 896 0 768 88 128 mod-audit - Sidecar 1 N/A folio-module-sidecar: N/A 665 512 0 128 88 128 mod-source-record-manager 2 mod-source-record-manager:3.10.5 2 4096 3688 1024 3076 384 512 mod-source-record-manager - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 nginx-edge 2 nginx-edge:2023.06.14 2 1024 896 128 0 0 0 mod-quick-marc 2 mod-quick-marc:7.0.0 1 2288 2176 128 1664 384 512 mod-quick-marc - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-feesfines 2 mod-feesfines:19.3.2 2 1024 896 128 768 88 128 mod-feesfines - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-invoice-storage 2 mod-invoice-storage:6.0.0 2 1872 1536 0 1024 384 512 mod-invoice-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-reading-room 2 mod-reading-room:1.2.1 2 1024 896 128 768 88 128 mod-reading-room - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-dcb 4 mod-dcb:1.3.0 2 2048 896 128 1500 128 256 mod-dcb - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-service-interaction 2 mod-service-interaction:4.2.2 2 2048 1844 256 1290 384 512 mod-service-interaction - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-data-export 2 mod-data-export:5.2.1 1 2592 2480 2048 1440 88 1024 mod-data-export - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 mod-patron 2 mod-patron:6.3.1 2 1024 896 128 768 88 128 mod-patron - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-oai-pmh 2 mod-oai-pmh:3.15.2 2 4096 3690 2048 3076 384 512 mod-oai-pmh - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 256 256 0 96 mod-notes 2 mod-notes:7.0.0 2 1024 896 128 952 384 512 mod-notes - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-kb-ebsco-java 2 mod-kb-ebsco-java:6.0.0 2 1024 896 128 768 88 128 mod-kb-ebsco-java - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-data-export-spring 2 mod-data-export-spring:3.5.1 1 2048 1844 256 1536 384 512 mod-data-export-spring - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 mod-organizations-storage 2 mod-organizations-storage:4.9.0 2 1024 896 128 700 88 128 mod-organizations-storage - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96 edge-erm 1 edge-erm:1.4.0 2 1024 896 128 768 88 128 mod-eusage-reports 2 mod-eusage-reports:3.0.0 2 1024 896 128 768 88 128 mod-eusage-reports - Sidecar 1 N/A folio-module-sidecar:3.0.4 N/A 1024 512 128 256 0 96

 

 

Methodology/Approach


1. Preparation Steps:

The random_page_cost parameter configuration at the DB instance level via the parameter group.

  • For the Test 1, the default value of 4 was used.

  • For the Test 2, the value was adjusted to 1.1.

2. Data preparation scripts.

Data preparation for each test takes up to 10 minutes and consists of truncating involved in testing tables, populating data and updating statuses of items.

  • To prepare data establish connection by AWS key

  • Run CICO_db_preparation.sh script located in /scripts folder. Before use the file tenats.csv to edit the list of tenants to restore the database.

  • Files location: Buckets/fse-ptf/Scripts/CICO/Secon/

3. Test Configuration:

  • Run CICO test with 20 concurrent users for 45 minutes. 

To start test from AWS instance (load generator) use template for the command. Test locally before start.

LG jmeter command

sh jmeter.sh -n -t /home/ptf/testdata/secon/CICO/circulation_checkInCheckOut_secon.jmx -l /home/ptf/testdata/secon/CICO/secon_20vusers.jtl -j /home/ptf/testdata/secon/CICO/secon_jmeter.log -JGlobal_duration=2700 -JCICO_vusers=20
  • Run a Data Import on member tenant after waiting for 15 minutes.