Global Feed Post Login
Replying to Avatar unclebobmartin

>From: Giszmo47 at 07/29/22 10:49:23 on wss://wlvs.space

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

>You never trust relays.

True.

>That's why you connect to multiple.

True.

>DB insert is more costly than DB query, especially for replaceable events.

That depends entirely upon your DB. more-speech, for example, keeps everything in RAM and simply writes to flat-files upon shutdown. Inserts don't cost much at all. Indeed, the concept of "insert" doesn't really exist. (sigh) Databases are just so 1990s.

>Relays will certainly not give you an incentive to spam them with those.

I've recieved no objections so far. Indeed, what are the relays doing other than saving and fowarding events. kind:0 is an event like any other. There's nothing special about it from the relay's point of view.

>Deleting in-demand events after a day would create such an incentive.

I don't understand that statement. What is an "in-demand" event?

By the way, this particular message is one of the reasons that I like long messages.

Avatar
Leo Wandersleb 3y ago

I'll stick to short form as Astral has a limit but also find long form hard to follow. If you are interested in only one aspect of the discussion, it's easier if it splits up.

Reply to this note

Please Login to reply.

Discussion

No replies yet.