Member tenants sharing local instances (Quesnelia)

Overview

This document contains the results of testing Sharing local instances(SLI) for MARC Source records. PERF-904 - Getting issue details... STATUS

Summary

  • Duration on three tenants cs00000int_0001-cs00000int_0003 for 1 SLI process is about the same and the average value is about 16 seconds.  Duration on the last tenant during test execution cs00000int_0004 is about 6 seconds. For 2 parallel SLIs duration is about 16 seconds on first cs00000int_0001 tenant and 6,5 seconds on second tenant cs00000int_0002. For 3 parallel SLIs and for 4 parallel SLIs is about 16 seconds for all except the last tenant - 6 seconds.
  • Duration increased significantly if to compare with approximate 2 seconds in Poppy release.
  • After adding parameter Dinventory.sharing.di.status.poll.interval.seconds=2 the duration decreased from 6 seconds to 2,9 seconds for SLI.
  • No memory leak is suspected for SLI modules. Memory consumption grew for mod-inventory to 56% during 3-rd test and didn't change.
  • Maximum CPU utilization was about 15% on mod-inventory and mod-consortia-b 1VU-23%, 2VU-25%, 3VU-28%, 4VU-35%.
  • RDS CPU utilization were from 8% for 1VU and up to 10% for 4VU. That is twice less than in Poppy.
  • All SLI finished successfully(without erros). Error rate = 0

Recommendations and Jiras

  • It's important to add parameters to task definition to reduce local instance sharing time
    • "name": "JAVA_OPTS",
      "value": " -Dinventory.sharing.di.status.poll.interval.seconds=2"

Test results

Test 1. Virtual user working sequentially on each of the 4 tenants.

Tenant 

TTL REQ, COUNT

Average, MS

THRGHPT, REQ/SEC

ERRORS, COUNT

MIN, MS

MEDIAN, MS

PCT95, MS

MAX, MS

cs00000int_0001

100159740.06015560159671636916482
cs00000int_0002100160040.06015594160161635116377
cs00000int_0003100155230.06015281155031576015852
cs00000int_000410059980.1605714597562856941

Test 2. Virtual users working parallel on 2 tenants.

Tenant 

TTL REQ, COUNT