examples/qdrant/README.md
Simple example demonstrating load testing for Qdrant vector database operations.
Install Locust with Qdrant support:
# Using pip
pip install locust[qdrant]
# Using uv
uv add locust[qdrant]
# or
uv sync --extra qdrant
This installs the required dependencies:
qdrant-client - Official Qdrant Python SDK# Navigate to this directory
cd examples/qdrant
# Run Qdrant
docker run -p 6333:6333 -d qdrant/qdrant
# Run headless
locust -f locustfile.py --host=http://localhost:6333 --headless --users=10 --spawn-rate=2 --run-time=60s
# Run with web UI
locust -f locustfile.py --host=http://localhost:6333
For more advanced usage, see the Locust documentation.