665 karma · joined April 16, 2020
This is not true. When you compare the CouchDB replication with other replication protocols, it is slow. The reason is that CouchDB supports replication with many instances at the same time. This creates big overhead in handling revision trees. Many requests have to be made all the time. You can observe that by starting the PouchDB subproject in the comparison repo. Watch the network tab in dev tools. Another problem is that CouchDB does not support Websocket replication, everything is long polling and plain http requests.
Other replications that only support many-clients-to-one-server are way faster. Both, on the initial load and on ongoing changes. This was the main reason why I build GraphQL replication for RxDB.
I now leave things out that can be googled and are already known by "most" readers.
I am using RxDB with Capacitor (iOS and Android app). You can use the SQLite based pouchdb adapter with capacitor. It keeps your data and is (sometimes) faster.
Here [1] I have documented a whole section about how to use RxDB+SQLite in Capacitor.
> On average it reduces the CI run time by 50% (we forked and tested on ~100 public repos)
So in reality is is just 2x faster on non-optimized public repos?
Which is not a good sign for general LN adoption.
- https://en.wikipedia.org/wiki/Facebook_onion_address
- facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion
Yes, I totally missed this side of the dice. Having your data stored locally, being in control, being able to reset the state to it's origin, export the local state as json and import it somewhere else, knowing what is stored and how long.
I mean, read all these comments on both articles. People say offline first does not work, then they say that every software is offline first by default and it is nothing new.
It was totally worth it spending two 3 days on it :)
disclaimer: I made RxDB
[1] https://github.com/pubkey/rxdb
[2] https://hasura.io/learn/graphql/react-rxdb-offline-first/int...
I have no deep knowledge of Firebase RTDB so I cannot do any comparison on that point.