A redesign of a monolithic ratings and reviews microservice with an end goal to support load under large amounts of user traffic and stress. This service handles requests in gathering numerous product reviews, as well as gathering a product’s meta data, such as average rating, and the average rating for a product’s characteristics, like quality, fit or length. This service also allows user input, allowing them to add their own review to a product, as well as report or mark existing reviews as helpful.
- Throughput of 1000 RPS
- < 1% Error Rate Under Load
- Average Latency of < 2000ms
- JavaScript
- PostgreSQL
- Redis
- Postman
- K6
- Loader.io
- NewRelic
- NGINX
- AWS EC2
- 35ms Latency
- 1000RPS Throughput
- 0% Error Rate
- 1200ms Latency
- 1000 RPS Throughput
- 0% Error Rate
- 24ms Latency
- 3000 RPS Througput
- 0.02% Error Rate
- 23ms Latency
- 3000 RPS Throughput
- 0.2% Error Rate