openedx / openedx-aspects

Aspects - Analytics for Open edX
Apache License 2.0
6 stars 7 forks source link

Benchmark performance for xAPI over Kafka bus to Ralph #204

Closed bmtcril closed 3 months ago

bmtcril commented 8 months ago

Tests for various Kafka bus configurations.

Remaining tests:

bmtcril commented 7 months ago

Test 1 (e9d952) - 1k rows, no batching

Test system configuration:

Load generation specifications:

Data captured for results:

Findings:

bmtcril commented 7 months ago

Test 2 (2eed44) - 1k rows, batch size 10

Test system configuration:

Load generation specifications:

Data captured for results:

Findings:

bmtcril commented 7 months ago

Test 3 (708fb0) - 10k rows, batch size 100

Test system configuration:

Load generation specifications:

Data captured for results:

Findings:

bmtcril commented 3 months ago

What we've found in https://github.com/openedx/openedx-aspects/issues/202 and earlier tests is that insert performance exceeds our ability to generate events up to that ~55 / sec line. Once we have more production information from partners we can determine if we should test to a higher threshold, but for now I'm closing these tasks out.