https://github.com/facebook/mcrouter/wiki/Config-Files#representing-route-handles-in-json
{
"pools": {
"A": {
"servers": [
"192.168.1.11:11211",
"192.168.1.12:11211"
]
}
},
"route": {
"type": "HashRoute",
"children": "Pool|A"
}
}
https://github.com/facebook/mcrouter/wiki/Replicated-pools-setup
{
"pools": {
"A": {
"servers": [
"192.168.1.11:11211",
"192.168.1.12:11211"
]
}
},
"route": {
"type": "OperationSelectorRoute",
"operation_policies": {
"add": "AllSyncRoute|Pool|A",
"delete": "AllSyncRoute|Pool|A",
"get": "LatestRoute|Pool|A",
"set": "AllSyncRoute|Pool|A"
}
}
}