This project demonstrates monitoring sensors in a distributed system using Golang. It serves as a demonstration of how the concepts of distributed architecture can be applied to a Go application. The sensors are simulated in this application.
Install go dependencies:
go get github.com/lib/pq
go get github.com/gorilla/websocket
go get github.com/streadway/amqp
Start the web application:
go run src/distributed/web/main.go
Start simulated sensors:
bash start_sensors.sh
Start the coordinators:
bash start_coordinator.sh