Skip to content

Commit

Permalink
reame
Browse files Browse the repository at this point in the history
  • Loading branch information
aoaow authored Dec 13, 2024
1 parent dacd341 commit 793b020
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ Watch the video presentation [here](https://youtu.be/KZIzitQN4ss)

---

### Pending Work - Scaling Beyond 10,000 Requests per Second
- The microservice currently achieves ~2000 RPS locally due to hardware limits.
- Recommended Next Steps:
- Scale App Runner instances to handle higher traffic.
- Implement additional caching (e.g., Redis) for frequent queries.
- Use database replication or partitioning to distribute the load.
- Integrate a load balancer to manage traffic across multiple instances.
### Load Test

![load_test][total_requests_per_second_1734060700.608.png]

- Performance under Load: The system handles initial load increases well, but begins to struggle as the number of requests per second and concurrent users grow drastically.
- Potential Issues: The spike in response times and growing failures suggest bottlenecks, possibly in CPU, memory, or I/O capacity.
- Next Steps: Investigate system resource utilization during this test and identify the bottleneck. Consider optimizing code, scaling infrastructure, or implementing load-balancing techniques to improve system performance. The switch to AWS EC2 does not aid the situation. Due to budget limit, we might try to move our database to AWS Postgre SQL to enable transcational query optimization.

---

Expand Down

0 comments on commit 793b020

Please sign in to comment.