git ssb

1+

Dominic / secure-scuttlebutt



Commit 8e8434f441e3e179672053fbde29570a4fcf6981

notes about what works in web

Dominic Tarr committed on 3/25/2019, 8:15:08 PM
Parent: d57abeb1a15613d75868a07880475ed1fad140eb

Files changed

README.mdchanged
README.mdView
@@ -6,8 +6,25 @@
66
77 removes everything not strictly needed for ssb-db, the goal being enough features to support
88 replication, but compatibility with the current application stack is out of scope.
99
10 +## compromises for the browser
11 +
12 +I took some shortcuts to get this working in the browser quickly.
13 +
14 +* uses flumelog-memory (this does have persistence, but keeps everything in working memory. This is okay for small scale)
15 +* removed all level based indexes. Currently no way to request replies or messages by type. Only message by key and messages in receive order.
16 +* all other indexes changed to use flumeview-reduce (because then there was only one thing to polyfil)
17 +
18 +This current version works, but isn't gonna scale well to lots of data. It would be good to use
19 +it for a new network, but harder to make it compatible with the current ssb network.
20 +(however, I believe we'll get there)
21 +
22 +Also, some problems I noticed:
23 +
24 +* the javascript is really big. It's mostly libsodium-wrappers though, which is 1.3 mb. I think
25 + we get that down to 200k though.
26 +
1027 ## Example
1128
1229 In this example, we create a feed, post a signed message to it, then create a stream
1330 that reads from the feed.
@@ -375,5 +392,4 @@
375392 ## License
376393
377394 MIT
378395
379-

Built with git-ssb-web