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 2552sbt clusterSharding/runMain com.idarlington.clusterSharding.ComplexAppsbt distributedData/runMain
com.idarlington.distributedData.ComplexAppcurl -d '{"key": "country", "value": "Nigeria"}' -H "Content-type: application/json" -X POST http://localhost:8080/storecurl http://localhost:8080/store/country