Nacos service configuration performance test report

    Test tools

    We use the research of PAS performance evaluation service platform for pressure measurement, the principle is based on the use of JMeter engine, the use of PAS to automatically generate the JMeter scripts, intelligent pressure measurement.

    2.Set the launch parameters

    Test scenarios

    The following test scenarios are service discovery interface:

    • Verify Nacos service ability to release configuration
    • Verify Nacos service access configuration
    • Verify Nacos service long connection capacity ability

    The performance of the main test launch configuration Nacos publishConfig interface.

    In the performance of each scale clusters:

    The following for each concurrency (press the machine number * concurrency), the configuration of the TPS, the average RT.IMAGE

    2. Access configuration

    Access to configuration for Nacos getConfig interface for testing.

    The measured performance in each cluster size:

    We also look at the three nodes specific services cluster acquire configuration, the following for each concurrency (pressure machine is used for * concurrency), access to configuration of TPS, the average RT.IMAGE

    Perform Nacos addListeners the performance of the interface to monitor configuration mainly adopts increase more configuration monitoring, and issued several configuration method, statistics released time and listening to receive configuration time interval.

    4. Long connection capacity test

    Nacos listener configuration with the client to establish long connection, long service connection consumes memory, thereby cluster increased load.Build up capability of the capacity of long connection, mainly examines configuration monitor bottlenecks.

    Cluster connectivity test methods are increasing stand-alone connection to reach 9000, CPU: 13.9% memory: 18.8%, load: 4.7, are in normal state, the number of connections increases, the load will increase exponentially number level.

    In each cluster scale test basically conform to test and verify.

    Test results

    Nacos performance test is aimed at a key function, through the study of the pressure measurement of the cluster size, you can see the interface of each cluster capacity.

    This test provides you as reference, if there are any deficiency or deviation, please correct me!