Hacker News new | ask | show | jobs
by foxrob92 2085 days ago
Sure, but if you configure your database for, lets say, 4 hours of in-memory, and you have a network outage of 12 hours (this is not uncommon on mine sites), you lose 8h of data and cannot put it in to your "master store".
1 comments

If you expect a 12 hour outage, you should probably spec for 12 hours.

Memory-based storage is expensive, but not ruinously so.

The reason why this needs to be in-memory (I'm guessing) is a combination of dedupe checks and efficient ordered logs in the on-disk journals.

Additionally, you can scale the memory retention policy up and down as you see fit. So if you notice a network outage, you can scale up the retention policy for the duration and then reduce it back down again after.

>If you expect a 12 hour outage, you should probably spec for 12 hours.

Industrial facilities don't always expect their outages.

> Additionally, you can scale the memory retention policy up and down as you see fit. So if you notice a network outage, you can scale up the retention policy for the duration and then reduce it back down again after.

Better, though still a hassle to manage.