mod-search: Test Reindexing of Instances (Orchid)


Overview

  • Reindexing with recreating the instance index on Nolana is faster than on Orchid env. 8hr 25 min against 11 hr 10 minutes
  • Reindexing with recreating the instance index latency is higher on Orchid env than on Nolana 18ms against 7 ms

Recommendations & Jiras


Test Runs /Results

Test #

Test Conditions

Duration 

Notes


1.

Reindexing on Nolana release8 hr 25 min
  • mod-search task count =8
  • open search instance scaled up to r6g.4xlarge.search

2.

Reindexing on Orchid release11 hr 10 min
  • mod-search task count =8
  • open search instance scaled up to r6g.4xlarge.search


Memory Utilization

Memory utilisation  Orchid

Memory utilisation  Nolana




Initial spike

avg. usage
mod-search Orchid47%36%
mod-inventory-storage Orchid50%50%
mod-search Nolana25.8%24%
mod-inventory-storage Nolana40%40%

CPU Utilization 

CPU usage  Orchid

CPU usage  Nolana



RDS CPU Utilization 

DB cpu usage  Orchid

DB CPU usage  Nolana

Open Search KPIs

Indexing rate Orchid

Indexing rate Nolana


Indexing latency Orchid


Indexing latency Nalana



Appendix

Infrastructure

PTF -environment ncp2/ocp2

  • m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1 
  • 2 instances of db.r6.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

ncp2 -10M

ocp2 -10M 

Kafka partitioning


NolanaOrchid

inventory.item

050

inventory.instance

5050

inventory.holdings-record

050

inventory.bound-with

050

inventory.authorit

150

search.instance-contributor

150



Modules memory and CPU parameters:

Modules

Version

Task Definition

Running Tasks 

CPU

Memory

MemoryReservation

MaxMetaspaceSize

Xmx

mod-search Orchid 
2.1.0-SNAPSHOT.108
384002592248010241440
mod-inventory-storage Orchid26.1.0-SNAPSHOT.644321024195222085121440
mod-search Nolana
1.8.0
18400

2592

2480

10241440
mod-inventory-storage Nolana25.0.1121024195222085121440


Methodology/Approach

  • Use PTF's "Bugfest" Orchid cluster, which has 8M records, to test with (2 times)
  • Reindex on ncp2 (Nolana version) first, get the results for indexing time, index size
  • Reindex on the new Orchid environment, get the results for indexing time, index size