Uncaught (in promise) DOMException: A mutation operation was attempted
on a database that did not allow mutations.Jazz – Apps with Distributed State
91–100 of 179 posts
Re: Jazz – Apps with Distributed State
#92Founder here - thanks for posting this! It’s getting late where I am so everyone who has questions please don’t be shy to ask, will elaborate in detail tomorrow!
The first question I have when I visit the site is, how is this different from Firebase?
But Jazz does so in a completely different (local-first) way: it implements shared state on top of CRDTs and implements user identity and permissions based on public-key cryptography. This means you can create, store and share data from the client (even while offline) while still benefitting from cloud storage and real-time sync between devices and users by default.
Re: Jazz – Apps with Distributed State
#93Mild nit: your website hijacked the back button, I had to spam click back like 30 times to get back to this hacker news comment thread
Re: Jazz – Apps with Distributed State
#94Earlier quoted context omitted.
It is already persisting and syncing data (fully encrypted) between the cloud and other users. You can think of Jazz as a distributed database itself. The coming-soon badges are about interop with traditional systems and higher level features we will add later. The fundamentals are solved and you can build full multiplayer, local-first apps with it. Does that make sense?
That sounds a lot more promising! Which brings in even more questions. What is the performance of these multiplayer experiences? Can I have 1000+ users all connected to the same chat session? What about 10,000? (these numbers might seem high, but they're what I'm expected to deliver in my day-job)
Re: Jazz – Apps with Distributed State
#95I'm jazzed about Jazz, I think Anselm got the priorities right and I'm excited to use it soon. If you get the chance to hear him talk about it, I highly recommend that too!
Re: Jazz – Apps with Distributed State
#96I love building with Jazz. It's so refreshing to build apps without thinking about backends. The number one thing I'm looking forward to is React Native support. Having local data that syncs is essential for many mobile apps, but there are no easy solutions yet. (Besides iCloud, which is limited to iOS/macOS) With Jazz, I can see a future where building syncing, cross-platform apps becomes effortless.
Re: Jazz – Apps with Distributed State
#97Earlier quoted context omitted.
Seems like you have lots of real world mobx experience. Have you ever read this article, basically saying that every front end state (including mobx) basically ends up being a worse version of a standard database? https://sqlsync.dev/posts/stop-building-databases/ I ended up finding that article after running into lots of the challenges with mobx State tree. I ended up trying to use watermelondb, a sqlite wrapped for…
Not GP but isn't it like saying that every database ends up being a worse version of a standard filesystem?
The database has more features relative to filesystem, so we wouldn't miss the filesystem whereas a powerful indexing system is a feature in database missing in frontend data stores.
Some other examples below(Firefox plugins which are file browsers, FTP clients, C programs informally implementing subset of Common LISP features).
https://en.wikipedia.org/wiki/Inner-platform_effect
Re: Jazz – Apps with Distributed State
#98Earlier quoted context omitted.
Investigating why it’s breaking, was there a lot of people in that room?
when it broke there were 3-4 people in it
Re: Jazz – Apps with Distributed State
#99Very excited to see this. I think this is currently the most promising of the fully-decentralized local-first systems I've seen.
Re: Jazz – Apps with Distributed State
#100Curious how this compares with Meteor.
Jazz implements essentially a distributed database with permissions based on public-key cryptography, so you can meaningfully create, edit, share and store data on the client (even while offline), which gets synced to other users and devices (and stored in the cloud) whenever you're online