Appends and Read Operations in HBase
Let's inspect how appends are more efficient than random writes and how we can optimize the inefficiency of read operations.
Appends
Appends are more efficient than random writes, especially in a filesystem like HDFS. Region servers try to take advantage of this fact by employing the following components for storage and data retrieval.
MemStore
MemStore is used as a write cache. Writes are initially written in this data structure, which is stored in-memory and can be sorted efficiently before being written to disk. Writes are buffered in this data structure and periodically written to HDFS after being sorted.
HFile
This is the file in HDFS ...