Changes between Version 30 and Version 31 of BluePrint/Synchronisation


Ignore:
Timestamp:
08/18/09 20:33:58 (16 years ago)
Author:
Hasanat Kazmi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Synchronisation

    v30 v31  
    1 = Choosing ZeroConf for Network discovery =
    2 Automatic synchronization between servers require automatic service discovery. We had two major options to choose from:
    3 1) ZeroConf
    4 2) Mesh4x
    5 
    6 ZeroConf & Mesh4x solve different problems. They don't overlap in functionality at all:
    7 ZeroConf provides a solution to automatic discovery.
    8 Mesh4x provides a solution to the data sync.
    9 
    10 We were more interested in Zeroconf because:
    11 1) ZeroConf has Python library but Mesh4x doesn't. I means double work was required if we go with Mesh4x.
    12 2) We just needed automatic discovery of service because we wanted to use web services, so that foreign developers can also use Restful API
    13 3) Mesh4x required java daemon, which meant adding jre in the package which would double Sahana package size.
    14 
    151= deamonX: Daemon which runs automatic synchronization =
    162We created a daemon which calls web services listed above. DaemonX uses ZeroConf libraries available at http://www.amk.ca/python/zeroconf