Skip to content

masoodfaisal/service-comms-amqp-vertx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using AMQP to communicate between micro-services using Vert.x

Quick start

docker-compose up

Manual Setup

  • Download and install docker
  • Download and install vegeta

Run Interconnect server

Run AMQP Interconnect locally

docker run -it -p 5672:5672 ceposta/qdr

Once the interconnect sever is running, you can run following to get some stats

docker ps
docker exec -it CONTAINER_ID /bin/bash
#inside container
qdstat -a
qdstat -c
qdstat -l

Run applications

cd frontend 
mvn clean install
java -jar target/frontend-service-full.jar

In another terminal

cd backend 
mvn clean install
java -jar target/backend-service-full.jar

In third terminal

 echo "GET http://localhost:8080/" | ./vegeta attack -duration=60s -rate=50 | tee results.bin | ./vegeta report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •