System design of reviews microservice inherited from a legacy-codebase for a short-term lodging listing page. Listings range from 1 to 10 million where 1 listing has about 4 reviews. This microservice can sustain about 40 million reviews with a 1200 request per second and 130ms latency.
- https://github.com/airJordans/review-module
- https://github.com/airJordans/booking-module
- https://github.com/airJordans/listing-description-module
Some usage instructions apply. See Development.
An nvmrc
file is included if using nvm.
- Node 6.13.0
- etc
From within the root directory:
npm install -g webpack
npm install
npm run react-dev
cd database/postgres
node generatorPSQL.js
\i /Users/{your_user_account}/Desktop/review-module/schema.sql
npm run serve
Navigate to http://localhost:3003/listings/1/ in your browser.