...
Gliffy |
---|
macroId | 3a5ae2ae-4423-46fe-a3da-7f3f788166e4 |
---|
name | Perf test env |
---|
pageid | 64004034 |
---|
|
DMaaP Simulator
DMaaP Simulator
DMaap Simulator is a simple Spring Boot application, which exposes two endpoints. First endpoint (@PostMapping("/events/unauthenticated.SEC_FAULT_OUTPUT")) which receives fault events topic and second (@GetMapping("/summary")) which display events count and average processing time in milliseconds(depending on "startEpochMicrosec").
JMeter is generating the current epoch (current time) and updates this field:
Image Added
Architecture
Gliffy |
---|
macroId | 263b2a3c-f8f5-4fd1-bba1-766ddc81bf56 |
---|
name | DMaap Simulator architecture |
---|
pagePin | 3 |
---|
|
DMaap Simulator image:
View file |
---|
name | ves-dmaa-simulator-image.tar |
---|
height | 150 |
---|
|
DMaap Simulator supports VES collector in the Frankfurt release.
What is measured
JMeter test results & metrics
...
Test scenario | Description | JMeter test results & metrics | Ves metrics | Ves additional metrics |
---|
custom | | | | |
Presentation
View file |
---|
name | DCAEGEN2 VES performance tests.odp |
---|
height | 250 |
---|
|
Replacing Cambria with DMaaP Client
Presentation
View file |
---|
name | VesCollectorEventBatchAndNewClient.pptx |
---|
height | 250 |
---|
|
Performance Tests with real DMaaP
Environment
- CPU - 24 cores
- CPU clock speed - 2.4 GHz
- Max Heap - 512 MB
- Start Heap - 256 MB
Ves with Dmaap client
3_test_scenario_50_rps_time_600.jmx | 50RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_50_rps_time_600.jmx | 50RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_50_rps_time_600.jmx | 50RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_100_rps_time_600.jmx | 100RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_100_rps_time_600.jmx | 100RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_100_rps_time_600.jmx | 100RPS → 10min | Image Added | Image Added | Image Added |
Ves with Cambria client
Ves version : 1.9.1
3_test_scenario_50_rps_time_600.jmx | 50RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_50_rps_time_600.jmx | 50RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_50_rps_time_600.jmx | 50RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_100_rps_time_600.jmx | 100RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_100_rps_time_600.jmx | 100RPS → 10min | Image Added | Image Added | Image Added |
3_test_scenario_100_rps_time_600.jmx | 100RPS → 10min | Image Added | Image Added | Image Added |
Summary test results:
Environment
- CPU - 24 cores
- CPU clock speed - 2.4 GHz
- Max Heap - 512 MB
- Start Heap - 256 MB
| Average and Max Sync Processing Time (Client → VES) | Average VES Processing time | Error Rate [%] | Max CPU Usage [%] |
---|
VES with Dmaap | 50th percentile | 95th percentile | 99th percentile |
|
|
|
50RPS → 10min | 122ms, 349ms | 181ms, 3.23s | 591ms, 4.43s | 91ms | 0 | 36 |
124ms, 515ms | 204ms, 4.27s | 609ms, 5.48s | 90ms | 0 | 42 |
121ms, 399ms | 177ms, 2.17s | 561ms, 5.22 | 91ms | 0 | 30 |
100RPS → 10min | 274ms, 7.06 | 570ms, 7.93s | 1.0s, 8.06s | 139ms | 0.05% | 72 |
574ms, 6,07s | 1,17s, 14.19s | 1.89s, 15.37s | 201ms | 0 | 91 |
291ms, 5.88s | 415.5ms, 6.45s | 922ms, 11.3s | 143ms | 0 | 78 |
VES with Cambria | 50th percentile | 95th percentile | 99th percentile |
|
|
|
50RPS → 10min | 118ms, 520ms | 174ms, 2.10s | 571ms, 6.48s | 90ms | 0 | 48 |
122ms, 548ms | 230ms, 5.17s | 581ms, 5.54s | 88ms | 0 | 32 |
123ms, 557ms | 194ms, 2.50s | 676ms, 5.12s | 88ms | 0 | 42 |
100RPS → 10min | 301ms, 5.79s | 772ms, 16.97s | 1.16s, 17.08s | 153ms | 0 | 88 |
340ms, 7.13s | 636ms, 17.87s | 1.15s, 18.48s | 149ms | 0 | 76 |
307ms, 8.29s | 506ms, 9.44s | 855ms, 9.78s | 155ms | 0 | 88 |
Conclusion:
Results of performance tests for both VES collector client implementation (DMaap client and Cambria client) are very similar.
Max CPU usage, Error rate, Average VES processing time, average and max sync processing time(Client → Ves) are almost the same.
In Ves collector with DMaap client(100RPS for 10 min), appeared an error with the connection pool. In that specific case, we had a connection poll set to 16 and we got an error that the connection poll limits have been reached (stack trace in attachment).
We have to handle that kind of error in code.