Skip to content

objectobject-hr/sdc-service-aaron

Repository files navigation

Home Away System Design

This project was my personal attempt at creating a more efficient back-end system. At the time of inheriting the legacy code base, base line traffic metrics were at roughly 500 requests per second. Through much testing, I have effectively scaled the back-end system to handle a 400% increase in traffic at roughly 100ms to a single endpoint, given restrictions and other various constraints.

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

This project aimed to improve an existing back-end architecture, in an attempt to increase the amount traffic it can handle. To run locally:

  1. Install dependencies
  2. Inside of dbhelpers/postgres/ open index.js and change
  • user to your postgres user/password settings
  • password to your postgres user/password settings
  • host to "localhost"
  • database to "sdc_pg"
  • port to "5432"
  1. From within the root directory, run node pgListingsSeed
  2. From within the root directory, run npm run pgstart
  3. Test the local api with artillery.io

Requirements

  • Node 6.13.0
  • etc

Development

To test locally, I've used artillery.io

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install

search-form-booking-tool

search-bar-booking-tool

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published