jb55 on Nostr: It becomes an issue when you want to do more ambitious things. Current clients are ...
It becomes an issue when you want to do more ambitious things. Current clients are memory constrained. Not needing to worry about memory and letting the OS page things in/out for any size db when doing algo queries and other types of local processing is quite nice.
Local first also enables lots of use cases, like using the app offline and having everything resync with negentropy when you’re back online. Also fast local fulltext search for privacy, p2p and local network syncing…
The local algo thing is cool because the wasm algo api can have full query capability assuming the presence of a local db as an api, so local algos will be much faster. Coding everything to an in-process local relay enables lots more use cases and increases reliability in the presence of rogue relays in the outbox model… i need to write this up 😅
Published at
2024-11-19 13:03:19Event JSON
{
"id": "97d9d368d9f480c86aa8298e4f405b7f2ba567b7c77defa14d3aaf87c3ed4252",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1732021399,
"kind": 1,
"tags": [
[
"e",
"7d9a7f946ac32da64bc26c77b62fbb450d879b60909dcd569857455e02d867d7",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"af114b8466b59f183ab97c48443d0839638752bc93a5936cde66d7333bc6f3cb",
"",
"reply"
],
[
"p",
"0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738"
]
],
"content": "It becomes an issue when you want to do more ambitious things. Current clients are memory constrained. Not needing to worry about memory and letting the OS page things in/out for any size db when doing algo queries and other types of local processing is quite nice.\n\nLocal first also enables lots of use cases, like using the app offline and having everything resync with negentropy when you’re back online. Also fast local fulltext search for privacy, p2p and local network syncing… \n\nThe local algo thing is cool because the wasm algo api can have full query capability assuming the presence of a local db as an api, so local algos will be much faster. Coding everything to an in-process local relay enables lots more use cases and increases reliability in the presence of rogue relays in the outbox model… i need to write this up 😅",
"sig": "0b75e4e1fe8cc19438718cedd8a9efbb2b6a9fde84d0abf5fbf622133df7cdcf0ea5194982e7d6cfa8f072e50885174777d29d2c2d06e8d61af88be1c1c312ec"
}