I was asked a below system design question in round 3 of Microsoft in Hyderabad India drive happened in May 2022.
Can anyone please help in breaking it down??
Design task:
You are given a task to design an "Alerting Module" in multi-tenant SaaS platform (4.000.000 devices).
Currently, various application events (i.e. crash, load, usage) and device metrics (i.e. cpu, ram, and disk usage) are being ingested and aggregated into a database
Customers are in need of a system where they can configure alerts on above events and metrics by defining some criteria to be alerted about every 15min/1hour/24hours.
Some criterias example:
- alert on MS Teams crash and report device status
- alert on page load time and report device and user status
It is planned to have multiple channels of alert notifications, but the first one will be via Email.
Which type database would fit this use case ?


