franzap

Dec 30, 2024

What exactly is the Primal caching service? Is it a relay with extra bells and whistles?

See translation

0
0
0
0
0


Do you have thoughts?

Log in to leave a comment


Replies

npub18n4ys

@npub18n4ys

Dec 30, 2024

Not sure how they're doing it, but here's how I'll be doing it:

npub18n4ys

Dec 29, 2024

Replying to @USER

I'm not a fan of Primal's lightning wallet kyc, and wooden recommend it to people comma but in terms of how their handling performance as a Nostr client, I might be doing the same thing if I'm understanding them right.

On my end, everything so far is pretty much on Nostr, however, there will be a normal backend/database server running alongside it, not caching the nozzle event data itself but saving event addresses, for the purpose of quickly identifying and loading in people's posts and increase reliability overall. This would be running in parallel with what's currently there.

This side supporting a traditional server is not needed for the client to work, it only enhances it, and it'd lower in cost than if it was holding all the data.

I think this approach is the best way to go about it, where it would

... See more

See translation



and

npub18n4ys

Dec 29, 2024

Replying to @USER

That's why it's not reliant on it. If it gets attacked then that's that, the site is still running, just not in pristine condition. That's about it.


And yeah that can work too, in the app/setting page there'd be:

Title: Caching Server [button: add]:

Subtitle: Official servers:
cahcing.degmods.com [button: unset]

Subtitle: Recommended servers:
caching.example1.com [button: set]
caching.example2.com [button: set]
caching.example3.com [button: set]

Subtitle: Custom/user servers:
input-field [button: add]
caching.exampleCustom.com [button: set]

This can be a nip too, now that I think about it.

See translation



Didn't do much research, so sprinkle salt on this.

See translation

0

0
0
0
0

franzap

@franzap

Dec 30, 2024

@miljan can you clarify or point me to some docs?

Why not use a caching relay, is it because of counts and such?

Does the caching service strip signatures? Does the client verify signatures?

See translation

0

0
0
0
0

npub1vkgj5

@npub1vkgj5

Dec 30, 2024

I think it's a server (or collection of servers) that's running redis or something like it. It caches everything posted to whatever relays it's monitoring, and delivers it to the user on request. But posting new notes or replies goes through a user's defined relays.

See translation

0

0
0
0
0

franzap

@franzap

Dec 30, 2024

Are signatures still validated client side, or can the cache tamper messages?

See translation

0

0
0
0
0

npub1vkgj5

@npub1vkgj5

Dec 30, 2024

That I cannot say. I'm deducing its methodology based on what we can see as users. I suspect it may not be preserving signatures, but I just don't know.

See translation

0

0
0
0
0

npub1tdewu

@npub1tdewu

Dec 30, 2024

They read the relays. Then store everything, but they can choose what to censor or not. They only show you portions of what you or others note.

See translation

0

0
0
0
0

npub1lrnvv

@npub1lrnvv

Dec 30, 2024

Any relay can choose what to show you and what not to show you.

See translation

0

0
0
0
0

franzap

@franzap

Dec 30, 2024

Question would be if, in addition to withholding notes they can also tamper with

See translation

0

0
0
0
0

npub1xpuz4

@npub1xpuz4

Dec 30, 2024

That probably depends if their clients validate the signatures properly. Check the source code.

See translation

0

0
0
0
0

npub1lrnvv

@npub1lrnvv

Dec 30, 2024

🙄

el

See translation

0

0
0
0
0

npub1yrffs

@npub1yrffs

Dec 30, 2024

Todo lo que se pueda manipular sería malo para nostr

See translation

0

0
0
0
0

npub1tdewu

@npub1tdewu

Dec 30, 2024

Since each note is signed by your nsec. I’m fairly sure they can’t modify. They can and have censored people’s notes. Selected not to show a given note or not allow some things in search.

See translation

0

0
0
0
0

npub1tdewu

@npub1tdewu

Dec 30, 2024

That’s fair. But they are knowingly censoring content.

See translation

0

0
0
0
0

npub1lrnvv

@npub1lrnvv

Dec 30, 2024

Which content are they censoring?

See translation

0

0
0
0
0

npub14cgq3

@npub14cgq3

Dec 30, 2024

I have also read on here that primal app doesn't function when you disconnect from their server. Even when connected to other relays


Tbh it is a bit unfortunate but I understand; its a great way to bootstrap the network for a new user to feel like a more traditional social media. They'll find their way to other nostr clients as they see fit, with the power of their npub

See translation

0

0
0
0
0

npub1tdewu

@npub1tdewu

Dec 30, 2024

I should clarify. They can “choose” to only show you portions of what you or others note.

See translation

0

0
0
0
0