Hacker News new | ask | show | jobs
by rkrzr 2351 days ago
If you are looking for an open-source replacement of the Firebase Realtime Database, you might also be interested in Icepeak (https://github.com/channable/icepeak) (full disclosure, I'm one of the authors).

Icepeak was written because we were unsatisfied with the reliability and with the (occasionally) high latency of Firebase, both for pushing updates via HTTP (>1s for some requests) and for receiving updates over websockets.

This was about 3 years ago though, so I hope that Google improved the quality of the service in the mean time.

3 comments

Firebase and AppEngine Datastore have both been superceded by Firestore, which is has the realtime features of Firebase, but the scalability and performance (better, I think) of Datastore, and more data modeling and query flexibility.
That sounds interesting. Have you compared your service to pouchdb and gun? Is it possible to use icepeak in offline mode and automatically sync when getting online again?

[1] https://pouchdb.com/

[2] https://gun.js.org/

PouchDB looks like the client side library.

Do you still need CouchDB on the backend?

I see from the mailing list it is still a very active project, which surprised me.

If you want to have PouchDB without being tied to the CouchDB-backend, check out RxDB. It supports replication via GraphQL.

https://github.com/pubkey/rxdb

PouchDB is CouchDB-Protocol implemented in javascript so you can run it wherever there is javascript, not just as a client. If you want to have a backend, you can use any DB that supports that protocol (there are several), which includes using a PouchDB instance run by node.js.
Is PouchDB + CouchDB considered an alternative to Firebase?
That depends on your use case since Firebase is more than a database. Since CouchDB is from 2005 and Firebase is from 2011, it is in comparison a very mature product and protocol worth trying.
Hi! What are you using for conflict resolution? Is it CRDT? Have you seen RON? https://github.com/ff-notes/ron