fiatjaf on Nostr: I think you can query S3 by filename, so just save each event as a separate file with ...
I think you can query S3 by filename, so just save each event as a separate file with name = pubkey:created_at and done?
Or save each event with an id and keep local disk indexes.
Published at
2023-09-26 14:06:07Event JSON
{
"id": "368d8aa39154d6a57916e44814a222b5e9134991c45c8fbc6e77bf965d968548",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1695737167,
"kind": 1,
"tags": [
[
"client",
"gossip"
],
[
"p",
"3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d"
],
[
"p",
"b7c6f6915cfa9a62fff6a1f02604de88c23c6c6c6d1b8f62c7cc10749f307e81"
],
[
"p",
"c4f5e7a75a8ce3683d529cff06368439c529e5243c6b125ba68789198856cac7"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"e",
"4d5a91f5318400477c84c52345220de2da867b6301cad6d3dfeb9f0afc304791",
"wss://nos.lol/",
"root"
],
[
"e",
"db2a2f417bb7010561da27a801b8c7f58f62fee09be1a019b31b0c961bf11744",
"wss://nos.lol/",
"reply"
]
],
"content": "I think you can query S3 by filename, so just save each event as a separate file with name = pubkey:created_at and done?\n\nOr save each event with an id and keep local disk indexes.",
"sig": "4960c5616b03be8d9ec8089b5dfa7bb6bfb405599d2e1c885ec5c13593c0bb03bbbc250c0e0e2c4c9f795ffa0182720333e39822a70be7cbe6c681726fbe25d4"
}