Master Script high load test - NLA report (without Data Import)

Master Script high load test - NLA report (without Data Import)

IN PROGRESS

Overview

 

In the scope of https://folio-org.atlassian.net/browse/PERF-531 it's needed to run tests to answer questions: 

  • Can the current System can accommodate a high use case load NLA load model investigation and creation?

  • What happened at peak times when all workflows are running at once? 

  • Typical KPIs:

    • Service CPU

    • Service Memory

    • DB CPU

    • DB Memory

  • Response times

  • Durations of long workflows

  • Recommendations to improve on scaling up/out modules to accommodate peak times

Summary

tested without Data Import due to https://folio-org.atlassian.net/browse/PERF-582

  • The current system can accommodate an average load without Data Import. With data import, we will have 'HTTP 500 Internal Server Error. If the issue persists, please report it to EBSCO Connect.' for several workflows in the source-storage/records/{id}/formatted requests https://folio-org.atlassian.net/browse/PERF-582.

  • Response time for high load (without DI & FYR) in general is the same as for normal load.

  • Service CPU utilization did not exceed 33% even at the beginning of all processes together.  Instance CPU Utilization did not exceed 13%.

  • Service memory utilization was stable, and no memory leaks were suspected during tests.

  • Each FYR (Fiscal close - end of FY rollover) job is consuming a lot of DB CPU. Approximately DB CPU usage is up to 95,2% with FYR and up to 75% without.

Recommendations & Jiras (Optional)

Jiras

https://folio-org.atlassian.net/browse/PERF-582

Test Runs & Results

Test #

# configuration

Test duration

comments

Test #

# configuration

Test duration

comments

1

All workflows started at the same time. Test without Data import

1 hour

NO server errors

2

All workflows started at the same time. Test without Data import

1 hour

NO server errors

3

All workflows started at the same time. Test without Data import

1 hour

NO server errors

 Test results from 1st test run (1st, 2nd and 3rd test run results are similar):

Test #

Workflow name 

Total time it takes to complete workflow

Comments

 

 

Avg (sec) high load with FYR

95th pct (sec) high load with FYR

Avg (sec) high load

95th pct (sec) high load

Avg (sec) normal load

95th pct (sec) normal load

1

Checkin

1.218

1.488

1.093

1.362

1.054

1.591

 

2

Checkout

2.272

2.780

1.830

2.187

1.650

1.948

 

3

View invoices

0.825

1.056

0.565

0.908

0.763

0.913

 

4

Create invoices

1.365

1.639

1.076

1.341

1.174

1.370

 

5

Edit invoices

1.734

2.509

0.531

1.749

1.581

1.897