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.
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/tech/attachments/20090310/8eaccb05/attachment.pgp>

Reply via email to