100,000+ Operations Per Second
/api/requests/insert
/api/requests/update-status
/api/requests/flush
/api/requests/ping
# Insert request
curl -X POST http://localhost:8080/api/requests/insert \
-H "Content-Type: application/json" \
-d '{"id": 123, "project": 1, "status": 0}'
# Update status
curl -X POST http://localhost:8080/api/requests/update-status \
-H "Content-Type: application/json" \
-d '{"id": 123, "status": 2, "result": "completed"}'
# In-process queue benchmark (668k+ ops/sec)
php artisan benchmark:queue full
# HTTP load test with Apache Bench
ab -n 10000 -c 100 -p post.json -T "application/json" \
http://localhost:8080/api/requests/insert