Add more relays (high performance) #149

Merged
Semisol merged 1 commits from patch-1 into main 2023-01-29 21:21:06 +00:00
Semisol commented 2023-01-27 15:51:00 +00:00 (Migrated from github.com)

For eden, @Cameri has said it has a load balanced setup. For nostr-pub.semisol, it's mostly running on idle right now with 8 threads and 16GB RAM.

For eden, @Cameri has said it has a load balanced setup. For nostr-pub.semisol, it's mostly running on idle right now with 8 threads and 16GB RAM.
v0l commented 2023-01-27 17:48:09 +00:00 (Migrated from github.com)

Ive used both of these relays but they dont seem to respond most of the time

Ive used both of these relays but they dont seem to respond most of the time
Cameri commented 2023-01-27 17:49:34 +00:00 (Migrated from github.com)

Ive used both of these relays but they dont seem to respond most of the time

I've been upgrading Eden.nostr.land since last night. Sorry about the downtime.

> Ive used both of these relays but they dont seem to respond most of the time I've been upgrading Eden.nostr.land since last night. Sorry about the downtime.
v0l commented 2023-01-27 17:52:02 +00:00 (Migrated from github.com)

Ive used both of these relays but they dont seem to respond most of the time

I've been upgrading Eden.nostr.land since last night. Sorry about the downtime.

I don't think hardware is the problem

> > Ive used both of these relays but they dont seem to respond most of the time > > I've been upgrading Eden.nostr.land since last night. Sorry about the downtime. I don't think hardware is the problem
Cameri commented 2023-01-27 17:54:46 +00:00 (Migrated from github.com)

Ive used both of these relays but they dont seem to respond most of the time

I've been upgrading Eden.nostr.land since last night. Sorry about the downtime.

I don't think hardware is the problem

It's not a hardware problem. I'm working on a new version and it has bugs. I've been trying to fix it.

> > > Ive used both of these relays but they dont seem to respond most of the time > > > > > > I've been upgrading Eden.nostr.land since last night. Sorry about the downtime. > > I don't think hardware is the problem It's not a hardware problem. I'm working on a new version and it has bugs. I've been trying to fix it.
Cameri commented 2023-01-27 17:55:54 +00:00 (Migrated from github.com)

Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying.

Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying.
v0l commented 2023-01-27 17:59:42 +00:00 (Migrated from github.com)

Anyway these relays are not important anymore, its only for logged out people really, we take NIP-07 relay list at login and bootstrap with that instead now, also when you open the site again it just connects with your last used relay list.

Really this is the fallback relay list

Anyway these relays are not important anymore, its only for logged out people really, we take NIP-07 relay list at login and bootstrap with that instead now, also when you open the site again it just connects with your last used relay list. Really this is the fallback relay list
Semisol commented 2023-01-27 18:04:22 +00:00 (Migrated from github.com)

Ive used both of these relays but they dont seem to respond most of the time

Mine is responsive from my experience. It wasn't a day ago though, did a huge resource upgrade

> Ive used both of these relays but they dont seem to respond most of the time Mine is responsive from my experience. It wasn't a day ago though, did a huge resource upgrade
Semisol commented 2023-01-27 18:04:58 +00:00 (Migrated from github.com)

Anyway these relays are not important anymore, its only for logged out people really, we take NIP-07 relay list at login and bootstrap with that instead now, also when you open the site again it just connects with your last used relay list.

Really this is the fallback relay list

Still might be better for censorship resistance and to discover people that don't have the Snort relay. Users don't want to see a limited global feed

> Anyway these relays are not important anymore, its only for logged out people really, we take NIP-07 relay list at login and bootstrap with that instead now, also when you open the site again it just connects with your last used relay list. > > Really this is the fallback relay list Still might be better for censorship resistance and to discover people that don't have the Snort relay. Users don't want to see a limited global feed
Semisol commented 2023-01-27 18:07:26 +00:00 (Migrated from github.com)

Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying.

Have another relay instance connected to the same DB to test, like test.eden.nostr.land

> Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying. Have another relay instance connected to the same DB to test, like `test.eden.nostr.land`
Cameri commented 2023-01-27 18:08:15 +00:00 (Migrated from github.com)

Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying.

Have another relay instance connected to the same DB to test, like test.eden.nostr.land

Will do.

> > Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying. > > > > Have another relay instance connected to the same DB to test, like `test.eden.nostr.land` Will do.
Semisol commented 2023-01-27 18:09:37 +00:00 (Migrated from github.com)

Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying.

Have another relay instance connected to the same DB to test, like test.eden.nostr.land

Will do.

Only issue arises when you need DB changes but those should be tested in a completely isolated environment before touching the production DB.

> > > Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying. > > > > > > Have another relay instance connected to the same DB to test, like `test.eden.nostr.land` > > Will do. Only issue arises when you need DB changes but those should be tested in a completely isolated environment before touching the production DB.
Cameri commented 2023-01-27 18:10:36 +00:00 (Migrated from github.com)

Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying.

Have another relay instance connected to the same DB to test, like test.eden.nostr.land

Will do.

Only issue arises when you need DB changes but those should be tested in a completely isolated environment before touching the production DB.

I have that. Issue is happening when pushing to prod basically

> > > > Maybe don't merge this until I've fixed it. It's hard fixing the plane while it's flying. > > > > > > > > > > > > Have another relay instance connected to the same DB to test, like `test.eden.nostr.land` > > > > > > Will do. > > > > Only issue arises when you need DB changes but those should be tested in a completely isolated environment before touching the production DB. I have that. Issue is happening when pushing to prod basically
Cameri commented 2023-01-27 18:10:55 +00:00 (Migrated from github.com)

I'm going to set up a pre-prod relays

I'm going to set up a pre-prod relays
v0l commented 2023-01-27 18:11:55 +00:00 (Migrated from github.com)

Im not getting any response from your relay right now @Semisol
image

Im not getting any response from your relay right now @Semisol <img width="619" alt="image" src="https://user-images.githubusercontent.com/1172179/215162704-e764ae39-9bc9-4dba-aa72-6d3f74cc059d.png">
v0l commented 2023-01-27 18:13:15 +00:00 (Migrated from github.com)

No relay document on eden @Cameri? seems like CORS error

No relay document on eden @Cameri? seems like CORS error
Semisol commented 2023-01-27 18:18:26 +00:00 (Migrated from github.com)

Im not getting any response from your relay right now @Semisol image

You sure?

> Im not getting any response from your relay right now @Semisol <img alt="image" width="619" src="https://user-images.githubusercontent.com/1172179/215162704-e764ae39-9bc9-4dba-aa72-6d3f74cc059d.png"> You sure?
Semisol commented 2023-01-27 18:19:00 +00:00 (Migrated from github.com)

Only issue arises when you need DB changes but those should be tested in a completely isolated environment before touching the production DB.

I have that. Issue is happening when pushing to prod basically

Import a dump of the prod DB to your test environment with a smaller set of events

> > Only issue arises when you need DB changes but those should be tested in a completely isolated environment before touching the production DB. > > I have that. Issue is happening when pushing to prod basically Import a dump of the prod DB to your test environment with a smaller set of events
v0l commented 2023-01-27 18:33:14 +00:00 (Migrated from github.com)

You sure?

No thats a fake screenshot, sometimes i connect and dont get a reply

> You sure? No thats a fake screenshot, sometimes i connect and dont get a reply
Semisol commented 2023-01-27 21:13:51 +00:00 (Migrated from github.com)

You sure?

No thats a fake screenshot, sometimes i connect and dont get a reply

I implemented a small tweak that's why

> > You sure? > > No thats a fake screenshot, sometimes i connect and dont get a reply I implemented a small tweak that's why
v0l (Migrated from github.com) approved these changes 2023-01-29 21:21:01 +00:00
v0l (Migrated from github.com) left a comment

LGTM

LGTM
Sign in to join this conversation.
No description provided.