LEngine is under development.
- Performance
- Fault tolerance
- Database (not even KVDB)
- Atomic updates
- Garbage collection
- User-defined operations
The log file is append-only.
+-------+-------+-----+----------+-------+-----+----------+
| Entry | Entry | ... | Sentinel | Entry | ... | Sentinel |
+-------+-------+-----+----------+-------+-----+----------+
- An entry is a region of contiguous bytes. Its size is undetermined.
- A sentinel is a special entry. (Currently, they're just entries.)
All data are stored as-is.
The index file is append-only.
+--------------------+
| RowId1 <-> Offset1 |
+--------------------+
| RowId2 <-> Offset2 |
+--------------------+
| RowId3 <-> Offset3 |
+--------------------+
| ... |
The row ID is assumed to grow contiguously, so it's not stored in the file.