This shows Redis in infrastructure services in a microservice architecture.
This is not production ready code, this is a sample implementation for showcasing only!
- Python v3.5
- Docker Compose v1.25 (or Kubernetes v1.17)
docker-compose up
- Go to
http://localhost:5000/
to watch events and browse state.
python3 -m unittest tests/unit.py
- Go to
http://localhost:8001/
to see what's in Redis (useredis:6379
)
docker-compose down