Firebase Costs Increased by 7,000%! is it true?

342 views
Skip to first unread message

zahid ali

unread,
May 17, 2017, 12:12:43 PM5/17/17
to Firebase Google Group
Hi,

I am creating a product which is using Firebase. Today i read this article (see link below) and it freaked me out. Me and my startup cannot afford such abrupt spike in price.

Can anyone explain what is the reality. Is this article saying truth.

Piotr Kaminski

unread,
May 17, 2017, 1:34:24 PM5/17/17
to fireba...@googlegroups.com
I'm guessing the Firebase team is busy at I/O today, but here's Andrew's public response to the post:  https://medium.com/@startupandrew/firebase-founder-here-im-very-sorry-for-the-surprise-and-frustration-experienced-by-the-poster-b0065c99f53e

    -- P.


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/713fa4fe-4e33-4d1c-a3c0-41c7a6d5ae7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
  Piotr Kaminski <pi...@ideanest.com>
  "That bun is dirty.  Don't eat that bun."

Ian Barber

unread,
May 17, 2017, 1:45:18 PM5/17/17
to Firebase Google Group
Firebase DevRel here, yep Andrew's response is a great place to look. The article is right that the developer saw a spike in costs, but it was a very specific set of circumstances (very high TLS to data ratio, and previous billing not including TLS bandwidth due to an undercounting bug our side) that is unlikely to apply to you. 

Even if the high TLS usage circumstances did apply, you'd see it right away now - the unfortunate thing in the post was that the developer started using the service during a period where we weren't charging correctly, so it appeared as a big spike when the issue was fixed.

As Andrew says, we're looking at options for improving the profiler to make these kind of things more easily visible. 

Mainly though, all of us here are really sorry the developer had a bad experience: a lot of that was due to the delay in communications from our side, and we're looking at ways of improving that. 

Hopefully that gives you an idea of what happened, but happy to clarify more: we want our pricing and billing to be predictable. 

Ian 

James Wrightson

unread,
May 19, 2017, 10:11:06 AM5/19/17
to Firebase Google Group
I read that authentication failures count against usage, is this true and if so what can be done to prevent someone from making a bot and screwing me over?

On Wednesday, 17 May 2017 18:45:18 UTC+1, Ian Barber wrote:
Firebase DevRel here, yep Andrew's response is a great place to look. The article is right that the developer saw a spike in costs, but it was a very specific set of circumstances (very high TLS to data ratio, and previous billing not including TLS bandwidth due to an undercounting bug our side) that is unlikely to apply to you. 

Even if the high TLS usage circumstances did apply, you'd see it right away now - the unfortunate thing in the post was that the developer started using the service during a period where we weren't charging correctly, so it appeared as a big spike when the issue was fixed.

As Andrew says, we're looking at options for improving the profiler to make these kind of things more easily visible. 

Mainly though, all of us here are really sorry the developer had a bad experience: a lot of that was due to the delay in communications from our side, and we're looking at ways of improving that. 

Hopefully that gives you an idea of what happened, but happy to clarify more: we want our pricing and billing to be predictable. 

Ian 
On Wed, May 17, 2017 at 10:33 AM, Piotr Kaminski <pi...@ideanest.com> wrote:
I'm guessing the Firebase team is busy at I/O today, but here's Andrew's public response to the post:  https://medium.com/@startupandrew/firebase-founder-here-im-very-sorry-for-the-surprise-and-frustration-experienced-by-the-poster-b0065c99f53e

    -- P.

On Wed, May 17, 2017 at 8:42 AM, zahid ali <syed.zahi...@gmail.com> wrote:
Hi,

I am creating a product which is using Firebase. Today i read this article (see link below) and it freaked me out. Me and my startup cannot afford such abrupt spike in price.

Can anyone explain what is the reality. Is this article saying truth.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/713fa4fe-4e33-4d1c-a3c0-41c7a6d5ae7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
  Piotr Kaminski <pi...@ideanest.com>
  "That bun is dirty.  Don't eat that bun."

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Kato Richardson

unread,
May 19, 2017, 11:00:56 AM5/19/17
to Firebase Google Group
Not sure exactly what you mean, James. Usage for what? We don't actually charge for Auth requests--it's an entirely free service.

Note that authentication attempts do have abuse protection. I can't talk a lot on the security measures, but obviously we look at the obvious things, such as number of requests from a given IP, and so on.

☼, Kato

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Ian Barber

unread,
May 19, 2017, 2:02:43 PM5/19/17
to Firebase Google Group
I think the concern in this case is rules-rejected requests, so unauthenticated requests to a database path. Its a fair point: those will trigger TLS setup and tear down, and could be used as part of a denial of service attack or to run up billing maliciously. 

However, they could also be a case where a developer has deployed an application with a bug that is making many queries with the incorrect auth, and genuinely using bandwidth! We want to make sure we're billing fairly for resources used. 

In either case, we want to work with developers to make sure these things don't happen. As Kato says, abuse protection is a significant concern for us, and we want to support developers whether they get hit by an attack or have an error.


Peter LoBue

unread,
May 24, 2017, 10:39:43 AM5/24/17
to Firebase Google Group
Does using an official Firebase library also trigger TLS setup and tear down, or does that only apply to REST? Does it apply for every request, or is a connection "kept open" for a while (how long?)? Is there any more documentation on TLS bandwidth usage?

For reference, the author of the original Medium post talked to a Firebase engineer on the phone who said bandwidth for TLS setup was about 3KB. He shared this in the Firebase Slack group. 3KB! I shave down every byte I can with my Realtime Database structure and property names to save bandwidth (and storage of course), but with +3KB per request that feels a bit silly for my lower usage apps...

Thanks
--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

Ian Barber

unread,
May 24, 2017, 12:07:31 PM5/24/17
to Firebase Google Group
The TLS overhead is per-connection. The official libraries generally use websockets, so many requests are sent over the same connection. Even with the REST API, its generally more efficient to establish a connection and do a series of operations, and keep the connection open where possible. 

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Peter LoBue

unread,
May 24, 2017, 1:54:39 PM5/24/17
to Firebase Google Group
Thanks Ian for the further info. When you say "even with the REST API..." do you mean that we can control how many operations are performed over a single connection via REST? How would we do that?

Tyler Rockwood

unread,
May 24, 2017, 4:47:36 PM5/24/17
to Firebase Google Group
You can do this via Keep-Alives for REST requests: https://en.wikipedia.org/wiki/HTTP_persistent_connection
Reply all
Reply to author
Forward
0 new messages