mleku on Nostr: i remember very clearly when fiatjaf said he hated badger that's because he didn't ...
i remember very clearly when fiatjaf said he hated badger
that's because he didn't really understand how to use it, and the lack of e tags in the query funtion proves it. idk why also he thought that 32 bit serials would be enough, the badger standard serial is a 64 bit unsigned integer. FOR A REASON. 4 billion records may sound like a lot but i had 117k events in realy and that was 130mb, uncompressed. so realistically, 4 billion records 4 000 000 000 means 2 bn kilobytes which comes out to about 20tb
that's big but not by modern data center standards. 12tb raid arrays are already pretty common
why he hated badger i think was also because it didn't let him do goroutine spaghetti so easily
i remember when i went mad on goroutines, it was about 7 years ago now, i'd been working with Go on a full time basis for only a year at that point (previously mostly part time and learning for two years)
Published at
2025-05-15 20:18:09Event JSON
{
"id": "18008d365152d80580dfc58a0c5a32c7287f4a9458b467f0324b4c78ffb766c9",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1747340289,
"kind": 1,
"tags": [
[
"e",
"f977a2ff22e0c988bf62cb83aa4bdad7b97e7603f2e9c18e23f046139bddc8f4",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"e7fd95620afc625398ea01ca6e67653e624a86f3ed04050a2fbc7b727e58c9c8",
"wss://theforest.nostr1.com/",
"reply"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "i remember very clearly when fiatjaf said he hated badger\n\nthat's because he didn't really understand how to use it, and the lack of e tags in the query funtion proves it. idk why also he thought that 32 bit serials would be enough, the badger standard serial is a 64 bit unsigned integer. FOR A REASON. 4 billion records may sound like a lot but i had 117k events in realy and that was 130mb, uncompressed. so realistically, 4 billion records 4 000 000 000 means 2 bn kilobytes which comes out to about 20tb\n\nthat's big but not by modern data center standards. 12tb raid arrays are already pretty common\n\nwhy he hated badger i think was also because it didn't let him do goroutine spaghetti so easily\n\ni remember when i went mad on goroutines, it was about 7 years ago now, i'd been working with Go on a full time basis for only a year at that point (previously mostly part time and learning for two years)",
"sig": "d1a407d6c26db5147ffb0f854a6b4a7661cabebcaf4039add1124fcf8eb1a8dddcc7f76e98c0e8b88059f4400075f3ed05726a851d6532a1b7cf8a6b090192c8"
}