OceanSlim on Nostr: sandwich is working on a relay monitor. What you store is up to you. I'd recommend ...
sandwich (nprofile…s043) is working on a relay monitor. What you store is up to you. I'd recommend checking my own implementation, grain 🌾. It's very configurable and has purging built in that you can fine tune with extensive whitelisting capabilities. Not much storage is needed unless you're running a mega relay and never purge. I have a couple dozen people whitelisted and it's using like 35mb. My relay also purges events from all non whitelisted users but allows anyone to write to it. When I implement WoT I'll also have a configuration for excluding WoT from purging. I had a lot of the same questions and no implementation was as configurable as Id like it to be without writing a bunch of external code, most likely in something I'm not proficient in. So I made my own implementation. GitHub is on my profile. There's also info about grain on my website linked in my profile. I'd be happy to help you set I up too if you'd like to try it.
Published at
2025-01-15 04:24:35Event JSON
{
"id": "0f72406b8a0b59b0a03c230ac39f86f1117a76564a7dc970692c1afd3158c00d",
"pubkey": "16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b",
"created_at": 1736915075,
"kind": 1,
"tags": [
[
"e",
"82b483a6eaf73d4409f2e0ad16fed46b7354b191cd98ab6f7d0cbb65db1e04b5",
"",
"root"
],
[
"p",
"66bd8fed3590f2299ef0128f58d67879289e6a99a660e83ead94feab7606fd17"
],
[
"p",
"e771af0b05c8e95fcdf6feb3500544d2fb1ccd384788e9f490bb3ee28e8ed66f",
"",
"mention"
]
],
"content": "nostr:nprofile1qqswwud0pvzu362lehm0av6sq4zd97cue5uy0z8f7jgtk0hz368dvmcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszxmhwden5te0wa5x2ct59e5xzurs096xzan9wfhzucm09uqsuamnwvaz7tmwdaejumr0dshsdms043 is working on a relay monitor. What you store is up to you. I'd recommend checking my own implementation, grain 🌾. It's very configurable and has purging built in that you can fine tune with extensive whitelisting capabilities. Not much storage is needed unless you're running a mega relay and never purge. I have a couple dozen people whitelisted and it's using like 35mb. My relay also purges events from all non whitelisted users but allows anyone to write to it. When I implement WoT I'll also have a configuration for excluding WoT from purging. I had a lot of the same questions and no implementation was as configurable as Id like it to be without writing a bunch of external code, most likely in something I'm not proficient in. So I made my own implementation. GitHub is on my profile. There's also info about grain on my website linked in my profile. I'd be happy to help you set I up too if you'd like to try it.",
"sig": "96c77639f0fbd3c3bd0b01dfc56ee499ae79364ea783d6ad0b1b00c330410418ec46b9d0467f28d4fe67523674dba3809d7aa31dbad8a47834aeb3ae4d639edf"
}