nevermind on ns lookup, because thats just configsvr on mongo

This commit is contained in:
Bel LaPointe
2019-04-23 14:41:38 -06:00
parent 73423064a8
commit aa1fdd367d
2 changed files with 22 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
a key goes to a consistent hash to determine a partition id. Look up the addr which holds that partition ID.
end:1 key -> client
client:1 key -> 1+ partitionID
client:1 partitionID -> serverAddr
client:partition,key,serverAddr -> server
server:partition,key -> value
1+ server:value -> client
client:1+ value -> 1 end:value
end:1 key -> client
client:1 key -> 1+ partitionID
client:1 partitionID -> serverAddr
client:partition,key,serverAddr -> server
x server:partition,key -> value
1+ server:value -> client
client:1+ value -> 1 end:value