Live data from Hacker News

Firebase expands to become a unified app platform

firebase.googleblog.com

161–170 of 214 posts

Re: Firebase expands to become a unified app platform

#161
post #138

Earlier quoted context omitted.

What do they do? We use websockets in our realtime platform.

The Horizon client uses websockets to connect to the Horizon server. The Horizon server uses RethinkDB's protocol[1] to connect to the database. [1] http://rethinkdb.com/docs/writing-drivers/

Websockets cannot be as efficient as native network management code.

Re: Firebase expands to become a unified app platform

#162

Firebase is an incredibly powerful tool, and in a sense is a "democratizing force" in web development. Now anyone can build a complete web application without needing to know anything about setting up servers, content delivery networks, AWS (which is still quite difficult to use), and scaling. I teach kids as young as 10 years old to build iOS apps and websites with Firebase - they can develop locally and push to Fir…

We are not missing the point. Some of us just happen to value other things more than convenience. There's no shortage of discontinued products that were cancelled even though a lot of effort and money was poured into them. Amount previously invested is a sunk cost and shouldn't even matter when deciding if continue a service/product or not. Just because you have already dig a hole doesn't mean you should keep digging…

> sunk cost and shouldn't even matter

Shouldn't but does. It has it's own fallacy section:

https://en.wikipedia.org/wiki/Sunk_costs#Loss_aversion_and_t...

Also, not falling for the fallacy means admitting defeat. And the higher up one is in an organization, the worse admitting defeat is for your career. Having a product dead-ended by keeping on working on it forever is much better for manager/government official careers. So sadly, the fact that other people (above you) fall for the fallacy makes falling for it yourself rational in a lot of cases. Instead just systematically lower the priority, but never to zero.

In anything but a startup, I would treat any sunk cost above a minimal level as a firm commitment to continue at any cost. I would never have done so 5 years ago, but ...

Re: Firebase expands to become a unified app platform

#163
post #152

Earlier quoted context omitted.

Um... what about this? https://firebase.google.com/docs/database/web/offline-capabi...

The Firebase JS SDK currently supports non-persistent offline. So long as you keep the tab open, Firebase works great offline! However, if you go offline and then try to refresh the content, none of it will be persistently stored or accessible until you go back online.

Thanks for the clarification.

I was hoping to use Firebase on a React Native app but I do need persistence. Do you have or plan to make some wrapper of the native iOS/Android SDKs for React Native?

Re: Firebase expands to become a unified app platform

#165
post #161

Earlier quoted context omitted.

The Horizon client uses websockets to connect to the Horizon server. The Horizon server uses RethinkDB's protocol[1] to connect to the database. [1] http://rethinkdb.com/docs/writing-drivers/

Websockets cannot be as efficient as native network management code.

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

#166
Even if you don't want to use any Firebase service you might still want to use it only for Analytics. Drop the firebase SDK in the App and you are done. Free, unlimited and unsampled Analytics reports for your App.

https://firebase.google.com/docs/analytics/#implementation_p...

https://support.google.com/firebase/answer/6317517?hl=en&ref...

Re: Firebase expands to become a unified app platform

#167

I have build apps with firebase in the past and the feature I missed the most was performing scheduled tasks on the database. Now we are getting this BIG app platform update and this feature is still not in there. AWS Lambda with Scheduled Events for a long time to come :sad-panda:

Do Google Cloud Functions (referenced above) not fit that bill? https://cloud.google.com/functions/ I'm also keen to use Firebase without having to run a separate server to handle logic for payments, email alerts on search terms, etc.

Last time I checked it was impossible to do scheduled tasks. But it's in alpha stage, so maybe that's coming.

Re: Firebase expands to become a unified app platform

#168

Earlier quoted context omitted.

And all of it nicely accessible to the US. What a great idea.

Amazon and Microsoft are both also US-based companies.

And not any better – at least you don’t get vendor lock-in with them.

Re: Firebase expands to become a unified app platform

#169
This appears to just be a way to limit the growth of third party tracking which threaten Google by encouraging user acquisition from many sources.

I say this because they dont specifically say they will postback events to advertising networks other than Google's.

Re: Firebase expands to become a unified app platform

#170

Is there a tutorial that explains how to setup a backend for user-taken videos? for an IOS app one thing I liked about Parse was that it's documentation was newbie-friendly.

I've used firebase for other apps but not video storage. From what I've read about how it works, its better to store the media in some 3rd party system such as S3 and keep the link to the file in firebase. Here is one good thread I found with a little searching: https://groups.google.com/forum/#!msg/firebase-angular/xb2be...
Post reply on HN