Why make it simple when it can be complex ... 10x dev
This project creates a distributed key-value store using various akka clustering technologies. An akka http server is used as the interface to the key-store which is stored on the cluster.
Currently, key-value stores have been created with
All implementations can be started in the same way:
- start the seed nodes
- start the http server
sbt clusterSharding/runMain com.idarlington.clusterSharding.NodeApp 2551 2552
sbt distributedData/runMain com.idarlington.distributedData.NodeApp 2551 2552
sbt clusterSharding/runMain com.idarlington.clusterSharding.ComplexApp
sbt distributedData/runMain
com.idarlington.distributedData.ComplexApp
curl -d '{"key": "country", "value": "Nigeria"}' -H "Content-type: application/json" -X POST http://localhost:8080/store
curl http://localhost:8080/store/country