Re:Firebase expands to become a unified app platform
by pritambarhate on Wednesday May 18, 2016 @03:24PM
(#11724980)
This seems quite interesting. Hope they chose MIT or Apache for license as said in the ReadMe.
Re:Firebase expands to become a unified app platform
by guelo on Wednesday May 18, 2016 @04:34PM
(#11725681)
Horizon is only the "realtime db" portion of Firebase and it's only for Javascript, not Android or iOS. The mobile app realtime network connection tech is especially tricky to get right without draining a user's battery by doing things like constantly polling the backend. I have not seen anything from RethinkDB along those lines.
Re:Firebase expands to become a unified app platform
by hiphipjorge on Wednesday May 18, 2016 @05:09PM
(#11725986)
> by doing things like constantly polling the backend
RethinkDB doesn't require polling. It's like their #1 feature and differentiator from other non-sql databases.
Re:Firebase expands to become a unified app platform
by EGreg on Wednesday May 18, 2016 @07:57PM
(#11726993)
What do they do?
We use websockets in our realtime platform.
Re:Firebase expands to become a unified app platform
by coffeemug on Wednesday May 18, 2016 @08:37PM
(#11727141)
The Horizon client uses websockets to connect to the Horizon server. The Horizon server uses RethinkDB's protocol[1] to connect to the database.
Re:Firebase expands to become a unified app platform
by guelo on Thursday May 19, 2016 @12:00AM
(#11727861)
Websockets cannot be as efficient as native network management code.
Re:Firebase expands to become a unified app platform
by jkarneges on Thursday May 19, 2016 @01:00AM
(#11728092)
What does this even mean? WebSockets can be used natively. In fact the Firebase client uses WebSockets, same as Horizon.
Re:Firebase expands to become a unified app platform
by guelo on Thursday May 19, 2016 @01:55AM
(#11728301)
Sorry I was confused about terms, what I was thinking of was Javascript vs native. Native code can do more than a browser sandboxed client can.
Re:Firebase expands to become a unified app platform
by zeeshanm on Wednesday May 18, 2016 @06:02PM
(#11726351)
Horizon uses push architecture by default so there is no need to pool.
Re:Firebase expands to become a unified app platform
by kuschku on Wednesday May 18, 2016 @05:27PM
(#11726116)
> is especially tricky to get right without draining a user's battery by doing things like constantly polling the backend
One simple solution is giving each state a defined name, and keeping a socket open from mobile. If the connection is restarted, each side can name their current state, and the delta can also be easily synced.
Later on, changes can be directly transmitted via the socket.
(I am working on something like that currently myself).
Re:Firebase expands to become a unified app platform
by dmitriz on Thursday May 19, 2016 @04:36AM
(#11728825)
I presume you can still use it with any mobile App wrapped as native e.g. via React Native or Ionic.
Re:Firebase expands to become a unified app platform
by curiousGambler on Thursday May 19, 2016 @09:38AM
(#11730063)
I was at ng-conf a couple weeks ago. Talking to the Firebase guy at their booth, he goes "You should talk to the RethinkDB guys, it's the same thing but open source." I got a kick out of it.
Re:Firebase expands to become a unified app platform
by JoshTriplett on Thursday May 19, 2016 @04:21AM
(#11728773)
What about the new "Firebase Cloud Messaging", formerly GCM?
[0]: https://github.com/rethinkdb/horizon