Skip to content

Ghostbuster-reactor/Question-Answers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question-Answers

Questions & Answers Server System Design

This project was:

  • To create an API for an e-commerce site that used legacy data stored in large 1-2 GB .CSV files containing 1-2 million different product entries that required ETL
  • To split the API into microservices and deploy them.

I took responsibility for the Questions and Answers database management system/microservice.

The goal with creating this API was to handle at least 100 RPS(Requests per second) on AWS EC2 instances with low latency (< 2000 ms) and have an error rate below 1%.

I deployed multiple AWS EC2 server instances, one database instance with the cleaned data, one Nginx load balancer instance, and was able to reach 1200 RPS with an average latency of 70ms and a 0% error rate. I was further able to improve the RPS by using caching, which allowed for 1900 RPS, but did increase the latency by 25ms.

If I wanted to get even better average metrics for similar projects in the future, I would attempt pooling and adding more server and database instances.

Click on the image below to go to my Engineering Journal describing this project in more detail.

Notion journal of the project

Technologies used:


About

Questions & Answers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published