Live data from Hacker News

SapphireDb – Open-Source Alternative to Firebase

sapphire-db.com

11–20 of 63 posts

Re: SapphireDb – Open-Source Alternative to Firebase

#11
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???

Network Load Balancer

Re: SapphireDb – Open-Source Alternative to Firebase

#12
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/

Re: SapphireDb – Open-Source Alternative to Firebase

#13
post #4

Firebase is a collection of services. This seems to be an alternative to the Firebase Realtime Database specifically

Which is sort of a legacy database they keep probably more for compatibility reasons. Firestore is the actual database used by most new apps.

Re: SapphireDb – Open-Source Alternative to Firebase

#14
In the Stackblitz example the Angular client is connecting directly to the SapphireDB database with credentials stored in the app.module.ts.

Could you build a scalable real world, production application this way?

With no in the middle NodeJS web server handing business logic? Handle all the business logic in the Angular client and just CRUD the objects back to SapphireDB? Essentially just Client--> SapphireDB

Or am I missing something here? I see there's a asp.net configuration, which would be Client--> Server--> SapphireDB

Is there a package or support for connecting a NodeJS server to SapphireDB database?

Also, is this production ready?

Re: SapphireDb – Open-Source Alternative to Firebase

#15
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???

[deleted]

Re: SapphireDb – Open-Source Alternative to Firebase

#16

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…

Offtopic:

> to commit to Svelte, it seems like it will be the "next big thing" in the JS world

How long does it usually take? In the JS world? Serious question as I am not in the JS world but reading HN/Reddit I would believe that things change quite fast. Someone told me over 1 year ago Svelte would be the next big thing and I see ‘no-one’ using it besides some hardcore enthusiasts; it is even hardly ever mentioned here or on Reddit; if it was a the next big thing, I think it would be?

Sorry for being uninformed, I am just curious.

Re: SapphireDb – Open-Source Alternative to Firebase

#17
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…

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.

Re: SapphireDb – Open-Source Alternative to Firebase

#18

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…

Offtopic: > to commit to Svelte, it seems like it will be the "next big thing" in the JS world How long does it usually take? In the JS world? Serious question as I am not in the JS world but reading HN/Reddit I would believe that things change quite fast. Someone told me over 1 year ago Svelte would be the next big thing and I see ‘no-one’ using it besides some hardcore enthusiasts; it is even hardly ever mentioned…

React was like this for a long while too, compared to Angular.

Then once some big "used in production by NYT/x/y/z" hits, a premier conference talk, then things explode with everyone virtue-signaling how they use the modern/best stack, floods of article/blogs are posted about how they switched over before you did, and the FOMO cargo cult bandwagon rocketships.

Svelte does look legit, but it is better to not buy into the JS virtue culture.

Re: SapphireDb – Open-Source Alternative to Firebase

#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 application server (you can upload assets directly to it, and they're served over regular HTTPS)

- execute Lambda-like functions written in Go, Lua, and Javascript that can be installed at any point in a given state tree

Would love some early feedback, and also to discuss similarities and differences with Sapphire's model. I've set up some demos in the "scenarios" folder -- a chat app, a realtime document editor, and a Git integration. Take a look if you're interested:

https://github.com/brynbellomy/redwood

Post reply on HN