Why Nostr? What is Njump?
2024-10-27 14:48:54

girinovey on Nostr: #nostr #relay After 3 days running the relay is using about 2Gb memory, but the saved ...

#nostr #relay

After 3 days running https://github.com/girino/mem-relay the relay is using about 2Gb memory, but the saved backup file (saved every few minutes) is only 230 Mb. So most of the memory used can be collected by the garbage collector if needed. No need to "clean" old events yet.

An still as fast as ever. with indexes for the most common searches (by id, by author, etc) it takes less than 500 micro seconds on average. Load on the raspberry pi is very low (0.3 to 0.6).

A memory only relay seems to be a reasonable alternative for public relays with low resources.

and what do you think?
Author Public Key
npub18lav8fkgt8424rxamvk8qq4xuy9n8mltjtgztv2w44hc5tt9vets0hcfsz