Skip to content

thephilipquan/distributed-backend-web-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distributed-backend-web-application

summary

This repo consists of three java projects.

  1. Server - A backend web application that exposes functionality for adding, requesting info, and reacting to a music album.
  2. Consumer - A RabbitMQ consumer that eventually updates the database with time-insensitive posts.
  3. Client - A mock project to spam the server with 100,000+ requests to simulate user load in real time.

tech stack

how to run

Each project relies on a properties file located in the <root-project>/src/main/resources/ directory of the project with the following attributes...

client

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

server

db.url = <string>
db.user = <string>
db.password = <string>

mq.queueName = <string>
mq.url = <string>
mq.user = <string>
mq.password = <string>

consumer

db.driver = <string>
db.url = <string>
db.user = <string>
db.password = <string>

mq.url = <string>
mq.username = <string>
mq.password = <string>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published