Hacker Newsnew | past | comments | ask | show | jobs | submit | thezjy's commentslogin

This is inspiring. It reminds of DHH's idea for Rails 7 as a one person framework to compress the complexity of modern web apps (https://world.hey.com/dhh/the-one-person-framework-711e6318).

Replicache does the same thing but for a different domain from Rails: local-first web apps.

Tools like these will be appreciated during the forthcoming economic slowdown.


Seems like a CORS related bug on Safari. I tested on Safari 15 and couldn't reproduce it.

https://stackoverflow.com/questions/63141448/safari-fetch-ap...


Replicache's creator Aaron has a pretty good Twitter thread explaining the difference among Replicache, WebSocket and (classic) CRDTs. I will summarize briefly here:

- WebSocket (and Phoenix Channel) is just a communication method. To maintain consistency and resolve conflict, you need something like Replicache.

- CRDTs are more suitable for p2p scenario while Replicache works better for client-server apps.

- Phoenix's Presence is built with CRDT but it's just a single feature, not a general CRDT toolkit.

The thread: https://twitter.com/aboodman/status/1410441402366922762


Also, a bit of the underlying plumbing here: https://twitter.com/aboodman/status/1323352541887754240


Author here. Thanks for mentioning Meteor, which also impressed me a lot when it first came out. I think it didn't take off because it tries to do too much (frontend + backend + db). And one smart move by Replicache is that it tries to integrate nicely with the rest of your stack.


Thanks! Wait for my next article. Hope it won't be long.


Thanks for the solid article.

Definitely interested in understanding end user benefit of the distributed database given one of purposes of library is to hide write latency and there needs to be coordination for every write.


It uses the production binary, originally 604.59 KB and after brotli (Vercel uses brotli by default) 213.90 KB.


Ah, when I brotli compress it locally, it's 188 (which is where I remembered 100 from) but I guess it uses different settings than the auto-brotli in Vercel.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: