▲ | djfobbz 6 days ago | |||||||
I thought you could easily achieve this (a global real-time object) with convex.dev? | ||||||||
▲ | adrai 6 days ago | parent [-] | |||||||
The team at Convex is building an awesome product. You're right that you can absolutely achieve real-time functionality with Convex, but we think about the problem with a different philosophy and focus. The way we see it, it comes down to the level of abstraction and what problem you're trying to solve: Convex is a powerful, full-featured backend platform. It gives you a database, serverless functions (mutations and queries), and file storage. It's a fantastic choice if you're looking to build your entire backend on a modern, reactive stack. You write your logic in server-side functions, and Convex provides the infrastructure. Vaultrice aims to be a simpler, more focused real-time component that often requires no backend code from you at all. Our goal is to feel like a frontend tool—like a "cloud-based localStorage". The key difference is in the developer experience: With Vaultrice, for things like cross-domain state sharing or a simple "who's online" list, you just instantiate our SDK on the client with your credentials and start using it. There are no backend functions to write. Our SyncObject API, where you just modify a JavaScript object and it syncs, is designed to completely abstract away the server. So, a good way to think about it might be: Choose Convex when: You need a complete backend replacement, with server-side logic, schema validation, and complex queries. Choose Vaultrice when: You already have a backend (or don't want one for this feature) and you just need to drop in a real-time, cross-domain state layer with a dead-simple, frontend-friendly API. | ||||||||
|