Skip to content

🍚 An Experimental In Memory Key Value Store written in Elixir built on top of GenServer and TCP protocol

Notifications You must be signed in to change notification settings

Bhinneka/pocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pocket

An Experimental In Memory Key Value written in Elixir built on top of GenServer and TCP protocol

Note !!!

this project is only for the purpose of having fun with Elixir's GenServer and Elixir's Map 😜

Todo

  • Handle Concurrent users
  • Add more data type support
  • More error handling

Installation

Clone Pocket

$ git clone https://github.com/Bhinneka/pocket

Compile Pocket

$ iex -S mix

Configuration

If you want to change Pocket's default config, Open config.ex inside config folder

config :pocket, ip: {y,o,u,r,i,p}
config :pocket, port: 8000

Usage

Run Pocket

iex(1)> Pocket.start([], [])

Open new terminal

$ telnet 127.0.0.1 9000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Add new value

SET a andi
OK
GET a
andi

Author

Wuriyanto https://github.com/wuriyanto48

Bhinneka.com 2018

About

🍚 An Experimental In Memory Key Value Store written in Elixir built on top of GenServer and TCP protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages