Doug Hoyte on Nostr: Oh no, I missed this one, thanks for linking! This is a really good write-up and ...
Oh no, I missed this one, thanks for linking! This is a really good write-up and there are a lot of similarities with what I'm designing for strfry proxy. Like some of the comments, I'm not sure if partitioning on ID will be optimal in all cases. I can also imagine variations on pubkey and created_at.
Some variant of consistent hashing will also be necessary I think, for failure recovery, rebalancing, changing the number of backend relays, etc.
Published at
2024-09-13 19:17:08Event JSON
{
"id": "16acd58af5662dd41a1d9565f87e506bdf0808baaa2c9039d040deacf0755564",
"pubkey": "218238431393959d6c8617a3bd899303a96609b44a644e973891038a7de8622d",
"created_at": 1726255028,
"kind": 1,
"tags": [
[
"client",
"oddbean"
],
[
"e",
"8623be03632bdf85e140c275fdf7f39b20e1393c381164f5b25662724663058a",
"",
"root"
],
[
"e",
"6f79563486b0fbfc13b7bb606fe91f8f355fa377d45f24c652a3056a2e3dd859",
"",
"reply"
],
[
"p",
"218238431393959d6c8617a3bd899303a96609b44a644e973891038a7de8622d"
],
[
"p",
"9fec72d579baaa772af9e71e638b529215721ace6e0f8320725ecbf9f77f85b1"
]
],
"content": "Oh no, I missed this one, thanks for linking! This is a really good write-up and there are a lot of similarities with what I'm designing for strfry proxy. Like some of the comments, I'm not sure if partitioning on ID will be optimal in all cases. I can also imagine variations on pubkey and created_at.\n\nSome variant of consistent hashing will also be necessary I think, for failure recovery, rebalancing, changing the number of backend relays, etc.",
"sig": "1a7cc78a9a33a7380c11b4f101a0fbf0966e8904bd17f2883929011da23d45de1e438cfee3a0a4ad13ac6840be60cd8c6059cff52bebff8de6c1d9d732cb97d6"
}