Skip to content
feiben edited this page Jan 11, 2016 · 11 revisions

1.Q: Is LunarBase a memory database engine? Will my data lost if power lost?
A: No, LunarBase is not a memory-only database. All your records coming will be flushed into hard disk. So rest assured your data is safe with LunarBase.

2.Q: What is real time mode?
A: In old days, data are stored in hard disk, because it is cheap. And in that time, data throughput is not as big as what is today. A query or analysis may takes seconds, minutes, even hours to finish.
But now, memory price is much lower than before, and capacity grows to hundreds of GBs for a normal server. This means a new design is possible. In real time mode, an in-memory file system is enabled for storing hot part of data you want to analyze within tens of ms at most. Cold data of cause is in hard disk. It's 1000 times faster than disk-based solutions and the analysis is on demand. For example, you want a real time price sum of one type of products, you only keep "price" column in memory(in the memory-file-system), other columns of the record are in outer storage.

3.Q: Can i use LunarBase together with storm for streaming computation?
A: Yes.

Clone this wiki locally