Skip to content

AS2 Performance Report

Performance Test Description

  1. Performance Test, different message size and frequency to test AS2 server performance.
  2. Stability Test, different message size and frequency to test AS2 server stability.

Test Environment

Hardware

ConfigurationCPUMemoryNetworkDiskOS
Configuration 1 2 Corei7-11800H 2.3GHz 2 Cores2G1000M60GWindow Server 2019 Standard
Configuration 2 4 Corei7-11800H 2.3GHz 4 Cores2G1000M60GWindow Server 2019 Standard

Software

NameVersionDescription
Eclipse Temurin Open JER17.0.12+7Java RunTime
PostgreSQL DataBase14.11.1DataBase
chinlink-edi-core.jar25.1.1164.423The ChinLink Core Library
chinlink-edi-ultron.jar25.1.1164.1181The ChinLink Data Integration Platform

Test Target

Excepted Performance Indicators

Scenario NameIndicator NameExpected Value RangeActual ValueIs it Satisfied (Yes/No)
1000 messagesComplete Time60s40sYes
2000 messagesComplete Time120s73sYes
3000 messagesComplete Time180s95sYes
1000 messagesSuccess Rate100%100%Yes
2000 messagesSuccess Rate100%100%Yes
3000 messagesSuccess Rate100%100%Yes
100 messages 1K sizeComplete Time10s7sYes
100 messages 5M sizeComplete Time60s49sYes
100 messages 20M sizeComplete Time180s127sYes

Excepted Performance Status

  • More CPU will reduce the time of processing. PASS
  • It's linear relationship between the number of messages and the processing time. PASS
  • It's linear relationship between the file size and the processing time. PASS
  • CPU, Memory, Network, Disk, File Handles Occupation is Stable. PASS
  • No frequent thread lock, thread number is stable. PASS

Test Script

  • Use 2 cores and 4 cores to test.
  • 10 Threads 100 Send Data Test AS2 Server.
  • 20 Threads 100 Send Data Test AS2 Server.
  • 20 Threads 100 Send Data Test AS2 Server.

Test Result

The test results of different configurations of computers are as follows:

ConfigurationFile CountSuccess RateFile SizeAverage Time(s)FirstSecondThird
Configuration 1 2 Core1000100%1K39.50640.46837.39640.656
Configuration 1 2 Core2000100%1K73.80071.17673.82276.402
Configuration 1 2 Core3000100%1K95.927103.77089.57694.436
Configuration 2 4 Core1000100%1K26.00926.80325.59625.630
Configuration 2 4 Core2000100%1K53.98256.06950.59455.283
Configuration 2 4 Core3000100%1K81.71779.31681.04084.796

Test results of different configurations

The test results of different file sizes are as follows:

ConfigurationFile CountSuccess RateFile SizeAverage Time(s)FirstSecondThird
Configuration 1 2 Core100100%1K7.1049.0366.1926.084
Configuration 1 2 Core100100%5M49.77952.12349.62147.593
Configuration 1 2 Core100100%20M127.441128.891130.865122.568

100 Message Receive Time

Test Analysis

Performance Analysis

ChinLink AS2 Server performance test conclusion is passed. From the test results, it can be verified that the performance of the server can be improved by increasing the number of CPU cores. CPU利用率

From the test results, when the number of files increases, the average processing time also increases, and the processing time is linear with the number of files. When the bottleneck of disk read and write is present, the response time of the server has a large delay. It is recommended to increase the read and write capabilities of the disk or use a distributed file system. 大文件传输