Replying to Avatar TheGrinder

If you're using noStrudel AND you follow +1k people. Make sure to set the depth of your WOT to no more than 1. Even with 1 you'll probably struggle until nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr does some tuning to those new settings.

I keep ending up with ~200k cached users. +80k right now after clearing the cache. That's 2nd and 3rd degree WoT.

What your looking for is the automatic social graph updates option. limit that to only the first degree and it will only load your friends contact lists

https://cdn.hzrd149.com/fad85b73136650df0ecb636b9ecff7c0da8b9450da6644cfbc03e160f34f81ef.webp

I had it set to 2nd degree by default which ends up loading ~180k to ~200k users for the average nostr user. normally thats not an unreasonable amount of data but loading for saving that large of a social graph can really lag the app

I'm trying to think of a fix for this while still keeping the WoT filtering but for the time being I might just add an option to disable the social graph

Reply to this note

Please Login to reply.

Discussion

nostr:npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk is there any creative way we could make the nostr-social-graph library serialize or deserialize faster? that or maybe it would make sense to offload it into a web worker so it wouldn't effect the main thread?

Thanks nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr! I've already changed that setting to 1st degree and increased the social graph to 3rd degree on all options.

Without this I'm seeing too many "muted" embeds or even comments. Some of them 1st degree follows. So this is the only setting that seems to work the way I want it in terms of viewing content. Resulting in 115k people in my social graph.

Anything else kinda breaks the flow.

Yeah, the content policies, hide or mute events based on the social graph. Ideally, you'd want to have it at the 4th or 5th.

Changing them won't effect performance though, the real issue is how the social graph is being loaded in the background.

I'm out if town at the moment to but I'll try to get a patch release out next week to either improve the performance or disable the social graph

That sounds great. thanks hzrd!