Case Study 1: Case Task: Design a high throughput and fail-safe ingestion API.
Problem Statement: In a constrained environment, there are around 500 sensors that are sending around 4 requests per second to your web server. Each request has a unique id in the payload for identification. Sometimes, the sensors misfire and send the same request multiple times as well and in this case only one request should be catered. Design a system for this environment so that your service can handle these 2000 requests per second with 100% availability. The data being sent from the server needs to be eventually saved in a database and the solution should be horizontally scalable. You are free to select any infrastructure/tech stack that you think is best suited for this use case. However, you must provide a rationale for whatever you select. Pls also ensure you submit an application diagram with your solution.