Patrick Ohly 04.07.2009 © Copyright, 2009 Intel SyncEvolution – The Missing Link

Click here to load reader

  • date post

    26-Dec-2015
  • Category

    Documents

  • view

    217
  • download

    4

Embed Size (px)

Transcript of Patrick Ohly 04.07.2009 © Copyright, 2009 Intel SyncEvolution – The Missing Link

  • Slide 1
  • Patrick Ohly 04.07.2009 Copyright, 2009 Intel SyncEvolution The Missing Link
  • Slide 2
  • Project Overview Copyright, 2009 Intel2
  • Slide 3
  • History: SyncEvolution more than Moblin Copyright, 2009 Intel3 Patricks coming out: first talk at open source conference SyncEvolution: spare time project for >3 years, now full-time So far: SyncML client for Evolution, Maemo, iPhone+Mac OS X, KDE (?!), Moblin 2.0 More to come: direct synchronization
  • Slide 4
  • SyncML Freedom of Choice, No Vendor Lock-In Over the Air SyncML Server Google, ScheduleWorld, OpenGroupware, Synthesis, ZYB,... SyncML Server Google, ScheduleWorld, OpenGroupware, Synthesis, ZYB,... Google Sync PIM: Contacts, Events, Tasks, Notes Copyright, 2009 Intel< Over The Air Sync
  • Slide 5
  • Slide 6
  • Slide 7
  • Slide 8
  • Copyright, 2009 Intel8 Swiss company with >10y experience with SyncML, owned by the two main developers Synthesis SyncML Engine: C++ implementation of client and server, data merging and conversion Stable C API+ABI LGPL 2.1+3.0 Funambol: three different code bases, no stable ABI, AGPL v3 libsyncml: only lower protocol layers, lacks synchronization engine OpenSync/Conduit: no/limited (?) data conversion Synthesis
  • Slide 9
  • Components Copyright, 2009 Intel9 SyncEvolution: User interface (command line, GTK GUI) Configuration handling Local data backends (Evolution Data Server, Mac OS X Address Book, files) Message transport (HTTP via libsoup/libcurl) Test suite libsynthesis: SyncML protocol (up to 1.2.1 very complete) Data conversion, merging, database storage (ODBC) libsmltk (SyncML Toolkit): Message encoding/decoding (XML + WBXML)
  • Slide 10
  • D-Bus Evolution Backend D-Bus Server Command Line CPPUnit Testing SyncEvolution Core Synthesis Glue Synthesis Coretransport lib Synthesis Glue SyncML Server HTTP(S) GNOME Evolution Data Server libecal/ebook D-Bus libical GTK GUI
  • Slide 11
  • SyncML: Client/Server Architecture Copyright, 2009 Intel11 PIM Sync Challenges: It can eat your data?!
  • Slide 12
  • PIM Sync + Interoperability Challenges Copyright, 2009 Intel12 1.No globally unique ID. 2.Different representation of data. 3.Offline updates allowed: what is the most recent data? 4.Must support standard formats, including legacy ones (vCalendar). 5.Must work with limited knowledge about peers (capabilities, behavior).
  • Slide 13
  • SyncML as Protocol Copyright, 2009 Intel13 slow sync - client sends all items, server compares, sends updates back normal sync - exchange of updates Resilient suspend&resume (voluntarily or due to loss of connection), resend messages Avoid overloading peer: maximum message size, flow control Device Capability description
  • Slide 14
  • SyncML Client Copyright, 2009 Intel14 Easy to implement, less complex side List items and changes since last sync session, using locally unique ID Import and export items, either in standard format or Synthesis representation Data merging optional (supported by Synthesis engine)
  • Slide 15
  • SyncML Server Copyright, 2009 Intel15 Convert data between clients Map between local IDs Handle conflicts: Fixed policy in HTTP servers More flexible in desktop apps?! Merge incomplete updates received from dumb clients with complete item on server Synthesis: same datastore API as on client side
  • Slide 16
  • Synthesis Data Handling Copyright, 2009 Intel16 Specified via XML config: new data formats can reuse existing mechanisms. Field list declares internal format and key properties for matching items. Conversion to and from external formats via one or more profiles; can be parameterized. Can use modification time stamps and different conflict resolution policies (duplicate, merge). Uses Device Capabilities: solves the property removed or not supported? problem.
  • Slide 17
  • Next Steps + Getting Involved Copyright, 2009 Intel Confidential17
  • Slide 18
  • Next Steps Copyright, 2009 Intel18 0.9 release Sync in background + recovery Support more local backends (need contributors!) Direct device-to-device sync
  • Slide 19
  • HTTP POST Reply OBEX GET OBEX PUT Server Stubs Sync Engine + UIs Data Storage Transports Evolution Data Server syncevo-dbus-server SyncML Client (Netbook) SyncML Server (Desktop) HTTP Daemon OBEXD libopenobex? libsoup Local Machine (Desktop, Netbook, Phone) SyncML Server (Internet) SyncML Client (Phone) Peers contacting us Peers contacted by us Panel Applet GUI: sync-ui CLI: syncevolution HTTP POST Reply OBEX PUT OBEX GET
  • Slide 20
  • Getting Involved Copyright, 2009 Intel20 http://moblin.org/projects/syncevolution Mailing list, also on Gmane bugzilla.moblin.org with enhancement ideas SyncML Client Do-it-yourself Style LWN.net article, long version on moblin.org
  • Slide 21
  • Copyright, 2009 Intel21