Skip to content

A proof of concept where we try to build a reactive architecture using Python, RabbitMQ and AngularJS.

License

Notifications You must be signed in to change notification settings

mendrugory/reactive-architecture-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactive Architecture

A very simple proof of concept where I try to build a reactive architecture using Python, RabbitMQ and AngularJS.

The PoC is composed of three projects or modules. The behaviour of the entire system tries to be asynchronous. No data is requested between the modules and getting the information as soon as it is ready:

  • [resources-tracker] resources-tracker: It tracks the resources of the machine and it will send the measures through RabbitMQ.
  • [resources-analyzer] resources-analyzer: It analyzes the received measures, analyze them and send the outcomes through RabbitMQ.
  • [resources-web] resources-web: It shows the analyzed measures which are received through RabbitMQ.

I highly recommend to run them using the given script. You have to have Docker.

$ ./run.sh

Or all the containers from the main repository folder:

$ docker run -d --hostname my-rabbit --name rabbitmq rabbitmq:3-management
$ docker build -t resources-tracker ./resources-tracker
$ docker run -d --link=rabbitmq --name resources-tracker resources-tracker
$ docker build -t resources-analyzer ./resources-analyzer
$ docker run -d --link=rabbitmq --name resources-analyzer resources-analyzer
$ docker build -t resources-web ./resources-web
$ docker run -d --link=rabbitmq -p 8888:8888 --name resources-web resources-web

And visit http://localhost:8888

About

A proof of concept where we try to build a reactive architecture using Python, RabbitMQ and AngularJS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published