Project

General

Profile

Actions

Task #2612

closed

Implement Sync Update Processor

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
ndn-atmos-catalog
Start date:
03/02/2015
Due date:
% Done:

0%

Estimated time:

Description

  • informed of new state(s) by ChronoSync
  • verify state change Data packet(s) (async op)
    • on accept
    • retrieve changes
    • verify change Data packets (async op)
      • on accept
      • apply changes to local catalog via Sync Update Executor
      • on reject
        • assertion failure
    • on reject
      • retry

Files

PublishAdapterClass.jpg (102 KB) PublishAdapterClass.jpg Chengyu Fan, 04/29/2015 02:41 PM
Actions #1

Updated by Anonymous over 9 years ago

  • Blocked by Task #2611: Implement Sync Update Executor added
Actions #2

Updated by Chengyu Fan over 9 years ago

The attachment is the UML diagram for PublishAdapter (the current implementation for the publication process).

I use PublishAdapter for the sync update, because

  • the ChronoSync requires callback function to process the updates and validator when applications use the ChronoSync library, and the callback's job is to decide whether to fetch the listed missing data, I think a function is good enough to do the job;
  • the publishAdapter is tightly associated with the "sync processor", e.g., when the PublishAdapter fetches the data and verify it, it injects the data into the local DB, and then needs to notify other sync nodes by publishing it over ChronoSync;
  • for the Sync Update Executor, I'm not sure if it should be a separate class, I think its job is the data insertion, and the publishAdapter contains the data insertion as well.

Correct me if I'm wrong.

Actions #3

Updated by Anonymous over 9 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Anonymous over 9 years ago

  • Blocked by deleted (Task #2611: Implement Sync Update Executor)
Actions #5

Updated by susmit shannigrahi over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF