thor on Nostr: the program i wrote performs two duties right now. in addition to indexing, it's also ...
the program i wrote performs two duties right now. in addition to indexing, it's also broadcasting stuff from mostr.pub since it's hardly visible anywhere. but it has to be smart about it. mostr.pub will occasionally do a big dump of metadata and i can't send that directly to the relay pool because that triggers the rate limiters
too, just like with the queries, so what i do instead is i hold back events that i cache locally (which includes metadata) and when there is actual user activity, it includes my cached metadata with it. it generates much less traffic that way.
Published at
2023-03-15 12:45:10Event JSON
{
"id": "5f07061ed4675208ce92b98b78c3be8797a086f3e4f7057356dd931eb0f055f3",
"pubkey": "c708943ea349519dcf56b2a5c138fd9ed064ad65ddecae6394eabd87a62f1770",
"created_at": 1678884310,
"kind": 1,
"tags": [],
"content": "the program i wrote performs two duties right now. in addition to indexing, it's also broadcasting stuff from mostr.pub since it's hardly visible anywhere. but it has to be smart about it. mostr.pub will occasionally do a big dump of metadata and i can't send that directly to the relay pool because that triggers the rate limiters\ntoo, just like with the queries, so what i do instead is i hold back events that i cache locally (which includes metadata) and when there is actual user activity, it includes my cached metadata with it. it generates much less traffic that way.",
"sig": "0fd324be408923327b09ef61d97e1a2cafd8f843954af54fc5ccc8da00fce218ce454bb32d7b40f74631bf8cdb880da94b4dae1aa8398bc9f63b92b3da56475f"
}