Skip to content

Team-Luxray/related_products_api

Repository files navigation

Systems Design Capstone

Task

Built a backend API that could scale to web server level. Achieved 3000 requests / second and sub 50ms latency.

Learnings

  • Using secondary indexes to optimize table lookup speeds from O(N) to O(logN).
  • Horizontally scaling servers with a load balancer.
  • Using a ELT process to load millions of lines of csv data into my table schema.

Build

NGINX, AWS EC2, PostgreSQL, loader.io (deployed testing) and k6 (local testing).

Other

  • Limitations were having to use free-tier t2 micro instances on AWS.
  • The trickiest part was deploying, since there are so many finnicky parts in dev ops.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published