Used for synchronous communication between API Gateway and microservices, due to its lightweight nature
- Easy scalable - multiple consumer instances can be added as needed to handle request pick
- Resiliency - if one service fails on an asynchronous system, other services will not be affected. The task will be held until the service is up and running again.
Stateless API Gateway to the system act as single entry point for the clients
Benefits:
- Horizontal scalability
- Cache
- Rate limitting - protection against Denial Of Service (DOS) attacks and degraded performance due to traffic spikes
- Download and install Docker
- Go to /docker
- Run elasticsearch
elasticsearch-kibana-docker-compose.yaml- Run RabbitMq
docker run -p 15672:15672 -p 5672:5672 masstransit/rabbitmq- Start Gataway and Services
- Run project and go to app url: http://localhost:5000/swagger/index.html

