Skip to content

Load testing and benchmarking centrifugal ecosystem components

Notifications You must be signed in to change notification settings

silischev/centrifugal-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

centrifugal-testing

Load testing and benchmarking centrifugal ecosystem components

Local running stress test

cp centrifugo/tests/stress/test_conf_example.json centrifugo/tests/stress/test_conf.json
make run_centrifugo_local_stress

Local running load test

cp centrifugo/tests/load/test_conf_example.json centrifugo/tests/load/test_conf.json
make run_centrifugo_local_load

Local running with k6 load testing tool (https://k6.io/docs/)

make run_centrifugo_local_k6

Grafana dashboard

http://127.0.0.1:3000/d/JQwvpZOMz/centrifugo

Setup sending k6 metrics into Grafana Cloud

  1. cp centrifugo/config/telegraf_example.conf centrifugo/config/telegraf.conf
  2. Edit outputs.http directive in telegraf.conf.
    Write url, username, password based on your Grafana Cloud Prometheus settings.
    For more information see https://k6.io/docs/results-visualization/grafana-cloud/
  3. Run testing:
make run_centrifugo_grafana_cloud

About

Load testing and benchmarking centrifugal ecosystem components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published