Live data from Hacker News

SapphireDb – Open-Source Alternative to Firebase

sapphire-db.com

21–30 of 63 posts

Re: SapphireDb – Open-Source Alternative to Firebase

#22
post #5

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…

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.

Re: SapphireDb – Open-Source Alternative to Firebase

#24
post #22

Earlier quoted context omitted.

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.

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.

Re: SapphireDb – Open-Source Alternative to Firebase

#25
post #19

Creator of Redwood here, which is similar in many ways to this and GunDB (hi Mark!). Agreed that we need more projects like this. Redwood might be better described as a "p2p application platform" than a realtime database, but there's plenty of overlap. It's written in Go, supports HTTPS, Libp2p, and WebRTC transports (and soon, a Cap'n Proto RPC interface). It can also: - serve as a Git remote - stand in as an applic…

> and soon, a Cap'n Proto RPC interface

This is interesting, and good to hear. Are there still a lot of projects adding capnproto support? It's a great protocol but I've worried it might be dying.

Re: SapphireDb – Open-Source Alternative to Firebase

#26
post #19

Creator of Redwood here, which is similar in many ways to this and GunDB (hi Mark!). Agreed that we need more projects like this. Redwood might be better described as a "p2p application platform" than a realtime database, but there's plenty of overlap. It's written in Go, supports HTTPS, Libp2p, and WebRTC transports (and soon, a Cap'n Proto RPC interface). It can also: - serve as a Git remote - stand in as an applic…

> and soon, a Cap'n Proto RPC interface This is interesting, and good to hear. Are there still a lot of projects adding capnproto support? It's a great protocol but I've worried it might be dying.

Dying? Hm, not to my knowledge. In fact, I saw a highly-commented thread on HN just a couple of weeks ago about Cap'n Proto. What gives you the sense that it's on its way out?

Re: SapphireDb – Open-Source Alternative to Firebase

#27

I'm a competitor, and I want to applaud this work! - SapphireDB is truly Open Source, MIT! - There demo worked like a charm! We could really use more projects like this out there. Here is a criticism though: - It seems currently to only support Angular (?), which is gonna harm its adoption. My recommendation would be to commit to Svelte, it seems like it will be the "next big thing" in the JS world, and could help dr…

Hey Mark. Sorry to go OT and I promise I'm usually not that guy, but the GUN site is really distracting with the flashing colors.

EDIT: This one, which I grabbed from your profile => https://gun.eco/

Re: SapphireDb – Open-Source Alternative to Firebase

#28
post #26

Earlier quoted context omitted.

> and soon, a Cap'n Proto RPC interface This is interesting, and good to hear. Are there still a lot of projects adding capnproto support? It's a great protocol but I've worried it might be dying.

Dying? Hm, not to my knowledge. In fact, I saw a highly-commented thread on HN just a couple of weeks ago about Cap'n Proto. What gives you the sense that it's on its way out?

Sandstorm Oasis going away and the last time I checked (maybe a year ago?) work seemed to have stopped on getting the protocol implemented in the browser.

Re: SapphireDb – Open-Source Alternative to Firebase

#29
post #22

Earlier quoted context omitted.

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.

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?

Re: SapphireDb – Open-Source Alternative to Firebase

#30
post #7

"SapphireDb also supports running in an NLB with multiple instances and scales very good." In English, when speaking of actions you must say "well" instead of "good", ie. "scales very well". While there are a million weird things about English, this particular mistake is used as a cultural marker of "childish" or "low-intelligence" speech, so you probably want to fix it ASAP. Also what is an NLB???

Thanks for the feedback. I'll fix it soon.
Post reply on HN