Git Product home page Git Product logo

azulkv2's Introduction

azulkv2

copy from azulkv An experimental kv store written in golang.

Aimed ad small to medium kv dbs (small < 1000 entries; medium < 10,000 entries).

Documentation

add

adds a kv tuple

upd

updates the value of a tuple with the key “key”

del

deletes a tuple with key “key”

get/ find

returns the value of tuple with the key “key”

list

lists all kv tuples in the store (db)

entries

list the total number of tuples in the store (db)

info

returns info of the store (db)

Difference to Map

Uses Slices to store data instead of map.

Use of hash function to find and compare keys.

Speed Improvements

  1. simple linear search up to xx entries. tbd with experiments
  2. two level table look-up and linear search.

azulkv2's People

Contributors

prr123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.