Versions Compared

Key

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

Overview

The purpose of the document is to assess reindexing performance on a consortium environment. Calculate reindex time and size of index.

...

Test #

Instances number

Test Conditions

reindexing on Poppy release, consortium environment

Duration 

Notes


1. 2023-11-28 09:20-12:20 UTC

1766108

In parallel: 3 tenants

3 hours
  • mod-search task count =8
  • mod-inventory-storage task count = 2
  • mod-okapi task count = 3
  • open search instance scaled up to r6g.4xlarge.search
  • without configuration of number_of_replicas and refresh_interval values of ES/OpenSearch

2. 2023-11-29 08:50 - 10:50 UTC

1212927

Sequential: cs00000int

2 hours

3. 2023-11-29 14:05 - 15:05 UTC

353179

Sequential: cs00000int_0001

1 hour
4. 2023-11-2915:22 - 15:42 UTC200002Sequential: cs00000int_000220 min

...

Test #1 (3 tenants in parallel)

Memory utilization:

mod-search - 38% → 50%

mod-inventory-storage - 11% → 31%


Test #2 (cs00000int maint tenant, sequental)

Memory utilization:

mod-search - 37% → 50%

mod-inventory-storage - 13% → 21%


Test #3 and #4 (cs00000int_0001, cs00000int_0002 secondary tenants, sequental)

Memory utilization:

mod-search - 33% → 49%

mod-inventory-storage - 26% → 31%

DB CPU Utilization

Test #1 (3 tenants in parallel)

...

Test #1 (3 tenants in parallel)Image Removed

Image Added

Maximum CPU utilization - 57%


Test #2 (cs00000int maint tenant, sequental)

Maximum CPU utilization - 47%


Test #3 and #4 (cs00000int_0001, cs00000int_0002 secondary tenants, sequental)

Maximum CPU utilization - 53%

Open Search Ibdexing Data Rate

...

Infrastructure

PTF-environment pcon

  • 10 m6g.2xlarge EC2 instances located in US East (N. Virginia)us-east-1 
  • 2 instances of db.r6g.xlarge database instances, one reader and one writer 
  • MSK ptf-kakfa-3
    • 4 m5.2xlarge brokers in 2 zones
    • Apache Kafka version 2.8.0

    • EBS storage volume per broker 300 GiB

    • auto.create.topics.enable=true
    • log.retention.minutes=480
    • default.replication.factor=3

Number of instances

TenantSourceInstance numberInstances sum
cs00000intFOLIO1150351212927
MARC1097892
cs00000int_0001CONSORTIUM-FOLIO38712353179
CONSORTIUM-MARC304467
FOLIO1000
MARC9000
cs00000int_0002CONSORTIUM-MARC4200002
FOLIO30000
MARC169998

Methodology/Approach

  • Use consortium cluster for testing (pcon in our case).
  • Configure the environment in accordance with Infrastructure parameters  to the one that FSE commonly uses.
  • Run reindex, get the results for indexing time, index size. Use Steps for testing process#Reindex for details.
  • Compare results.