Spring boot apache pulsar with million requests
-
run with ./run.sh
-
send message from simple controller http://localhost:3021/webjars/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
-
attack from console: ab -k -c 100-n 1000 http://localhost:3021/api/v2/pulsars/send?message=ping
ab -k -c 1000 -n 10000 http://localhost:3021/api/v2/pulsars/send/json
-
Dashboard http://localhost:9090/
Added shine microservice with cassandra support:
Cassandra Web http://localhost:3000/
Cassandra Swagger API
http://localhost:5021/webjars/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
- ab -k -c 10 -n 100 http://localhost:3021/api/v2/pulsars/send/data/event //send to shine/cassandra
docker-compose up -d --build --scale magnetar=2