Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

eta-rest v0.2.0

REST service for calculating ETA value


  • Docker
  • docker-compose

Start up

To start the services, follow scripts from the shell.

Clone project to neighboring folders.

git clone
git clone
cd eta-rest

Then launch docker-compose:

docker-compose build
docker-compose run eta-service rake db:create db:migrate db:seed
docker-compose up -d

Api will be available at http://localhost:9292/eta


Service acepts get requests to /eta path with two params: lat and long


GET /eta?long=78.17&lat=79.90

Communication protocol

Services communicate via AMQP protocol.
Cause is it's async, reliable and fast.
Eta-service easily scales by increasing workers count on the same queue.

Docker Pull Command