On Tuesday 06 Nov 2012 21:58:49 Matthew Toseland wrote: > On Tuesday 06 Nov 2012 20:38:32 xor wrote: > > On Tuesday, November 06, 2012 05:24:20 PM Matthew Toseland wrote: > > > However for forum posts, messages can be quite big especially if they > > > quote > > > lots of prior messages, or include lots of hints. So it may be better to > > > have fairly big SSKs - 4KB or even 32KB? > > > > A Freetalk message list right now can only link to 5 messages when trying > > to fit into the 1KiB SSK. This is clearly not enough. > > > > Sample XML files can be seen in the XML-Test sourcecode: > > > > https://github.com/freenet/plugin-Freetalk-staging/blob/master/test/plugins/Freetalk/WoT/WoTMessageListXMLTest.java > > So how many kB would be ideal? Obviously if it's very big that will slow > things down... 2K or 4K we could probably send as a single message, much > bigger than that and that gets problematic, although I'm guessing here. Also > bigger means we are more likely to need to verify it *after we've transferred > it all the way*, at least in the low latency case, which is troublesome too. > If you're using bulk mode then I guess that's less important... > Hmmm, what would be easy in terms of avoiding new storage requirements, and keeping similar network protocols: - ~885 bytes: Slightly smaller than a current SSK, fits comfortably in one packet and one datastore slot. (1120 bytes total inc headers/pubkey) - ~32KB: Stick it in a CHK slot.
If we want anything in between we likely need a new store. Allocating that on existing users' nodes would be problematic. We can't get rid of the pubkey store just yet. Using CHK slots to store smaller keys would be rather sad. Subdividing them would be problematic as one CHK would evict many smaller keys, and do we really want one smaller key to evict one CHK? It looks like this would be fine for FLIP. But FMS/Freetalk probably want something medium sized, like 2KB or 4KB?
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl