semisol on Nostr: On nostr.land I am getting about 2K index reads and a DB usage of about 25GB. Since a ...
On nostr.land I am getting about 2K index reads and a DB usage of about 25GB.
Since a lot of these are tag queries, it would be about 3K rows read/s on D1. Not that I would be able to do that, as D1 can only go up to 10GB.
This would be 25 GB-mo and 7.8 billion reads.
This would cost me $18.75 for storage, and about $8K in read fees. Ouch. Not getting into invocation or CPU ms costs.
With NFDB Enterprise customers can scale to 4x that for only 125€/mo or so. nothing.
Published at
2025-06-18 04:28:27Event JSON
{
"id": "69e926cbd16a387a8d02e4b958a584e2e74040f5707de70537b5e790d2973569",
"pubkey": "52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd",
"created_at": 1750220907,
"kind": 1,
"tags": [
[
"e",
"e4c29781ed2b23d971c2c413a9dba212536bd658ffba58cc535d4b57f63b839e",
"wss://nos.lol/",
"root",
"d49a9023a21dba1b3c8306ca369bf3243d8b44b8f0b6d1196607f7b0990fa8df"
],
[
"e",
"e4c29781ed2b23d971c2c413a9dba212536bd658ffba58cc535d4b57f63b839e",
"wss://nos.lol/",
"reply",
"d49a9023a21dba1b3c8306ca369bf3243d8b44b8f0b6d1196607f7b0990fa8df"
],
[
"p",
"d49a9023a21dba1b3c8306ca369bf3243d8b44b8f0b6d1196607f7b0990fa8df"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "On nostr.land I am getting about 2K index reads and a DB usage of about 25GB.\n\nSince a lot of these are tag queries, it would be about 3K rows read/s on D1. Not that I would be able to do that, as D1 can only go up to 10GB.\n\nThis would be 25 GB-mo and 7.8 billion reads.\n\nThis would cost me $18.75 for storage, and about $8K in read fees. Ouch. Not getting into invocation or CPU ms costs.\n\nWith NFDB Enterprise customers can scale to 4x that for only 125€/mo or so. nothing.",
"sig": "f4c10d0510c1f02e01b0597299a2853e4294f92ea05a984a80a6ae47c68ad498f133fcd8c3a7b777709a55516a0be963bcb8bffc668fe7609ba40740cdeeba69"
}