Proof of concept to test how to work with async and batch processing
- create a async process
- must be idempotent
- has multiple handles to do the processing
- if one handle fails, the other handles must be able to continue the process
- if a handle fails multiple times that handle should be pause for a while
- some handles only can be executed some times per minute
Important
This project uses nodejs, docker and docker-compose to run You should have this tools installed in your machine
-
Create a file .env based on .env.example
-
Install dependencies
yarn
-
Setup de Infrastructure
docker-compose up
-
Run the application
yarn dev
Note
You should turn off the application before turn off the infrastructure at end
do this running docker-compose down