You are here: Foswiki>Devel Web>InDeCS (20 Dec 2004, OccAm)Edit Attach

Independent Decentral Content Syndication (Indecs)

Get the current alpha code from http://codecoop.org/projects/indecs/ CVS: http://codecoop.org/scm/cvsweb.php/indecs/?cvsroot=indecs

Indecs is Network of Groups which share their Content between each other. The Network is Decentral and to Join the Network you Open a Group or add yourself to a existing one.

Every Group has some Collectors (Server) with diffrent Content. If a collector has new content the whole Network gets informed about it, using Metadata describing the new Content. Every Collector can decide for themself if they Host a Copy of the new Content. Each Server in the Network knows the other Servers, but they only communicate together over Group-Speakers.

Use of Indecs on in the IVDN Project

xmlrpc-p2p.png
Basic Network Overview:

Network Messages

Networks Messages have only one field of activity, the build of a network.xml wich contains the full list of all Collectors in the Network with the follwing Infos.

<xml>
  <network name="Network Name">
    <group name="Group Name">
      <server name="You Server Name">
         <host>domain.tld</host>
         <uri>domain.tld/xml-rpc/</uri>   
         <speaker>true/false</speaker>   
         <status>Online/Offline</status>
      </server>
    </group>
 </network>
 <network...>
   [...]
 </network>
</xml>

The Network consists of Groups and Servers. Every Group has a Speaker

The Network Class has to provide the follwing Functions and Events

  • addServer
  • removeServer
  • setSpeaker
  • setStatus

addServer

This Function has to register a new server to the Network. It has the follwing Workflow.

  • the new server sends an addServer to the group speaker
  • the group speaker sends a full network.xml back to the new server including the new server
  • the group speaker sends an addServer to the other speakers
  • the other speakers update their own network.xml
  • the other speakers send addServer to the other Servers in the same group
Topic attachments
I AttachmentSorted ascending Action Size Date Who Comment
xmlrpc-p2p.pngpng xmlrpc-p2p.png manage 50 K 05 Feb 2004 - 02:51 UnknownUser Basic Network Overview
Topic revision: r3 - 20 Dec 2004, OccAm
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback