-
Notifications
You must be signed in to change notification settings - Fork 42
Scalability & Performance
Allie Crevier edited this page Jul 1, 2020
·
11 revisions
- The client needs to be responsive with up to 300 sources.
- The client needs to be responsive with up to 100 submissions and replies per source.
- Loading the source list (breakdown): https://github.com/freedomofpress/securedrop-client/issues/1009#issuecomment-606167102
- Loading a conversation: https://github.com/freedomofpress/securedrop-client/pull/1049#issuecomment-651402561
To create many sources:
- On your test server,
sudo -u www-data bash
cd /var/www/securedrop
NUM_SOURCES=500 ./create-dev-data.py
Or...
- On your test server,
sudo -u www-data bash
cd /var/www/securedrop
./qa_loader.py --journalist-count 1 --source-count 500 --submissions-per-source 2 --replies-per-source 2 --source-reply-fraction 1
To create one source with many messages and replies:
- On your test server,
sudo -u www-data bash
cd /var/www/securedrop
./qa_loader.py --journalist-count 1 --source-count 1 --submissions-per-source 500 --replies-per-source 500 --source-reply-fraction 1
- In Qt you can use QTimer to schedule slices of work