mleku on Nostr: no, the database when you build any kind of data storage system you have to deal with ...
no, the database
when you build any kind of data storage system you have to deal with limitations, let's say you rent a VPS with a 25Gb disk, and that gives you about 18gb of free space to store your relay's events
so, now, with #realy - you can set your maximum database size at 18gb and depending on how fast it adds new events, set your high and low water marks to trigger purging of events that nobody has looked at in the longest time
reduces the cognitive burden of managing a relay, and also lets you optimize the cost of running one
Published at
2024-11-17 14:14:39Event JSON
{
"id": "0f3e37f646aa3d7da670cd128ba5aa90af4bd40701eec4328f472d548d697952",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1731852879,
"kind": 1,
"tags": [
[
"t",
"realy"
],
[
"e",
"a528425a8db8beea412565d469d37b4beb839dcad53abd4ab66d164d9c51933b",
"wss://nostr.land/",
"root"
],
[
"e",
"50ca36851983e4eb65cf8d40100c9eff9c65375a53399845e2356404685d2f96",
"wss://nos.lol/",
"reply"
],
[
"p",
"8fb9450003a599bb1b34f03fadb9b137f6c0e5a850ba205964bee4732ccce549",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "no, the database\n\nwhen you build any kind of data storage system you have to deal with limitations, let's say you rent a VPS with a 25Gb disk, and that gives you about 18gb of free space to store your relay's events\n\nso, now, with #realy - you can set your maximum database size at 18gb and depending on how fast it adds new events, set your high and low water marks to trigger purging of events that nobody has looked at in the longest time\n\nreduces the cognitive burden of managing a relay, and also lets you optimize the cost of running one",
"sig": "781406a4ffc7d51e75fbc72516d07138f3640d00a5b0392d4b924c2170fb6adcdc07d31a1a9a8fcb931f9e6ce8ff536cb1fd1e163b224ba3c17296e9828fd963"
}