girinovey on Nostr: Testing #nostr #relay using mem only storage (kathru with splicestorage), in 24h we ...
Testing #nostr #relay using mem only storage (kathru with splicestorage), in 24h we have around 100Mb of mem usage. Extrapolating, we can hold up to 20 days of events in memory. With some policies to clean up some events earlier (reactions, for example) we might be able to hold up to a month in memory easily.
Published at
2024-10-24 17:54:48Event JSON
{
"id": "80a2885047628b116d72245192bdf3e2cfbbecfae5e828fa6500d5b1dd7aaf11",
"pubkey": "3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657",
"created_at": 1729792488,
"kind": 1,
"tags": [
[
"t",
"nostr"
],
[
"t",
"relay"
]
],
"content": "Testing #nostr #relay using mem only storage (kathru with splicestorage), in 24h we have around 100Mb of mem usage. Extrapolating, we can hold up to 20 days of events in memory. With some policies to clean up some events earlier (reactions, for example) we might be able to hold up to a month in memory easily.\n\n",
"sig": "e21f5232640366fc131770ea83745a1f7e833522fa93cea3e885992307c7eef6dd6d874b158f4b3b16ad35311418251ba5aae41f77f4ed7cab3a661fff7ea2c7"
}