Server side code for yacht
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
cookbooks
sandbox
worker
.gitignore
Gemfile
README.md
Vagrantfile

README.md

TOW

Service responsible for all backend operations of yacht email client.

Installation instructions

install vagrant

# run tow
vagrant up
ssh tow@localhost -p 2232
screen -r

Architecture

HTTP (JSON)
 |
 |
[LB]
 |                   ---------
  ----[API node]---> |Message|
 |                   |  BUS  |
  ----[API node]---> |       |
                     ---------
                      |
                      |
                       -----[Worker node]
                      |
                       -----[Worker node]
  • LoadBalancer - any free software load balancer, e.g. HAProxy.
  • API node - Ruby backend on top of Sinatra.
  • Message Bus - RabbitMQ.
  • Worker node - simple process to do a job written in Ruby.