Live data from Hacker News

Jazz – Apps with Distributed State

jazz.tools

101–110 of 179 posts

Re: Jazz – Apps with Distributed State

#102

Opening a demo chat app URL in Private Mode in Firefox results in perpetual "Loading..." screen and the following error on the console: Uncaught (in promise) DOMException: A mutation operation was attempted on a database that did not allow mutations.

Thanks for reporting, created an issue: https://github.com/gardencmp/jazz/issues/498

In this case we should fall back to using in-memory state only

Re: Jazz – Apps with Distributed State

#103
post #21

> Jazz Mesh is currently free — and it's set up as the default sync & storage peer in Jazz How difficult is it to run my own backend? Edit: > Completely DIY Mesh. > Build your own network of sync and storage nodes. Handle networking, security and backups yourself. > Costs: > N × instance cost for your sync nodes. > Very high self-hosted egress costs. > High self-hosted storage costs. Compared to Mesh Pro at $79 for 3…

npx jazz-run sync Either locally or on your server. And then point the app to that! Edit: re pricing Super preliminary, curious to hear everyone’s thoughts

Storage seems reasonable, maybe even a bit too cheap, but the sync minutes look way too expensive. One problem is with end-user monetization: users are used to pay for storage, but not for how much time they can use your app.

For a small storage-heavy indie app I have, I'd pay $79 for base price, $45 for additional storage, and $1500 for sync minutes.

Re: Jazz – Apps with Distributed State

#104

Where are the information about the company? I cannot find an About Us, where they are based, etc?

Founder here - we’re working on that page, so far there’s just info on me on https://gcmp.io/team But I was able to hire a couple really good first people recently! We’re based all over Europe. Let me know what else you’d like to know!

Are you looking to hire at all? This is the kind of technical work that I'm very interested in.

I'm based in Europe.

Re: Jazz – Apps with Distributed State

#105
post #66

Curious how this compares with Meteor.

Meteor works on top of a traditional backend (typically MongoDB afaik?) to give you full-stack reactivity. 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

Is this synchronisation (theoretically) possible over p2p communication protocols like Bluetooth or wifi direct?

I would more than love to have local networks that can be emergent and growing and shrinking in this way.

Reminds me of my student days when I was traveling in the train, wondering why we couldn't have a p2p social network for people who are in this train _right now_

Re: Jazz – Apps with Distributed State

#106

Earlier quoted context omitted.

npx jazz-run sync Either locally or on your server. And then point the app to that! Edit: re pricing Super preliminary, curious to hear everyone’s thoughts

Storage seems reasonable, maybe even a bit too cheap, but the sync minutes look way too expensive. One problem is with end-user monetization: users are used to pay for storage, but not for how much time they can use your app. For a small storage-heavy indie app I have, I'd pay $79 for base price, $45 for additional storage, and $1500 for sync minutes.

Thanks, this is very helpful. If it's unfeasible for a small indie app then that's a bug in the pricing.

If you have time, I'd love to hear about your app and work out alternatives (not just for you, but for everyone)

anselm@gcmp.io anselm_io on Twitter

Or book a chat directly: https://cal.com/anselm-io/talk-about-jazz

(everyone else who has opinions on pricing is welcome to do the same)

Re: Jazz – Apps with Distributed State

#107

Earlier quoted context omitted.

when it broke there were 3-4 people in it

update: it's not the amount of people in it that broke this room https://news.ycombinator.com/item?id=41775047

update 2: should be working now (give it a second to fully load)

Re: Jazz – Apps with Distributed State

#108
post #83
post #25

Earlier quoted context omitted.

Thank you for this. Many years of browser usage and I never knew this.

Such is the years long removal of affordance from the UI. Netscape 4 had a small downwards arrow to indicate a submenu for the backbutton.

On Firefox it apparently disappeared in 2011

https://github.com/black7375/Firefox-UI-Fix/wiki/%5BArticle%...

Re: Jazz – Apps with Distributed State

#109

Earlier quoted context omitted.

update: it's not the amount of people in it that broke this room https://news.ycombinator.com/item?id=41775047

update 2: should be working now (give it a second to fully load)

update 3: added rendering of only the newest messages per default, scroll-to-bottom, and message length truncation to deal with the spam a bit better

Re: Jazz – Apps with Distributed State

#110
This is absolutely fantastic! I have been looking on and off for something like this for years (some of the things I have used are CouchDB, command/event sourcing, and ditto.live).

I have not been able to read the docs fully, but some questions:

* How do you handle state that is too big to send to the client fully? In a chat application, does the client need to have the whole channel history, or is syncing a subset of that supported? * Does permissioning support partial CoValues? For example, "You can edit the contents but not the title of the 'blog post #11' object" * Do you have resources about the suggested data modelling? Things like how granular should a CoValue be and what the trade-offs are. * How do you handle deletion? Do you tombstone? Is there a way to fully scrub a value from history (to support, for example, GDPR's right to erasure)?

Post reply on HN