7 ms·
For those not "in the know," what capability is that? Everything I hear implies a focus on ease of use: Easy replication/distribution, JS API, single number typ
by thesmallestcat 10y ago
For those not "in the know," what capability is that? Everything I hear implies a focus on ease of use: Easy replication/distribution, JS API, single number type (float64), usefulness when teaching novices, etc.
- alexbanks 10y agoRethinkDB's niche is allowing a service to listen for changes to a dataset. As in, your Node application could listen for published events by Rethink, rather than your Node application long-polling the dataset for changes. "Real Time" data analytics can then be performed.
- api 10y agoIts other niche is easy to deploy replication and sharding that actually works, actually scales, and does not lose data.
- thesmallestcat 10y agoPretty much anybody can appreciate that, right? Not just the "deep thinking people"?
- ericd 10y agoI've never seen that in any db I've worked with. If that's true, that's pretty huge.
- williamstein 10y agoIt is true. It was NOT true a year ago, but it is now. I pushed it hard, Aphyr pushed it hard, and the RethinkDB team worked very hard addressing every issue we found. That's why RethinkDB failing is so tragic.
- tlarkworthy 10y agoFirebase works like that. The polling of databases is a really obvious limitation of existing databases once you see the alternative. (I work at Firebase)
- bjt 10y agoHas Firebase been through Aphyr's Jepsen tests?
- pritambaral 10y agoSeeing as how Aphyr can't deploy his own instances of Firebase to simulate network partitions, I don't think it has.
- dsl 10y agoI searched and searched, but I couldn't find a download link on Firebase.com. Help?
- williamstein 10y agoI think Firebase is a closed source program that can only be used via "the cloud", i.e., via a web application. It's not something you can run yourself. In contrast, RethinkDB+Horizon would have soon provided similar functionality to Firebase, but with the option of self hosting.
- tiglionabbit 10y agoWell it's easy to shard when you don't support joins or foreign key constraints. Btw, as a person who works on Firebase, perhaps you can answer this question that has been bothering me about it. There's no way to model a foreign key relationship that's traversable in both ways without trusting the client application to update both directions, right? Isn't that a bit of a dealbreaker for anything other than a toy app? I would assume if you wanted to make something that's actually reliable, you'd have to run all your mutations through your own personal server instead of letting clients mutate Firebase directly, right?
- karlgrz 10y agoConcur. We've been running a small cluster for about a year and we've had the same experience thus far.
- tiglionabbit 10y agoI've never done it, but I think it's possible to do this in Postgres as well using LISTEN and NOTIFY. You may want to do all of your database mutations through functions that ultimately call NOTIFY for this to work though. But uh, that's how you'd do it in postgraphql or postgrest anyway. https://github.com/calebmer/postgraphql https://github.com/calebmer/postgraphql http://postgrest.com/ http://postgrest.com/
- bjt 10y agoYou can definitely use LISTEN and NOTIFY to watch for changes in Postgres. Here's a presentation I did on that last year, though oriented more towards web apps than analytics. https://www.youtube.com/watch?v=PsorlkAF83s https://www.youtube.com/watch?v=PsorlkAF83s For analytics I would want stronger guarantees than LISTEN and NOTIFY alone can provide. I explore options for that here: http://btubbs.com/streaming-updates-from-postgres.html http://btubbs.com/streaming-updates-from-postgres.html
- sandGorgon 10y agoisnt that what Realm is trying to do on the mobile side ?