Skip to content

pilosus/goradieschen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goradieschen

Go Radieschen Logo

Redis-like key-value store written in Go

Features

  • Implements Redis Serialization Protocol (RESP2)
  • Simple key-value store
  • Key expiration
  • Subset of Redis commands

Usage

  1. Get the code & build the binary:
$ git clone https://github.com/pilosus/goradieschen.git && cd goradieschen && go build
  1. Run the server:
$ ./goradieschen
  1. Connect to the server using a Redis client:
$ redis-cli -h localhost -p 6380
  1. Use the server with Redis-like commands:
localhost:6380> set k1 abc
OK
localhost:6380> get k1
"abc"
localhost:6380> expire k1 10
(integer) 1
localhost:6380> ttl k1
(integer) 7

About

Redis-like key-value in-memory database

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages