Performance Comparison of Operations in the File System and in Embedded Key-Value Databases

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

A common scenario when developing local PC applications such as games, mobile apps, or presentation software is storing many small files or records as application data and needing to retrieve and manipulate those records with some unique ID. In this kind of scenario, a developer has the choice of simply saving the records as files with their unique ID as the filename or using an embedded on-disk key-value database. Many file systems have performance issues when handling large number of small files, but developers may want to avoid a dependency on an embedded database if it offers little benefit or has a detrimental effect on performance for their use case. Despite the need for benchmarks to enable informed answers to this design decision, little research has been done in this area. Our contribution is the comparison and analysis of the performance for the insert, update, get, and remove operations and the space efficiency of storing records as files vs. using key-value embedded databases including SQLite3, LevelDB, RocksDB, and Berkeley DB.

Original languageEnglish
Title of host publicationIntelligent Computing - Proceedings of the 2023 Computing Conference
EditorsKohei Arai
PublisherSpringer Science and Business Media Deutschland GmbH
Pages386-400
Number of pages15
ISBN (Print)9783031379628
DOIs
StatePublished - 2023
Externally publishedYes
EventProceedings of the Computing Conference 2023 - London, United Kingdom
Duration: Jun 22 2023Jun 23 2023

Publication series

NameLecture Notes in Networks and Systems
Volume739 LNNS
ISSN (Print)2367-3370
ISSN (Electronic)2367-3389

Conference

ConferenceProceedings of the Computing Conference 2023
Country/TerritoryUnited Kingdom
CityLondon
Period06/22/2306/23/23

Keywords

  • Database Performances
  • Databases
  • File Systems

Fingerprint

Dive into the research topics of 'Performance Comparison of Operations in the File System and in Embedded Key-Value Databases'. Together they form a unique fingerprint.

Cite this