ide icon indicating copy to clipboard operation
ide copied to clipboard

Migrate away from Firebase?

Open thecodingwizard opened this issue 3 years ago • 0 comments
trafficstars

I think we'll soon be paying $15/mo for Firebase database costs (currently it's 2.75 gigs in size). We can either:

  • Switch to yjs or some other self-hosted alternative (most preferred but this seems like it might take a bit of time)
  • Figure out how exactly we're using 2.75 gigs of space, and potentially reduce this by deleting files that haven't been accessed in a while / are excessively large
  • Just pay whatever the database fee is (which currently is fine but it might keep growing...)

We have over 48k files, which averages to a little over 50KB a file, which seems reasonable. There aren't any massive files -- not too many files are over 10MB in size, and the largest file is 66MB.


Assuming we store 3GB of data a month and 700MB of downloads a day, that's around $17/mo


If we add 6k files a month and each file is 70KB each, that's an additional 420mb/month. And since we store all the files forever, that's an additional $2.10/month forever every month!

thecodingwizard avatar Jul 19 '22 01:07 thecodingwizard