Displaying 1 to 4 from 4 results

docker-rabbitmq-cluster - Cluster RabbitMQ (official docker image)

  •    Shell

The main benifit with this approach is that you can use any version of RabbitMQ, which is maintaied by docker and will be up-to-date with future releases.The .env file contains environment variables that can be used to change the default username, password and virtual host.

Leveraging-cache-and-MessagingQueue-to-scale-BlockchainNetwork - Configure Redis and RabbitMQ cluster to control the flow of incoming request to blockchain network

  •    Javascript

Read this in other languages: 한국어. In this step, we will configure Redis and RabbitMQ cluster in our architecture to control the flow of incoming request to blockchain network. With the direct use of REST API calls, it is not possible to control the number of requests sent to blockchain network, this might cause errors such as read/write conflicts etc. In order to control the flow of request sent to blockchain network and scale our application, we will use RabbitMQ cluster with 3 nodes consisting of mirrored queues to queue the user requests and Redis cluster with 6 nodes (3 master and 3 slaves) where results of execution are store for a short duration. In architecture diagram, we have RabbitMQ producer present in API containers that queue the requests to RabbitMQ cluster and RabbitMQ consumers configured with an instance of Fabric-Node-SDK in Task execution containers to consume the requests from users and send it blockchain network for execution.

terraform-aws-rabbitmq - Terraform configuration for creating RabbitMQ cluster on AWS.

  •    HCL

then run terraform init, terraform plan and terraform apply. Are 3 node not enough ? Update sizes to 5 and run terraform apply again, it will update Autoscaling Group and add 2 nodes more. Dead simple.