Engineering At Scale • 15 implied HN points • 09 Jan 25
- Zerodha created an innovative system with 7 million PostgreSQL tables to handle user reporting requests efficiently. This solution tackled issues with slow queries and poor user experiences during busy periods.
- They switched from a synchronous to an asynchronous model, allowing users to submit requests and check back later for results. This change improved the overall user experience significantly.
- The new architecture involved using a temporary database to handle queries and storing results in many tables. While it works well for now, they might need to consider other solutions if user growth continues rapidly.