Skip to content

adrianbaertschi/elixir-kv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed key-value store written in Elixir

My code following the official elixir tutorial Introduction to Mix.

Umbrella project with two apps:

  • kv: Core Key-value store module
  • kv_server TCP Server for handling requests

Run all tests: mix test

Build and run node 1:

MIX_ENV=prod mix release foo
_build/prod_rel/foo/bin/foo start

Build and run node 2:

MIX_ENV=prod mix release bar
_build/prod_rel/bar/bin/bar start

Use

telnet 127.0.0.1 4040

CREATE shopping
OK

PUT shopping milk 1
OK

PUT shopping eggs 3
OK

GET shopping milk
1
OK

DELETE shopping eggs
OK

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published