Pick the window type

Flow 04

Choose

Bill each customer for API calls in each hour. Each call must be in exactly one bill. 20,000 customers send 40,000 calls/s, and the large ones call all day without a pause. The counter has 8 vCPU and 16 GB. Choose the window type.

Goals

Not tested yet

99 of 100 requests finish faster than this.The share of requests that fail or get no answer.What the servers and services cost each month.
Choose a design
Tumbling 1-hour windows
Sliding 1-hour windows, 1-minute step
Session windows, 30-minute gap