All Projects → rafaeljesus → tempdb

rafaeljesus / tempdb

Licence: MIT License
Key-value store for temporary items 📝

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to tempdb

haro
Haro is a modern immutable DataStore
Stars: ✭ 24 (+50%)
Mutual labels:  key-value
cruzdb
Append-only key-value database on a distributed shared-log
Stars: ✭ 47 (+193.75%)
Mutual labels:  key-value
fast-jepsen
Using "Testing Shared Memories" paper to make Jepsen check linearizability in linear time
Stars: ✭ 21 (+31.25%)
Mutual labels:  key-value
huffleraft
Replicated key-value store driven by the raft consensus protocol 🚵
Stars: ✭ 32 (+100%)
Mutual labels:  key-value
nim-lmdb
Nim LMDB wrapper
Stars: ✭ 31 (+93.75%)
Mutual labels:  key-value
Settings
A Laravel multi-tenant settings manager
Stars: ✭ 36 (+125%)
Mutual labels:  key-value
cachegrand
cachegrand is an open-source fast, scalable and secure Key-Value store, also fully compatible with Redis protocol, designed from the ground up to take advantage of modern hardware vertical scalability, able to provide better performance and a larger cache at lower cost, without losing focus on distributed systems.
Stars: ✭ 87 (+443.75%)
Mutual labels:  key-value
elara
Elara DB is an easy to use, lightweight key-value database that can also be used as a fast in-memory cache. Manipulate data structures in-memory, encrypt database files and export data. 🎯
Stars: ✭ 93 (+481.25%)
Mutual labels:  key-value
rosedb
🚀 A high performance NoSQL database based on bitcask, supports string, list, hash, set, and sorted set.
Stars: ✭ 2,957 (+18381.25%)
Mutual labels:  key-value
keva
Low-latency in-memory key-value store, Redis drop-in alternative
Stars: ✭ 76 (+375%)
Mutual labels:  key-value
quitsies
A persisted drop-in replacement for Memcached, respecting the rules of quitsies.
Stars: ✭ 16 (+0%)
Mutual labels:  key-value
Curator
A lightweight key-value file manager written in Swift.
Stars: ✭ 14 (-12.5%)
Mutual labels:  key-value
iris
Distributed streaming key-value storage
Stars: ✭ 55 (+243.75%)
Mutual labels:  key-value
cantor
Data abstraction, storage, discovery, and serving system
Stars: ✭ 25 (+56.25%)
Mutual labels:  key-value
Artifact
An in-memory distributed database
Stars: ✭ 63 (+293.75%)
Mutual labels:  key-value
database-engine
LSM-Tree Key-Value Store based on RocksDB
Stars: ✭ 47 (+193.75%)
Mutual labels:  key-value
registry
Joomla Framework Registry Package
Stars: ✭ 16 (+0%)
Mutual labels:  key-value
stack-public
A key-value based writer.
Stars: ✭ 19 (+18.75%)
Mutual labels:  key-value
chapar
A framework for verification of causal consistency for distributed key-value stores and their clients in Coq [maintainer=@palmskog]
Stars: ✭ 29 (+81.25%)
Mutual labels:  key-value
bftkv
A distributed key-value storage that's tolerant to Byzantine fault.
Stars: ✭ 27 (+68.75%)
Mutual labels:  key-value

Tempdb

  • TempDB is Redis-backed temporary key-value store for Go.
  • Useful for storing temporary data such as login codes, authentication tokens, and temporary passwords.
  • A Go version of tempDB

Installation

go get -u github.com/rafaeljesus/tempdb

Usage

Tempdb stores an expiring (or non-expiring) key/value pair in Redis.

Tempdb

import "github.com/rafaeljesus/tempdb"

temp, err := tempdb.New(tempdb.Options{
  Addr: "localhost:6379",
  Password: "foo",
})

if err = temp.Insert("key", "value", 0); err != nil {
  // handle failure insert key
}

if err = temp.Insert("key2", "value", time.Hour); err != nil {
  // handle failure insert key
}

if err = temp.Find("key"); err != nil {
  // handle failure to get value
}

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

Badges

Build Status Go Report Card Go Doc


GitHub @rafaeljesus  ·  Medium @_jesus_rafael  ·  Twitter @_jesus_rafael

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].