Last fall, Replicache commissioned Jepsen to take a look at their design docs, and we wrote a bit about how it works: https://replicache.dev/jepsen.html They're doing something kinda like Bayou for mobile apps: local, speculative JS transactions, replicated asynchronously.
-
Show this thread
-
You get arbitrary offline transactions, but they might be re-ordered/re-executed with varying effects, so long as the order preserves causal consistency. Eventually they stabilize on a fixed serial order.
1 reply 0 retweets 1 likeShow this thread
Again, this is just design review--I can't speak to anything about Replicache's implementation--but these properties are theoretically achievable! There's precedent in both Bayou and Eventually-Serializable Data Services (1996!) https://groups.csail.mit.edu/tds/papers/Lynch/podc96-esds.pdf …https://www.researchgate.net/publication/2632914_Bayou_Replicated_Database_Services_for_World-wide_Applications …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.