NabismoPrime on Nostr: That’s a great question… my fault for not having a limit. Speaking only for my ...
That’s a great question… my fault for not having a limit. Speaking only for my relay of course, I’d say anything 20 or under is pretty acceptable. Over that I think it makes sense to break those up into separate subs.
This particular request took 3 seconds to serve but as I’m looking closer at the queries they were all cache misses and very specific tag queries.
Worth noting though, looks like we are moving towards single filter per req.
https://github.com/nostr-protocol/nips/pull/1645Published at
2025-01-07 21:40:46Event JSON
{
"id": "5b775642b72d04d482b4fa09a0a8158049f2f84541f5febbd07e418927d2dae4",
"pubkey": "4503baa127bdfd0b054384dc5ba82cb0e2a8367cbdb0629179f00db1a34caacc",
"created_at": 1736286046,
"kind": 1,
"tags": [
[
"e",
"725f34a95dec9574b418e550188cca31a7e8a9549e08654311dcf88a1fa122cb",
"",
"root"
],
[
"e",
"a1af76a56d1105ea7c7ad822457ea1690e946c53ed86c911d8cb40e51e4a498a",
"",
"reply"
],
[
"p",
"e8ed3798c6ffebffa08501ac39e271662bfd160f688f94c45d692d8767dd345a"
],
[
"r",
"https://github.com/nostr-protocol/nips/pull/1645"
]
],
"content": "That’s a great question… my fault for not having a limit. Speaking only for my relay of course, I’d say anything 20 or under is pretty acceptable. Over that I think it makes sense to break those up into separate subs.\n\nThis particular request took 3 seconds to serve but as I’m looking closer at the queries they were all cache misses and very specific tag queries. \n\nWorth noting though, looks like we are moving towards single filter per req. \n\nhttps://github.com/nostr-protocol/nips/pull/1645",
"sig": "31c45f92585f9255c1fca245e1aa3be0109334addfe1706332805f87be169109416b23a0921e87974eda707bf2966369f452d7c1ec003cf37e9c89d7f7908bf9"
}