Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
I'm exploring ways to make my frontend applications reactive to database changes without overloading the backend. - Traditional methods like polling are resource-intensive and rerun entire queries, which isn't efficient. - I’m familiar with some libraries and companies are doing this by building materialized views close to the DB [1][2], but I want to update the frontend, not just the backend. - Some platforms like Supabase Realtime [3] and Firebase offer subscription models to database changes, but these solutions fall short when dealing with complex queries involving joins or group-bys. My vision is that the modern frontend to behave like a series of materialized views that dynamically update as the underlying data changes. Current state management libraries handle state trees well but don't seamlessly integrate with relational or graph-like database structures. The only
Why it failed
I'm exploring ways to make my frontend applications reactive to database changes without overloading the backend. - Traditional methods like polling are resource-intensive and rerun entire queries, which isn't efficient. - I’m familiar with some libraries and companies
- Kind
- startup
- Status
- Shut down
- Inventor
- bruchim
- Ended
- 2024
- Source
- hackernews