PTF - Export deleted MARC authority records (Ramsons) [ECS]

PTF - Export deleted MARC authority records (Ramsons) [ECS]

Test status: PASSED

Overview

Summary

  • All tests are passed successfully.

  • SLA (duration of export should be less than a minute) met.

  • Test duration is faster in 100K test for more than 50% in Ramsons compared to Quesnelia

  • for 300K tests, performance is more or less the same, however average api response time is better

  • No memory leaks or spikes found

  • CPU usage showed stable trend. Most used module is mod-entities-links.

  • DB CPU usage is low for 100K tests (around 6%) and 15%-17% for 300K tests. For tests with additional load (tests with 10 loops of JMeter scrip) it’s 15-17% for 100K and 25-30% for 300K.

 

Test Runs/Results 

Each test run got additional rerun to ensure of performance consistency. Moreover tests 3,4,7,8 was performed to check system behaviour under additional load. This tests are “fast“ so additional tests was performed to get more information about system behaviour. (tests with 10 loops of JMeter script), Named in table (10 times)

Test #

Test Conditions

Duration 

Test #

Test Conditions

Duration 

1

100K

8s 652 ms

2

100K (rerun)

8s 440 ms

3

100K (10 times )

7s 860 ms (avg)

4

100K (10 times )

7s 591 ms (avg)

5

300K

29s 567 ms

6

300K

29s 989 ms

7

300K (10 times )

29s 579 ms (avg)

8

300K (10 times )

28s 393 ms (avg)

Comparisons

Tests duration was compared to same tests in Quesnelia release https://folio-org.atlassian.net/wiki/spaces/FOLIJET/pages/273055746

In overall - performance is better by more than 50% for 100K tests and the same for 300K test.

 

Test

Ramsons

Quesnelia

Test

Ramsons

Quesnelia

 

Duration (s/ ms)

GET_authority-storage/authorities response time (ms)

Duration (s/ ms)

GET_authority-storage/authorities response time (ms)

100K

8s 652 ms

178 ms

13s 317 ms

262 ms

300K

29s 989 ms

216 ms

29s 109 ms

288 ms

Memory Utilization

Memory showed stable trend without visible signs of memory leaks or anomalies. Most used module is mod-entities-links and it consumes 32% memory in average during whole testing set. Please look on memory trend to all related modules in chart below.

 

image-20241107-111906.png

Note: Taking into account that tests durations are less then a minute - in order to show trend, all tests included into chart. Below - table with top 3 modules

 

Module

Ramsons Avg

Quesnelia Avg

Module

Ramsons Avg

Quesnelia Avg

mod-entities-links

32%

37%

okapi

32%

-

mod-users

25%

-

CPU Utilization 

In 100K and 300K tests CPU usage is barely visible because of fast test duration that’s why additional tests was performed (100K x10 and 300K x 10, basically same tests but 10 times one after another without pauses) to see if there are anomalies sudden spices, etc.. CPU usage stabilise on ±3%. CPU usage spiked only on mod-entities-links (as obvious), okapi, nginx-okapi and supportive services like mod-users-bl, mod-login, mod-authtoken.

No unexpected spikes or anomalies observed.

 

image-20241107-111434.png

 

Note: Instance-level CPU usage is not included into this report as on instance scale CPU usage during this tests is not visible.

RDS CPU Utilization 

RDS CPU usage is almost invisible during 100K tests (CPU utilization was ±6% and have no difference from IDLE state of DB), however with 10X for 300K deleted Authority records, tests it’s visible that CPU reached ±30%.

 

image-20241108-093417.png

 

On database connections chart it’s no visible signs of tests, probably because the only module created connections to DB during that time was mod-entities-links.

image-20241108-095601.png

Note: No slow queries defined in logs and in performance insights.

Errors

No errors found during tests. All tests passed successfully all response codes and responses checked to be valid.

Appendix

Infrastructure

PTF -environment rcon

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

  • 1 instance of db.r6.xlarge database, writer. Standard fse configuration

  • MSK fse-tenant

    • Metadata mode: KRaft

    • 4 kafka.m7g.xlarge brokers in 2 zones

    • Apache Kafka version 3.7.x

    • EBS storage volume per broker 300 GiB

    • auto.create.topics.enable=true

    • log.retention.minutes=480

    • default.replication.factor=2

  • Open Search ptf-test cluster

    • r6g.2xlarge.search 4 data nodes

    • r6g.large.search 3 dedicated master nodes

 

Cluster Resources - rcon-pvt (Fri Nov 08 10:35:52 UTC 2024

Module

Task Definition Revision

Module Version

Mem Hard Limit

Mem Soft Limit

CPU Units

Xmx

Metaspace Size

Max Metaspace Size

 

Module

Task Definition Revision

Module Version

Mem Hard Limit

Mem Soft Limit

CPU Units

Xmx

Metaspace Size

Max Metaspace Size

 

mod-remote-storage

2

mod-remote-storage:3.2.1-SNAPSHOT.171

 

4920

4472

0

3960

512

512

mod-finance-storage

2

mod-finance-storage:8.7.0-SNAPSHOT.183

1024

896

0

700

88

128

 

mod-ncip

2

mod-ncip:1.14.6-SNAPSHOT.233

1024

896

0

768

88

128

 

mod-agreements

2

mod-agreements:7.1.0-SNAPSHOT.237

1592

1488

0

0

0

0

 

mod-ebsconet

2

mod-ebsconet:2.3.0-SNAPSHOT.80

1248

1024

0

700

128

256

 

mod-organizations

2

mod-organizations:2.0.0-SNAPSHOT.95

1024

896

0

700

88

128

 

mod-consortia

2

mod-consortia:1.2.0-SNAPSHOT.22

5136

4776

0

4416

384

512

 

edge-sip2

2

edge-sip2:3.3.0-SNAPSHOT.264

1024

896

0

768

88

128

 

mod-serials-management

2

mod-serials-management:1.1.0-SNAPSHOT.46

2480

2312

0

1792

384

512

 

mod-settings

2

mod-settings:1.0.4-SNAPSHOT.67

1024

896

0

768

88

128

 

mod-data-import

2

mod-data-import:3.2.0-SNAPSHOT.189

2048

1844

0

1292

384

512

 

mod-search

8

mod-search:4.0.0-SNAPSHOT.281

2592

2480

2048

0

512

1024

 

edge-dematic

2

edge-dematic:2.3.0-SNAPSHOT.143

1024

896

0

768

88

128

 

mod-inn-reach

2

mod-inn-reach:3.2.1-SNAPSHOT.102

3600

3240

0

2880

512

1024

 

mod-record-specifications

2

mod-record-specifications:1.0.0-SNAPSHOT.4

1024

896

0

768

88

128

 

mod-tags

2

mod-tags:2.2.1-SNAPSHOT.138

1024

896

0

768

88

128

 

mod-authtoken

3

mod-authtoken:2.16.0-SNAPSHOT.303

1440

1152

0

922

88

128

 

edge-courses

2

edge-courses:1.5.0-SNAPSHOT.1160

1024

896

0

768

88

128

 

mod-notify

2

mod-notify:3.2.1-SNAPSHOT.268

1024

896

0

768

88

128

 

mod-inventory-update

2

mod-inventory-update:3.4.2-SNAPSHOT.100

1024

896

0

768