RAM Storage Durability
The cluster focuses on concerns about data persistence and durability in RAM-based or in-memory storage systems, especially risks of data loss from power failures, crashes, or delayed disk flushes before writes are durable.
Activity Over Time
Top Contributors
Keywords
Sample Comments
so there is zero persistence to disk? Your customers are just counting on power systems never failing and the ram never fails?
So you could lose up to 128MB of updates if the machine crashes at the wrong time. NOT DURABLE.
They don't. Writes go to ONE server's memory. A crash will lose data. Speed over durability is the tradeoff. Eventually, writes are pushed to disk but not right away.
I can't find from the docs at all whether this persists to disk.If not, what is the use case? Why would I need all those ACID-y guarantees if my server can fail at any time and all data is gone?
Corrupts data on power loss according to their own docs. Like what you get outside of data centers. Not reliable then.
I like my storage to persist across power failures :)
The bit I can't see on the FAQ is about how it is as fast as RAM but protects against data loss using disk.I think most engines guarantee Durability by assuming that once on disk, it won't go anywhere but if it's in RAM, it is susceptible to power outage? If it gets written to disk, it's not as fast as RAM?
> Durability: RAMCloud replicates all data on nonvolatile secondary storage such as disk or flash, so no data is lost if servers crash or the power fails.How does this work if someone is doing multiple sequential writes? Doesn't backup-ing to disk take a lot longer than writing to _RAM_ meaning some writes could get lost?
but what if you crash? precious personal data gets lost, have to flush everything to HDD immediately.
ants_a is correct. Also, our NVMe storage is ephemeral so you aren't recovering from a power loss anyways :)