
The future of databases is not just a database
I'm here to convince you that the future of databases is not just a database the future of databases is a platform built from the ground up to store and manage persistent State all the way out to the application surface as an example this is a basic online store built on convex it has a list of items we can purchase on the left and a persistent shopping cart on the right there's a lot of interlinked dynamic State here that has to update consistently not just across the various components on screen but also across the various users on the platform so when I add items to the cart the quantity in stock should decrease and the various components on screen should all update atomically but this state is persistent so should update atomically across all sessions the user has open but even more importantly it should be consistent across all users on the platform so if sujay adds a limited edition item to his cart it should disappear instantly from the list of items that I can purchase it's a simple application but doing this correctly especially in a performant way is extremely difficult it can lead to very complex application logic and a lot of backend engineering to keep all the sessions in sync not with convex with convex all we write is two queries one to fetch the available items and one to fetch our shopping cart these queries at a simple JavaScript or typescript and convex will automatically track changes to back-end data automatically push changes to these queries over a websocket and automatically update browser components in a strictly consistent way so it's likely what you want is not just a database it's likely what you actually want is a backend as a service that solves the problem of managing persistent state I think it's pretty likely that what you actually want is convex so head on over to convex.dev and give it a try
Convex is the reactive backend platform that keeps up with you and your agents. Database, functions, workflow, sync, search, file storage, and more. All TypeScript, zero glue.