--
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/70168b03-aeb4-494c-9657-470e134b6d2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes it works like you said but coarser. A snapshot is taken every 6 hours and sized, which corresponds to the storage usage dashboard's data points. We might might change the sampling details but we are essentially computing byte.seconds of consumption.
--
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/6378b16d-5f72-4fc7-8579-2d6d164c4939%40googlegroups.com.
Yes it works like you said but coarser. A snapshot is taken every 6 hours and sized, which corresponds to the storage usage dashboard's data points. We might might change the sampling details but we are essentially computing byte.seconds of consumption.
On Nov 11, 2016 5:46 PM, "Michael Leonard" <emailm...@gmail.com> wrote:
--Hi Tom. Thanks for the quick and helpful reply. To answer your question - yes that helps tremendously, thank you!I have a follow up question I hope you don't mind:I don't need to store my data for very long (think a game app where game state isn't needed after the game ends). So I'd like to make sure I understand how "$5 to store 1GB for 1 month" breaks down to shorter time frames and smaller file sizes.In my mind the ideal way I would want things to be priced is something like: every second, the total file size of the entire realtime database json structure is calculated and this database size is multiplied by a per-second-per-byte price. These per-second database costs are then up for the entire month and I'm billed, rounded up to the nearest cent I guess.My calculation of this magic per-second-per-byte price is:$5 * (1 / 2^30 to convert from GB to bytes) / (number of seconds in a month which is 60 seconds * 60 mins * 24 hours * 365/12 days in a month)).ie 5 / (2^30) / (60 * 60 * 24 * 365 / 12) = 1.77 * 10^(-15) dollars per kilobyte per second.What I'm really trying to get to is a per-upload cost... so that if I upload e.g. a 100kb object and store it for 3 hours then I can fairly accurately predict the cost: in this case 100 * 3 * 60 * 1.77 * 10^(-15) dollars.Am I anywhere close to how the pricing works? Perhaps I'm way off and things work differently? Or maybe I'm close but the time or file size granularity is different?Thanks so much for taking the time to help I really appreciate it.MikePS My math degree background clearly makes me focus a lot on the details so sorry about that! I'm excited to use firebase and just want to make sure I have a handle on the pricing as the app scales.
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.