Alex Gleason 🐍 on Nostr: Database is on a spinning disk (slow) but I can cache almost the entire database in ...
Database is on a spinning disk (slow) but I can cache almost the entire database in RAM right now. It will become terabytes eventually, but since all Redis does is utilize your RAM anyway why not just cache the Postgres blocks and not write a bunch of extra code.
Published at
2024-12-17 19:17:49Event JSON
{
"id": "a045a6d00eddc7917d07360d29750483355231d17e05dd94663e5610ed303497",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1734463069,
"kind": 1,
"tags": [
[
"e",
"e110733bd5f4deef4303e15d8750293fbf95c9376dfa335b34b16addac3862e7",
"wss://gleasonator.dev/relay",
"root",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd"
],
[
"e",
"b34a514f5c4c0cf282a628deaeeb06bb83c0febc09c09f3e473505a0e76e6add",
"wss://gleasonator.dev/relay",
"reply",
"80caa3337d33760ee355697260af0a038ae6a82e6d0b195c7db3c7d02eb394ee"
],
[
"p",
"80caa3337d33760ee355697260af0a038ae6a82e6d0b195c7db3c7d02eb394ee",
"wss://gleasonator.dev/relay"
]
],
"content": "Database is on a spinning disk (slow) but I can cache almost the entire database in RAM right now. It will become terabytes eventually, but since all Redis does is utilize your RAM anyway why not just cache the Postgres blocks and not write a bunch of extra code. ",
"sig": "3df9dd365cd184ef43d20c52d773feba21a7bca7bd945ebc2b8b1ce7ee89000d142fd63917bd12d01829059f2b9af08e3000e4c0e4e5f9b567fdd4b6ed9af893"
}