Skip to main content

Evaluate Applications Ability to Achieve Linear Scalability


Linear scalability comparesdescribes howapp performance where the applicationapp respondstakes asthe loadsame increases.amount Aof scalabletime systemto shouldoperate increasea throughputtest predictablyuse whilecase keepingregardless responseof timesthe number of concurrent users. For example, an app scales linearly when it takes 20 seconds to operate a use case with 100 concurrent users and errors1000 withinconcurrent acceptableusers. limits.

Unified

WhatTest toPlatform compare

operates
  • Virtual users or request volume at each load level.
  • Throughput and transaction completion rate.
  • Response time trends, including percentile behavior.
  • Error rate and application or infrastructure saturation signals.
  1. Run controlledperformance tests at increasingmultiple virtual user levels. Unified Test Platform automatically calculates linear scalability in a Scalability Index report.

    In the above example, Unified Test Platform runs a performance test at four levels of load: 4 Iterations are run by varying the user load. Unified Test Platform operates the use case by running 4 iterations. The Scalability Index shows a number of use cases (transactions) divided by the test time.

    An app demonstrating linear scalability is able to handle the additional load levels.without taking longer to process transactions.

    Once you see a scalability bottleneck, as the above example, use the Resource Monitoring chart to see if the servers running the app have run out of resources. Other reasons for a performance bottleneck include:

    • The app does not cache values and is performance constrained by slow database queries.

    Keep

    The app uses static values that are shared between users

    The app enters a race condition among the users

    The app depends on one or more information services and the services are running slowly at load

    Unified Test Platform counts only successful transactions in the Scalability Index results. Some failures take longer than others. For example, app log-in failures because the app failed may happen in the first few seconds of a long use case. A view of the Transaction Distribution report will uncover a performance bottleneck's root cause from failed transactions. Additionally, the Controller window displays a Total Transaction chart to show transaction activity for successful and failed transactions.

    Apps with linear scalability have equal transaction times for the duration of the test data,time. environment,Some andapps' scenarioperformance mixwill consistentslow betweenduring runs.

    Comparea steady-statetest. periodsThe insteaddesired performance is a flat line in the Total Transactions chart. If the app slows its performance during the duration of ramp-upthe ortest unstable intervals.Identifytime the loadTotal levelTransaction wherechart throughputwill stopsshow increasinga orcurved errorsline rise.to the right. Some apps using caching mechanisms will show increased performance during the duration of the test time, indicated by a curved line to the left.

    Last updated: SeptemberJune 18,26, 20262023

    If you have any feedback on this topic, please contact us at documentation@appvance.ai