Avatar
Cody
8125b911ed0e94dbe3008a0be48cfe5cd0c0b05923cfff917ae7e87da8400883
Building ๐Ÿ‘จโ€๐Ÿ’ป https://jumble.social/ & nostr-relay-tray

When an non-auth user tries to read DMs, currently only a NOTICE message is returned, without sending an AUTH required message (which can be added if necessary). My relay is implemented based on https://github.com/CodyTseng/nostr-relay

Prevent users from accessing irrelevant kind4 events. AUTH is not required to query general events. The client can authenticate when it needs to retrieve kind4 events.

The subsequent events sent to the client will filter out kind4 events that are unrelated to the user.

My relay only send an AUTH request once when establishing a connection with the client because I assume the client will store the challenge.

After upgrading the AWS RDS instance type, the processing speed of REQ requests has significantly improved. (wss://nostr-relay.app)

๐Ÿ“Š

P50: 5ms

P75: 13ms

P90: 46ms

P95: 103ms

P98: 246ms

P99: 504ms

#nostr #relay #postgresql

release v1.2.1

- fix: resolve IP access issue ๐Ÿ™‡

#nostr #relay #devstr

https://github.com/CodyTseng/nostr-relay-tray

v1.2.0 release

- display total number of events

- fix some bugs...

โœจ Save your events and own your events. ๐Ÿซ‚

โœจ As a cache relay for #noStrudel, to make loading faster. ๐Ÿš€

#nostr #relay #devstr

https://github.com/CodyTseng/nostr-relay-tray

Oh, that idiot is me. Also held Hong Kong shares ๐Ÿคก

Bitcoin is more stable than fucking A-shares. ๐Ÿคฌ

Yesterday, only 1% of REQ response times exceeded 786ms on wss://nostr-relay.app . The majority of query response times were satisfactory to me. Hope it can be used by more people, testing its limits together (it's free).

P50: 8ms

P75: 30ms

P90: 94ms

P95: 143ms

P98: 281ms

P99: 786ms

Yes, when I tested last night, only the HTTP requests encountered CORS errors, and the WebSocket connection had no issues. I'll add "Access-Control-Allow-Origin: *" when I support NIP-11. I just tried the new noStrudel and it feels fantastic, the loading speed is incredibly fast! ๐Ÿš€๐Ÿš€๐Ÿš€๐Ÿš€๐Ÿš€๐Ÿš€ I need to change my web client.

Replying to Avatar hzrd149

Hey nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl can you add the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin header to the relay?

Id like to try and integrate this into noStrudel but I cant talk to the relay due to CORS errors in the browser

What I'm working on ๐Ÿ˜

I made some attempts, but couldn't solve the problem. I also found that the same project works fine when using a public IP, but encounters CORS errors when using an internal IP. I'll take another look tomorrow and do some more research. ๐Ÿ˜‚

Replying to Avatar hzrd149

Hey nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl can you add the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin header to the relay?

Id like to try and integrate this into noStrudel but I cant talk to the relay due to CORS errors in the browser

What I'm working on ๐Ÿ˜

Of course, I will fix it!

Replying to Avatar reya

Hi, Lume is using https://github.com/scsibug/nostr-rs-relay for personal relay, but I will add more option in future and user can choose it

nostr-rs-relay is an excellent and stable project! If you plan to add specific features to the relay in the future, consider using nostr-relay. It exposes some aspects for developers to modify and allows for the replacement of the underlying database implementation.

Are you interested in using https://github.com/CodyTseng/nostr-relay to implement the personal relay feature for Lume? ๐Ÿค—