Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

2. Structure

Ben Wong edited this page Nov 29, 2018 · 7 revisions

Components

The application is made up of the following:

  • Rails web application to serve pages to the end users
  • Azure active directory to authenticate users
  • Heroku Scheduler and DelayedJob to process periodic/background tasks
  • Repairs API to access universal housing and DRS data
  • Neo4j to store references between works orders and keep track of what notes and work orders have been processed
  • Redis for caching API responses
  • Postgres to store the delayed job queue

The rails app is made up of 3 different kinds of processes

  • Web dynos
  • Feed Worker - accesses the feed api to keep the Neo4j DB up to date - there must be only 1 feed worker
  • Worker - runs non-feed related jobs

See 6. Pretty Pictures for diagrams of how the components are used together.

Clone this wiki locally