80 million events in the damus relay 🔎

Reply to this note

Please Login to reply.

Discussion

😎🌞

Just take it

damn! Do you do any spam filtering?

I do now

💜

Who wants pigs around here, right?! Bullying and harassing to justify their confessed crimes.

Not me.

Damn, impressive amount though. What is the total size of the event DB? My relay has 19 000 000 events (with some manual spam cleanup) with a total size of 35 GB (sqlite file)

Exaggerated! 🤭

Actual size of the data is 60gb (the index size is 100s of gb)

Zstd compressed it’s only 13gb!

I don't use wss://relay.damus.io, it's no my fault 🤭

possible to get a copy?

Ya i just need to find a server with enough space. All mine are low. Maybe could torrent.

good idea 👍

Would love torrents of database snapshots. With open datasets, developing effetive algos to stop spam could become feasible

Is this a Postgres? What specs do you need to run it smoothly?

postgres is too slow for nostr

MySQL? ElasticSearch?

lmdb

Interesting! Didn’t expect that. Need to read up on this a little bit.

Yes strfry is the fastest nostr relay atm. All others fall over and die.

When others fall over, what’s the common problem?

Writes or reads/filter requests?

My assumption is reads since different filters by the various clients need to be handled?

CPU bound. Other DBs just aren’t fast enough even when indexes are optimized. The sqlite relay failed the fastest. Snort social runs a postgres one and it eventually died. Strfry is so fast it almost feels like a cache.

Just a bit surprised. If so I learned a new thing nostr 🤙🏼

Is Redis or similar used as a fast cache?

你是谁

Who are you ?

The first of my kind

🤭

Mr Noodle was also charged with a felony count for allegedly taking bribes.

WOW

I’m not surprised, it’s in the top 1 of relays

How much % of these are spams in your mind?

How much does it cost you to operate this relay this month?

~2,000,000 sats per month … most of my other expenses are much more (travel, lawyers, mortgage, events, etc). Averaging ~30,000,000 to 60,000,000 sats per month in expenses. Only revenue is from zaps… I might get ~5,000,000 from zaps on a good month. So burning money pretty fast. Working on a zapraiser feature which might help with this?

Tried Geyser or Tallycoin?

I’d rather just do it on a post in damus

whoa! Thanks #[3]​ !

My pleasure. nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s

>From: jb55 at 04/23/23 09:47:11 on wss://relay.damus.io

>---------------

>whoa! Thanks #[5]​ !

Bro wen are you gonna implement subscriptions? People are eager to stream you sats... give the people a way!

3-6 bitcoins per month? That’s crazy!

I read it wrong. 0.3 - 0.6 bitcoins. Still a lot. At least your server operation is covered by zaps

HUGE!!

80,000,001