All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

FileDB: Disk-Based Key-Value Store Implementation Inspired by Bitcask

By

todsacerdoti

11mo ago· 3 min readenCode

Summary

FileDB is a key-value store implementation inspired by Bitcask, storing record metadata in a log-structured hashtable and managing disk files for data insertion and compaction processes.

Key quotes

· 3 pulled
FileDB stores record metadata in a log-structured hashtable and parallely keeps 1 disk file open for inserting records in append-only mode.
A compaction process running every config.compactionInterval seconds, reads all the disk files and combines them into one file while updating the metadata hashtable.
A sync process syncs the open disk files once every config.syncInterval.
Snippet from the RSS feed
Disk Based Key-Value Store Inspired by Bitcask . Contribute to rajivharlalka/filedb development by creating an account on GitHub.

You might also wanna read