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.

📉 Falling 0.5x Databases
2,191
Comments
20
Years Active
5
Top Authors
#8330
Topic ID

Activity Over Time

2007
17
2008
11
2009
37
2010
53
2011
77
2012
87
2013
61
2014
116
2015
127
2016
107
2017
130
2018
143
2019
115
2020
115
2021
140
2022
250
2023
215
2024
164
2025
210
2026
16

Keywords

RAM COW HDD PC RAID FAQ SQL NILFS PRO RDBMS disk data storage writes ram power durability persistent lose database

Sample Comments

viggity Jul 12, 2011 View on HN

so there is zero persistence to disk? Your customers are just counting on power systems never failing and the ram never fails?

Devilboy Jun 26, 2012 View on HN

So you could lose up to 128MB of updates if the machine crashes at the wrong time. NOT DURABLE.

Upvoter33 Nov 13, 2018 View on HN

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.

skrebbel Oct 12, 2016 View on HN

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?

JonChesterfield Dec 19, 2025 View on HN

Corrupts data on power loss according to their own docs. Like what you get outside of data centers. Not reliable then.

kogir Jun 13, 2016 View on HN

I like my storage to persist across power failures :)

lbriner Nov 6, 2018 View on HN

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?

byte1918 Nov 13, 2018 View on HN

> 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?

rasz Nov 24, 2017 View on HN

but what if you crash? precious personal data gets lost, have to flush everything to HDD immediately.

tommyzli Jan 26, 2021 View on HN

ants_a is correct. Also, our NVMe storage is ephemeral so you aren't recovering from a power loss anyways :)