-
Connection Establish { "type":"client/slave" }
-
Message Format for Create User { "purpose":"create_user", "username":"", "password":"" }
-
Login { "purpose":"login", "username":"", "password":"" }
-
Logout { "purpose":"logout", "username":"" }
-
Get { "purpose":"get", "key":"" }
-
Get Response { "value":"If value exist then value else failure" }
-
Create_user Response { "value":"exists/success" }
-
Delete { "purpose":"delete", "key":"" }
-
Delete Response { "purpose":"delete", "value":"success/failure/nexists" }
-
Put { "purpose":"put", "key":"", "value":"" }
Put Response { "purpose":"put" "response":"Success/Exists" }
-
Update { "purpose":"update", "key":"", "value":"" }
Update Response { "purpose":"update", "value":"exists/added/failure" }
-
Value in Put/Update (Nested JSON String) { "col_name":"col_value", "col_name":"col_value", . . . }
-
Put Response { "value":"success/exists/failure" }
-
Update Response { "value":"success/failure" }
-
HeartBeat { "purpose":"heartbeat" }
-
Connection Termination { "purpose":"termination" }
-
Migration msg1: From coor. to slave { "purpose":"migration", "task":"get", "ip":"", "port":"", "what":"prev/curr", "addTo":"prev/curr" } msg2: From slave to slave { "purpose":"migration", "task":"send", "what":"prev/curr" } msg3: From coord. to slave { "purpose":"migration", "task":"merge" }