https://github.com/dirkcuys/etherpad-benchmark
Load test Etherpad
https://github.com/dirkcuys/etherpad-benchmark
etherpad load-testing nodejs
Last synced: about 2 months ago
JSON representation
Load test Etherpad
- Host: GitHub
- URL: https://github.com/dirkcuys/etherpad-benchmark
- Owner: dirkcuys
- License: mit
- Created: 2020-05-26T13:49:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T10:24:49.000Z (almost 6 years ago)
- Last Synced: 2025-06-15T21:17:15.071Z (12 months ago)
- Topics: etherpad, load-testing, nodejs
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Etherpad benchmarking
Test Etherpad using a client/server architecture to orchestrate multiple workers to connect and interact with an etherpad server using headless chrome. Each worker interacts with the etherpad for a random amount of time and sends the following metrics back to the server: time taken to load etherpad, number of characters submitted to the therpad.
usage:
docker build . -t etherpad-bench
docker run -it --rm -p 3000:3000 -p 3001:3001 -p 3002:3002 --name coord etherpad-bench node server.js -H https:// -b 0.0.0.0
docker run --rm -d -i -t --link coord etherpad-bench node client.js -b coord
For larger scale tests, it is recommended to use something like terraform to provision infrastructure and ansible to setup the servers. See terra.tf and ansible/ for an example of how this can be done.