Behind the scenes of Tinybird's big frontend refactor
Blog post from Tinybird
In a recent overhaul of the Tinybird application, the team unified the frontend under a single URL, app.tinybird.co, and enhanced the authentication system to streamline user experience and reduce internal technical debt. This complex refactoring involved breaking up the monolithic architecture into a decoupled system using Next.js for the frontend, deployed on Vercel, while relying on Vercel's edge network for caching and authentication, which improved performance and reduced latency issues. The restructured architecture allowed for more efficient and faster deployments, cutting down deployment times significantly and enabling more rapid development iterations. The changes addressed both external user challenges, such as confusing regional URLs and authentication edge cases, and internal technical challenges, like deeply coupled deployments and service maintenance inefficiencies. The transformation has improved the developer experience and positioned Tinybird to handle its rapidly growing user base, which processes massive amounts of data and handles billions of API requests annually.