This repo consists of three java projects.
- Server - A backend web application that exposes functionality for adding, requesting info, and reacting to a music album.
- Consumer - A RabbitMQ consumer that eventually updates the database with time-insensitive posts.
- Client - A mock project to spam the server with 100,000+ requests to simulate user load in real time.
Each project relies on a properties file located in the <root-project>/src/main/resources/ directory of the project with the following attributes...
run.groupCount = <number>
run.groupThreadCount = <number>
run.delayInSeconds = <number>
run.hostUrl = http://<ip-address>:8080/<artifact-name>
run.imagePath = absolute/path/to/image.png
run.outPrefix = report-file-prefix
db.url = <string>
db.user = <string>
db.password = <string>
mq.queueName = <string>
mq.url = <string>
mq.user = <string>
mq.password = <string>
db.driver = <string>
db.url = <string>
db.user = <string>
db.password = <string>
mq.url = <string>
mq.username = <string>
mq.password = <string>