jb55 on Nostr: I could do this outside of nostrdb in a separate worker pool, but my ingester threads ...
I could do this outside of nostrdb in a separate worker pool, but my ingester threads are already worker pools and it seems like this will such a common operation, so having a small and optimized data structure on each note makes sense to me
Published at
2024-11-20 21:05:10Event JSON
{
"id": "1c0491f78a28f69dc3c38ffa84de67c6e373fa9deccbf6ea159dc73d0eb59e5b",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1732136710,
"kind": 1,
"tags": [
[
"e",
"70fc146a8bbde7628cef73e54e96455eba0e05ba567ef491bf08ead9cd547700",
"",
"root"
],
[
"e",
"dcde032a7c419ec629e052911de7112a0b18e005e1e6f2d7a8113e6958f0975f",
"",
"reply"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43"
]
],
"content": "I could do this outside of nostrdb in a separate worker pool, but my ingester threads are already worker pools and it seems like this will such a common operation, so having a small and optimized data structure on each note makes sense to me",
"sig": "503704ed03ef6edcc8ac6c8759e1878a8f656a5c8bd1dc3d7a63c90fcd822aa1f0081ccd53d39b41996fe0aeef0169e099fbd0778a4fea805309b8edda9e620b"
}