Versions Compared

Key

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

Table of Contents
outlinetrue

...

  • 79 back-end modules deployed in 153 ECS tasks (changed. In Lotus, it was75 back-end modules deployed in 159 ECS tasks)
  • 3 okapi ECS tasks
  • 10 m6i.2xlarge  EC2 instances (changed. In Lotus it was 9 m5.xlarge)
  • 2 db.r6g.xlarge AWS RDS instance
  • INFO logging level
  • mod-inventory (running tasks -2)
    • 1024 CPU units, 1684 MiB
  • mod-inventory-storage (running tasks -2)
    • 1024 CPU units, 1684MB mem
  • mod-circulation (running tasks -2)
    • 1024 CPU units, 896MB mem
  • mod-circulation-storage (running tasks -2)
    • 1024 CPU units, 1024MB mem
  • mod-pubsub (running tasks -2)
    • 1024 CPU units, 1296 MiB
  • mod-patron-blocks (running tasks -2)
    • 1024 CPU units, 896MB mem
  • mod-feesfines (running tasks -2)
    • 128CPU units, 896MB mem
  • mod-authtoken (running tasks -2)
    • 128 CPU units, 896MB mem
  • okapi (running tasks -3)
    • 1024 CPU units, 1360 MB mem

High-Level Summary

  • Morning Glory performs much better than Lotus response times for check-ins are mid 400ms, checkout 600ms - 800ms, with little variations between 1 and 50 users
  • Worst-performing APIs are only POST /checkin-by-barcode and POST /checkout-by-barcode.  They have improved since Lotus, now averaging in the mid 200ms even in the 50 users scenario.
    • GET /circulation/loans take 107ms on average in the 20 users and 50 users cases.

...

Test

Virtual Users

Duration

Load generator size (recommended)Load generator Memory(GiB) (recommended)

1.

1 user30 minst3.medium3

2.

5 users30 minst3.medium3

3.

8 users30 minst3.medium3

4.

20 users30 minst3.medium4
5.50 users30 minst3.large6
9.20 users longevity16 hourst3.xlarge14

Results

Response Times (Average of all tests listed above, in seconds)

...

Note: LT = Lotus build, MG = Kiwi Morning Glory build


Average50th percentile 
Check-in MGCheck-in LTDeltaCheck-out MGCheck-out LTDeltaCheck-in MGCheck-in LTDeltaCheck-out MGCheck-out LTDelta
1 user0.5160.7329.32%0.7951.18833.08%0.490.68228.15%0.7581.08430.07%
5 users0.4180.6232.58%0.6460.97633.81%0.4080.58229.90%0.6240.91531.80%
8 users0.4110.61533.17%0.6270.97135.43%0.40.58131.15%0.6060.90432.96%
20 users0.4010.66139.33%0.6151.05241.54%0.3930.6236.61%0.60.96737.95%
50 users0.371--0.601--0.373--0.59--

...

The timeline highlighted below encompasses all 5 test runs (1, 5, 8, 20, and 50 users).

Image Modified

Modules CPUs and Memory Utilization

...

20-users testsAvgMax
mod-users18%18%
mod-pubsub5%5%
okapi11%11%
mod-circulation4%4%
mod-circulation-storage5%5%
mod-inventory6%6%
mod-inventory-storage7%7%
mod-patron-blocks1%1%
mod-feesfines14%15%
mod-authtoken24%66%


50-users testsAvgMax
mod-users38%39%
mod-pubsub7%7%
okapi25%26%
mod-circulation6%7%
mod-circulation-storage9%10%
mod-inventory7%7%
mod-inventory-storage12%14%
mod-patron-blocks2%2%
mod-feesfines31%33%
mod-authtoken47%116%



Services' memory seems to be stable during the test runs. 

...