franzap on Nostr: Too fancy why? Again my point about waste. I think we could find the minimum common ...
Too fancy why?
Again my point about waste.
I think we could find the minimum common ground from a variety of query languages (sql, nosql, graphql), primitives that have emerged for most use cases. I'm not advocating for anything too sophisticated
The relay I wrote runs SQLite on Bun.js, it's crazy fast to the point that calls are non-blocking and all that on a $20 VPS.
If slight more complexity makes it bad for huge relays, then that's also a good thing
Published at
2024-07-19 17:25:10Event JSON
{
"id": "cd6a179a0e61ca68f53e5e6abafb273d71ac992d70455c65d6f5d7cdbc41f64d",
"pubkey": "726a1e261cc6474674e8285e3951b3bb139be9a773d1acf49dc868db861a1c11",
"created_at": 1721409910,
"kind": 1,
"tags": [
[
"e",
"7fb969fbf61e277337428912dd3dd4684a61c7ae04f91439f225ee8b00e9a880",
"wss://relay.nostr.net/",
"root"
],
[
"e",
"7e248bbb422db642de2f49fe659b190d2c842e9538833d37e0bab417ed870fd3",
"wss://relay.damus.io/",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"",
"mention"
],
[
"p",
"00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
"",
"mention"
],
[
"p",
"f821179bd5d691c61b4356336388adadc3cc1304f49e771a87c38de7ed4fd022",
"",
"mention"
]
],
"content": "Too fancy why?\n\nAgain my point about waste.\n\nI think we could find the minimum common ground from a variety of query languages (sql, nosql, graphql), primitives that have emerged for most use cases. I'm not advocating for anything too sophisticated \n\nThe relay I wrote runs SQLite on Bun.js, it's crazy fast to the point that calls are non-blocking and all that on a $20 VPS.\n\nIf slight more complexity makes it bad for huge relays, then that's also a good thing",
"sig": "a5b2564ed895dc2bd92f56fc3badeefca6de345fe08f4e8e8538a684c7373582f97b6260dbcdad424a7292f5dba8740cd1f21aac28b3c9a94e7e529bcba28eee"
}