4 ms·
Replicache's creator Aaron has a pretty good Twitter thread explaining the difference among Replicache, WebSocket and (classic) CRDTs. I will summarize briefly
by thezjy 5y ago
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 https://twitter.com/aboodman/status/1410441402366922762
- ec109685 5y agoAlso, a bit of the underlying plumbing here: https://twitter.com/aboodman/status/1323352541887754240 https://twitter.com/aboodman/status/1323352541887754240