menu

Flyio

Talk about Fly.io's product Global Application Platform - Support and operational questions should go to [email protected]

Channels
Team

How much Redis memory is available for each app?

May 28, 2020 at 12:18am

How much Redis memory is available for each app?

May 28, 2020 at 12:18am

May 28, 2020 at 12:27am
There's no hard limit, it's probably not going to work very well beyond ~8GB per region or so.
We're working on a replacement for the shared Redis service that will give you dedicated redis processes. Those could theoretically scale as high as you want to go.
  • reply
  • like
I was more worried about not spamming the service to be honest :)
  • reply
  • like
A dedicated Redis instance per app/region sounds awesome. Would it have an extra cost?
  • reply
  • like
yeah but we're trying to make it cheap enough to use for side projects
  • reply
  • like

May 28, 2020 at 9:24pm
Are you also contemplating adding replication between regions? This would be killer
  • reply
  • like
yes, but maybe not in the way you're thinking. we're going to have a better mechanism for sending commands to all regions (like using select 1 does right now) but that's still only going to be good for writes that can be relatively slow
  • reply
  • like
Thanks I totally mised select 1 from the docs. When you say "small commands" in the docs, how small are we talking? less than say 50kB?
  • reply
  • like
would this new replacement for Redis have better persistence than the current offering?
  • reply
  • like

May 29, 2020 at 3:42pm
ha that's a good question. I think <150kB is probably fine, we're using SQS under the hood to replicate and the max sqs message size is 256kb
  • reply
  • like
my 2c - it would be very handy if the new redis offering could allow for multiple DBs, rather than just 0
  • reply
  • like

May 30, 2020 at 3:34am
that should work fine, the new setup will just be vanilla redis you can abuse however you like!
  • reply
  • like

May 30, 2020 at 5:19pm