News for hackers. Stuff that matters.
Re:Your data fits in RAM by polite_wine on Thursday May 21, 2015 @09:27AM (#9582550)
Sorry for the simple question but if you store it in ram what is the strategy for when the server is turned off?
Re:Your data fits in RAM by lukegb on Thursday May 21, 2015 @09:38AM (#9582637)
The idea is more that when you process data, if you can fit it all in memory (and you don't need lots of CPU power, etc, etc, etc) then just use one machine and don't worry about "clusterising" it.

If you're expecting growth in the size of your dataset (beyond growth in RAM size availability), then, well, maybe don't just use a single machine. Same goes for a whole bunch of similar "it's too large for a single machine" considerations.

Storing data should probably still be persisted to disk, and backed up.

Re:Your data fits in RAM by swalsh on Thursday May 21, 2015 @09:32AM (#9582593)
You turn it back on, and load it back from the hard drive.
Re:Your data fits in RAM by 3pt14159 on Thursday May 21, 2015 @09:49AM (#9582706)
There are multiple strategies that are usually handled by the database that you use. For some databases a hard power off will lose the uncommitted data, for more durable ones it waits until the write is confirmed.

Generally though, these posts are geared towards machine learning people that don't really have "live" data as frequently.

Re:Your data fits in RAM by jeltz on Thursday May 21, 2015 @09:32AM (#9582585)
This all depends on what the data is used for. You may need to persist the data to disk on write even if all your data is in RAM.