Justin (shocknet) on Nostr: Relays are no different than postgres in a traditional stack, they "relay" data ...
Relays are no different than postgres in a traditional stack, they "relay" data across time in (conjunction with middleware)
Ditto is right because it introduces proper middleware rather than clients speaking equivalent to SQL directly, and relegates the relay back to its core database functionality.
The mastodon influence im not a fan of, but it's directionally correct to have application middleware between clients and the database (relay)
Published at
2024-09-20 15:44:31Event JSON
{
"id": "ecebbc336c235502f16649bf6592e16b7536b6469a2adb07ba2f02983492782a",
"pubkey": "3316e3696de74d39959127b9d842df57bddc5d1c7af8a04f1bc7aed80b445088",
"created_at": 1726847071,
"kind": 1,
"tags": [
[
"e",
"e239d2abb7605cbf61162c109d22346ac3f31be1149660459901b7588fd8ed55",
"",
"root"
],
[
"e",
"8382aa177105be1a668719e9557f06d0a5e2eb6f41714e72cc91682eb79667ce"
],
[
"e",
"f56f38334098d22db4a765f0c3f06c3d5cbb9a70e8529a7248124f0dbd40f514",
"",
"reply"
],
[
"p",
"218238431393959d6c8617a3bd899303a96609b44a644e973891038a7de8622d"
],
[
"p",
"de7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645"
],
[
"p",
"33c74427f3b2b73d5e38f3e6c991c122a55d204072356f71da49a0e209fb6940"
],
[
"p",
"3316e3696de74d39959127b9d842df57bddc5d1c7af8a04f1bc7aed80b445088"
]
],
"content": "Relays are no different than postgres in a traditional stack, they \"relay\" data across time in (conjunction with middleware)\n\nDitto is right because it introduces proper middleware rather than clients speaking equivalent to SQL directly, and relegates the relay back to its core database functionality.\n\nThe mastodon influence im not a fan of, but it's directionally correct to have application middleware between clients and the database (relay)\n",
"sig": "c8065343c5d78d8af3fd23dc7dfffa836fae88989e72f1fa6602a84b3a82d0b00ebfe7ef31968ddae67453c7da088daff8954ec102851fc1322e283f6f7bea3e"
}