Skip to content
feiben edited this page Apr 2, 2016 · 56 revisions

Welcome to the LunarBase Engin wiki!

LunarBase engine targets to a real time analysis and free-style database engine, managing 2 billions records in one table, where each record has a size limitation up to 32k bytes. Therefore 64 TB data can be stored and queried via one table of LunarBase.

The key challenge for a server end software is the memory fragments generated after a period of time running. Fragments slow down the system, unless user restart the OS, the resource will be eaten up soon or later. LunarBase includes a MMU(Memory Management Unit) to solve this problem by none-pause garbage collection technique. Then we are able to manage hundreds of GB memory in practice.

Administrators are enabled to configure a big direct memory to cache hot data for quick access. Never need to deploy another third party cache solution. It is not only cost effective, but also much more important for data consistency and validation, if applications have no choice but independent outer cache solutions. Consult why internal big cache for an elaboration on this subject.

Besides the basic CRUD(Create, Read, Update, Delete) operations that a database shall provide, LunarBase achieves ACID by L-transaction interface that gets eventually consistency data. Operations like JOIN in traditional RDBMSs, are supported via materialized view by LunarMView. Materialized view separates read and write, then greatly accelerates query speed, and gets eventually consistency for any data updates. For very busy sites with data modeled by tons of 1-to-1, 1-to-many, many-to-many relations, LunarMView is the suitable interface managing this.

For records stored, user queries any column by specifying its value you seek. Queries are "payment=300", "payment=300 AND 10<= age <=25", or something like these. These functionalities are supported by LunarMax real time engine. Consult chapter "real time computation" for its mechanism and usage.

Vertical scalability, real time computation, big memory and none-pause garbage collection, join relational tables, transactional log, these features together make LunarBase your best choice for your forever-online business.

Knowledge base can be found here: https://github.com/LunarBaseEngin/Application/blob/master/LunarBase%20--%20A%20database%20engin%20for%20managing%20very%20large%20amounts%20of%20data%20--%20EN%20--V0.8.pdf

Clone this wiki locally