Skip to content

joao-sallaberry/key-value-db

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

key-value-db

This project contains different implementations of hash maps
Currently developed:

  1. Using a Binary Search Tree as underlying data structure
  2. Using a Dynamic resizing array as underlying data structure

Dependencies:

This project depends on:

  1. googletest
  2. valgrind

How to build

  1. $./configure.sh This step will simply init the git submodule for googletest
  2. $make

Tests

To Run all unit tests, use:
$make test

To Run all tests using valgrind, use:
$make test-valgrind

TCP Server Endpoints

CREATE key value;

Creates new element 'key' with value 'value'

READ key;

Returns value of element 'key'

UPDATE key new-value;

Updates value of element 'key' to 'new-value'

DELETE key;

Deletes element 'key'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 54.6%
  • C 40.1%
  • Makefile 5.1%
  • Shell 0.2%