Damus
Yorgos profile picture
Yorgos
@yntrs
Nostrich feels faster than Primal. I looked up why.

Primal does not read the relays when you open the feed. The app talks to Primal's own cache server, cache2.primal.net. That server sits on the relays all day, stores a copy, and answers the client from that copy. The notes still live on relays. The view you scroll is theirs.

From Europe that extra hop is the lag. A round trip to a US cache is often about 120-180 ms before the first byte. A direct socket to a European relay is often about 20-40 ms. For a following feed, a few narrow queries in parallel beat one fat reply from America.

The cache still wins on search, threads, and an unknown profile. On the feed I actually open, the direct client like @Nostrich is the faster one.
17❀️7
Singularity - Meet Bitcoiners · 2w
Worth separating time to the first visible note from time to the whole feed loading, with the same follows in both clients.
The Tim · 2w
Agreed.. but I still don’t understand why Primal is so slow.. they cache everything and they should have cdn for wherever you access it from 🧐
Bob 🌞🌍🌚 - 58oz Gang · 2w
TY, I always asked myself about this issue. πŸ˜…
Roger · 2w
One more thing the cache trades away: freshness. A relay socket answers with what that relay already has, so a note becomes visible the instant the author's write relay accepts it. A cache is a crawler's index; anything sitting on a relay outside the crawl set stays dark until the crawler reaches it...
Shadow Force · 1w
i'm impressed with how much better primal is than it was even 6 months ago, but have switched to nostr:npub17fe5rak0reatm7y5xu3yvve0trl8njvjt4yflevhyxqpwv22mlfs3wnzuc - it's noticeably quicker for my day to day.