Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 511 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 511 Bytes

installing packages

pipenv install

run server

python server.py

run redis

redis-server

or run the server using sudo service

sudo service redis-server start

run celery worker

celery --app api.service worker --loglevel=info

delete all hanging task

celery --app api.service purge -f

running load test

locust -f scripts/loadtest.py --host http://localhost:5000/api --users 5000 --spawn-rate 100 --run-time 1m