Using Solace Messaging in Cloud Foundry

The goal of this demo is to illustrate a real world example of using messaging between microservices in the cloud. This demo illustrates the Aggregator Microservice Design Pattern using an event driven architecture with messaging to communicate between Microservices, specifically Solace Messaging in Pivotal Cloud Foundry.

cloud-foundry-demo-overview

As illustrated in the architecture diagram, this demo is composed of the following parts:

  1. A RESTful Web Application receives incoming requests. In this demo, the job requests are number of work units, rate, and delay characteristics.
  2. The work requests are sent to a non-exclusive queue in the Solace Messaging Service.
  3. The worker applications process messages from the Solace queue. The application can be horizontally scaled using Cloud Foundry to increase the overall processing throughput of the system.
  4. When a Worker is done with a work request, it sends the response. For the purposes of this demo, the Aggregator Application tracks and displays status of each job in the summary table below.
  5. The Aggregator Application and Worker Applications depend on a Solace Messaging Service for Cloud Foundry.
  6. All of the apps are pushed to Cloud Foundry through the CLI or Pivotal Apps Manager.

hosted-in-github
SolaceLabs / sl-cf-solace-messaging-demo

Use Git or checkout with SVN using:


Learn More