Re: Hi!

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]> Tue, 10 Mar 2009 23:44:00 +0000
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
On Monday 09 March 2009 22:25:43 Bèrto ëd Sèra wrote:
> Hi again,
> 
> I have an idea that *maybe* can serve as a base for our development. Our
> system stores a huge number of objects, that are exchanged as XML files. All
> nodes can create and update objects that where created on other nodes.
> 
> If we had any warranty that all nodes will always be online, the solution
> could probably be:
> 1) when a node creates a new object it publishes it as a Updateable Subspace
> Key and becomes responsible for the versioning of the object. The same
> versioning gives us an online history of the object.

Yes. You can subscribe to a USK from FCP, however the USK polling code does 
not work well if you start from many editions behind; you will have to save 
the current version on shutdown and start from there when you restart.

> 2) all objects publish a subscription file that can be used to say whether
> they are interested in any other object or not.
> 3) on creating/updating an object the publisher node effects a search that
> identifies the nodes that are interested in receiving it

By fetching a file?

> 4) the object fremails these node the updated version

In my experience Freemail isn't terribly reliable. In any case it relies on 
polling USKs - you probably want to just poll the USKs. :|

> 5) on updating an object that it does not maintain (i.e. that was created on
> other node, that is maintaining it on the net) a node fremails the updated
> version to the maintaining node. This node accpets the version, publishes
> the updated object edition and proceeds to inform all interested parties.

Right, you will need some way to communicate update requests.
> 
> Could such a model work? And how can we cope with the fact that very often
> the maintainer node will be down?

I don't know. You could share the private key between different nodes, but 
then you need to be careful that they don't interfere with each other... 
Freenet will try to prevent collisions, but this is not 100% certain 
especially if the network is fragmented.
> 
> Thanks in advance
> Berto
> 
> -- 
> ==============================
> Constitution du 24 juin 1793 - Article 35. - Quand le gouvernement viole les
> droits du peuple, l'insurrection est, pour le peuple et pour chaque portion
> du peuple, le plus sacré des droits et le plus indispensable des devoirs.
>

_______________________________________________
Tech mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc (application/pgp-signature, 835 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAABCAAGBQJJtvtAAAoJEHsvjZi+xPTDJf0QALamrOuKvW+1YpEZi0cDVq2f
AngY2s3L9Bi/KLcdo+KEMn09SMF+zUzHTHIRZXlUZitJxWvD5A1+fvI3hxQzLlxI
sfwlflnoG8Bf0DXb8IdU/63jc/EbSbz+/3Hd8su1yWN+HLLybOkOgHBtK8nQ3TS9
M2lv/c0cPGSmyNvCUFKKdmrqzUf1c0tyO69bRlHF04LRJKeJ1bDYPQ86YyfELFH1
IHUi8j0P1XXwkw93wqFHDQA+jhp6vKTjuMXZq9dC5fMkBYZ9/Gxjp8Kqm2idp/Ni
b6dmNtx9t/1P9tMcTvj0pfZqP5aU6EfE7SX7vgmit92hdEBOj7XlpCteofZ60UtK
3ZptuN5wsO48tU4EjkC4kYOwlJxLhR18ly4o/tZQs5pRR0QtEOOrAZcv6D6VP29g
dn95CTMO/EKR+OJ9oKIG6ucRMkSBWi5Be/F6RcgX4TIPTaAm/5nFXcdlQvQoXaps
8YX2k7Q6109t4FKxek3UVEpDj5H3JYjrv20UMv14qVGjmF7Va6unwZzer7YT6fxw
mxOEK+CjeDHX5pzbFDoX+p5XexwMksBbmkh7WTV0LJM1/hLcl1nEKd+/KhLe9XKX
n0veEIAypc1GDurDba1ylrgc9HJg3FwvlSPPeyoifZ2gawTACld8NL0jSPNBKk/N
sYxRcexmwZ2IYLSjkUvy
=3PWZ
-----END PGP SIGNATURE-----