SlideShare una empresa de Scribd logo
1 de 28
ResourceSync




ResourceSyncis funded by The Sloan Foundation
               ResourceSync – March 6 2012
ResourceSync – WebEx Agenda


Problem Perspective – Herbert Van de Sompel (LANL)

Technical Directions – Robert Sanderson (LANL)

Joining the Effort – Nettie Lagace (NISO)

Q&A




                  ResourceSync – March 6 2012
ResourceSync – Problem Perspective




 Presenter – Herbert Van de Sompel
          ResourceSync – March 6 2012
ResourceSync Core Team


Cornell University & OAI:
   BerhardHaslhofer, Carl Lagoze, Simeon Warner

Old Dominion University & OAI:
   Michael L. Nelson

Los Alamos National Laboratory & OAI:
   Martin Klein, Robert Sanderson, Herbert Van de Sompel

NISO:
   Todd Carpenter, Nettie Lagace, Peter Murray


                 ResourceSync – March 6 2012
ResourceSync Problem

• Consideration:
   • Source (server) A has resources that change over time: they
     get created, modified, deleted, moved, …
   • Destination (servers) X, Y, and Z leverage (some) resources
     of Source A.
• Problem:
   • Destinations want to keep in step with the resource changes
     at Source A: resource synchronization.
• Task of ResourceSync effort:
   • Design an approach for resource synchronization aligned
     with the Web Architecture that has a fair chance of adoption
     by different communities.
       • The approach must scale better than recurrent HTTP
          HEAD/GET on resources.


                    ResourceSync – March 6 2012
ResourceSync Use Cases

• arXiv mirroring.
• Metadata and content transfer from Europeana partners to
  central Europeana hub.
• Synchronization of Linked Data content.
• Recurrently collecting Memento metadata from IIPC web
  archives to central aggregator.
• Keeping up-to-data with resources that reside on a Web server.

• Use cases have different requirements regarding synchronization
  accuracy:
   • Synchronization coverage: perfect …… good enough
   • Synchronization speed:      fast …….…. fast enough




                    ResourceSync – March 6 2012
Web Context

• The context in which resource synchronization will take place is
  the Web.
• Resources considered for synchronization:
   • Are identified by dereference-able URIs.
   • Are cache-able.

=> Caveat: It is understood that resources that require client-side
   processing (e.g. hashbangURIs) cause problems.




                     ResourceSync – March 6 2012
3 Synchronization Needs

• Overall, there are 3 distinct needs regarding resource
  synchronization. All 3 are considered in scope for the effort:

    1. Baseline matching: An approach to allow a Destination that
       wants to start synchronizing with a Source to perform an
       initial catch up – Dump.
    2. Incremental resource synchronization: An approach to allow
       a Destination to remain up-to-date regarding changes at the
       Source.
    3. Audit: An approach to allow checking whether a Destination
       is in sync with a Source – Inventory.




                     ResourceSync – March 6 2012
Change Notification – Content Transfer

• Distinguish between two aspects related to incremental resource
  synchronization:

   2.a. Change notification: An approach to allow a Destination to
      understand that a Source’s resource has changed; and what
      the nature of the change is.
   2.b. Content transfer: An approach to allow a Destination to
      update its holdings to reflect the change the resource
      underwent at the Source.

=> For both, PUSH or PULL approaches are conceivable.




                    ResourceSync – March 6 2012
Selective Synchronization

• There is a need to be able to synchronize with a limited set of a
  Source’s resources: selective synchronization.

    • This leads to the notion of channels for resource
      synchronization.
    • The need for channels is most apparent for resource
      synchronization but may have to be carried through in
      baseline matching and audit.

=> This raises an issue:
    • The definition of channels by the Source is straightforward,
       yet may not meet the Destination’s needs.
    • The definition of channels by a Destination is less
       straightforward.


                     ResourceSync – March 6 2012
Memory

• For robustness, both change notification and content transfer
  may need a memory function to allow for synchronization after a
  Destination has missed updates:

   • Catching up on change notifications - Digests.
   • Catching up on resource versions - Mementos.

  However, it would be beneficial if resource synchronization could
  operate in a memory-less mode in cases where less than perfect
  sync is acceptable.
  An important architectural consideration is where that memory
  should reside: Source, intermediary.




                    ResourceSync – March 6 2012
Changes Only – Entire Resource

• Two approaches for content transfer:

   2.b.1. Synchronization is achieved by transfer of the entire
       resource.
   2.b.2. Synchronization is achieved by transfer of resource
       changes only.

   Focus is on (2.b.1) because of complexities re content-type-
   specific resource segment description and re-assembly
   instructions involved in (2.b.2).
   Focus re (2.b.1) is on content transfer using a PULL, not PUSH,
   approach.




                    ResourceSync – March 6 2012
Event Types

• Event types to be considered for change notifications:

    •   Tier 1:
        • Regarding resources: create ; delete ; update ; new
            dump ; new inventory
        • Regarding channels: removed from channel ; added to
            channel
    •   Tier 2:
        • Regarding resources: move ; copy

    Focus is on Tier 1 and on events pertaining to single resources.
    Tier 2 and consideration of groups of resources (e.g. URI
    templates, URI regex) is postponed.



                     ResourceSync – March 6 2012
Resource Representations

• Resource representations are subject to synchronization:
   • But limited to those that can be requested using protocol
     parameters for the resource’s URI.

=> Caveats:
    • It is understood this causes problems in light of resource
      representation personalization, e.g. geo-dependent
      representations.
    • If the change notification function is provided by 3rd party
      instead of Source, change notifications may be subjective to
      the 3rd parties perspective.




                    ResourceSync – March 6 2012
Discovery

• Several Discovery needs arise:

   • Regarding change notification channels:
      • How to find channels that provide change notifications
        for a given Source Server?
      • How to find information about the nature of the changes
        that are communicated on such channels?
   • Regarding dumps and inventories:
      • Where to obtain the most recent dump?
      • Where to obtain the most recent inventory?
   • Regarding memory:
      • Where to obtain digests?
      • How to access Mementos?


                   ResourceSync – March 6 2012
And Also …

• Authorization: For baseline matching, resource synchronization
  (change notification, content transfer), and audit a distinction
  may be required between Destinations that are authorized or
  unauthorized to perform these functions.

• Embargo: How soon after a resource change are parties allowed
  to know about it, to act upon it?

• Trust in a change notification channel:
   • Can a change notification channel that provides information
      about a given Source Server be trusted?




                     ResourceSync – March 6 2012
ResourceSync – Technical Directions




   Presenter – Robert Sanderson
          ResourceSync – March 6 2012
ResourceSync Architectural Challenges


Major Research Areas:
   1. Initial Baseline Synchronization
       • Retrieve dump of data
   2. Incremental Synchronization
       • Main focus of research
   3. Audit to ensure Consistency
       • Not yet significantly investigated

Incremental Synchronization split into two separate aspects:
    1. Change Notification (CN)
       • Alert that something happened (create,update,delete)
    2. Content Transfer (CT)
       • Transfer of just the change or the full resource


                         ResourceSync – March 6 2012
Incremental Synchronization - Architectures


Trivial Approach:
     • Retrieve every resource and compare to current copy




   • Not scalable: too many wasted, large transactions
   • No way to discover newly created resources




                        ResourceSync – March 6 2012
Incremental Synchronization - Architectures


Theoretically Optimal Solution:
   • Whenever a resource changes, push only the change to only the
      Destinations monitoring the resource




   •   No wasted transactions, only as much data transferred as needed
   •   Newly created resources are discovered
   •   But overly burdens the source! Not economically viable
   •   Q: Sweet point between Trivial and Optimal?


                         ResourceSync – March 6 2012
Incremental Synchronization - Architectures


Trivial Approach plus Conditional GET:
     • Retrieve every resource if it has changed
     • Essentially this is a Change Notification Pull




    • Still not scalable: too many wasted transactions
    • Still no way to discover newly created resources




                           ResourceSync – March 6 2012
Incremental Synchronization - Architectures


Simplest Workable Model:
   • Introduce a Feed of change notifications for all resources
   • Atom, RSS, OAI-PMH, SiteMaps, etc.




    • Significantly reduces wasted transactions
    • Newly created resources are discovered
    • But still not very efficient as don’t know when to pull

                          ResourceSync – March 6 2012
Incremental Synchronization - Architectures


Feed Extension Solution:
   • Continue the Feed paradigm, but introduce aggregating service
      and ping notification to re-pull (simulated push)




   • No wasted transactions, but pull will get already-seen notifications
   • Only advantageous if Source already supports a Feed


                         ResourceSync – March 6 2012
Incremental Synchronization - Architectures


Push Solution:
   • Instead of ping+pull, Source can push the notification




   • No wasted transactions, no wasted data transfer
   • Service maintains subscriber list, not Source
   • Change Notification from Source is easier than a Ping+Feed if no
     feed already, and minimally harder than just a Ping

                         ResourceSync – March 6 2012
Change Notification - Protocols


• Atom PubSubHubbub (PuSH)
• XMPP
   • PubSub extension
   • BoSH (XMPP over HTTP)
• Comet / HTTP Streaming
   • Open an HTTP connection and keep reading from it
   • Bayeux Protocol
• Long Polling
   • Keep HTTP connection open until a message, then reopen
   • BoSH, Bayeux option
• WebSockets
   • NullMQ / ZeroMQ
   • XMPP over WebSockets?


                   ResourceSync – March 6 2012
Change Notification - Messages


• Experiments with “bleep” change notifications, inspired by tweets
   • Text that is writeable & readable by machine and human
   • Simple “resync” language:
      • URIcreated at=“time-of-create”#hashtag$resync
      • URIupdated at=“time-of-update”#hashtag$resync
      • URIdeleted at=“time-of-delete”#hashtag$resync
   • Approach is extensible via creation of new languages for bleeps

   http://megalodon.lanl.gov/dbpedia/data/Paris updated at=“2012-03-
      05T19:54:39Z”
      #dbpedia $resync




                        ResourceSync – March 6 2012
Ongoing Investigations


• Change Notification - XMPP & XMPP PubSub& bleeps
   • LANL
   • Ongoing Experiment with Live DBPedia
• Change Notification - Comet / HTTP Streaming & bleeps
   • ODU
   • Bayeux Protocol via Faye Implementation
• Change Notification - Change Simulator
   • Cornell U
   • Generate configurable change notifications
   • Use as standardized input to different systems for testing
• Baseline Matching & Audit
   • Cornell U



                     ResourceSync – March 6 2012
ResourceSync




ResourceSyncis funded by The Sloan Foundation
               ResourceSync – March 6 2012

Más contenido relacionado

Similar a ResourceSync – Technical Directions for Incremental Synchronization

ResourceSync Tutorial from Open Repositories 2013
ResourceSync Tutorial from Open Repositories 2013ResourceSync Tutorial from Open Repositories 2013
ResourceSync Tutorial from Open Repositories 2013Simeon Warner
 
ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...
ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...
ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...dwestbrook
 
mace15retro-presentation
mace15retro-presentationmace15retro-presentation
mace15retro-presentationJonathan Mace
 
Persistent Identifiers and the Web: The Need for an Unambiguous Mapping
Persistent Identifiers and the Web: The Need for an Unambiguous MappingPersistent Identifiers and the Web: The Need for an Unambiguous Mapping
Persistent Identifiers and the Web: The Need for an Unambiguous MappingHerbert Van de Sompel
 
ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...
ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...
ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...Martin Klein
 
Resource sync overview and real-world use cases for discovery, harvesting, an...
Resource sync overview and real-world use cases for discovery, harvesting, an...Resource sync overview and real-world use cases for discovery, harvesting, an...
Resource sync overview and real-world use cases for discovery, harvesting, an...openminted_eu
 
Managing Data in Microservices
Managing Data in MicroservicesManaging Data in Microservices
Managing Data in MicroservicesRandy Shoup
 
LavaCon 2017 - Connecting Silos With Content Pipelines
LavaCon 2017 - Connecting Silos With Content PipelinesLavaCon 2017 - Connecting Silos With Content Pipelines
LavaCon 2017 - Connecting Silos With Content PipelinesJack Molisani
 
Spca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanSpca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanNCCOMMS
 
Practical large scale migration guidance
Practical large scale migration guidancePractical large scale migration guidance
Practical large scale migration guidanceAndries den Haan
 
UKSG webinar - TERMS revisited: developing the combination of electronic reso...
UKSG webinar - TERMS revisited: developing the combination of electronic reso...UKSG webinar - TERMS revisited: developing the combination of electronic reso...
UKSG webinar - TERMS revisited: developing the combination of electronic reso...UKSG: connecting the knowledge community
 
PALNI Experience Implementing OCLC's WMS
PALNI Experience Implementing OCLC's WMS PALNI Experience Implementing OCLC's WMS
PALNI Experience Implementing OCLC's WMS Kirsten Leonard
 
Developing Infrastructure to Support Closer Collaboration of Aggregators with...
Developing Infrastructure to Support Closer Collaboration of Aggregators with...Developing Infrastructure to Support Closer Collaboration of Aggregators with...
Developing Infrastructure to Support Closer Collaboration of Aggregators with...Nancy Pontika
 
UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...
UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...
UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...UKSG: connecting the knowledge community
 
Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)
Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)
Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)Sascha Wenninger
 
Improving library services with semantic web technology in the realm of repos...
Improving library services with semantic web technology in the realm of repos...Improving library services with semantic web technology in the realm of repos...
Improving library services with semantic web technology in the realm of repos...redsys
 

Similar a ResourceSync – Technical Directions for Incremental Synchronization (20)

ResourceSync - NISO Update Jan 2014
ResourceSync - NISO Update Jan 2014ResourceSync - NISO Update Jan 2014
ResourceSync - NISO Update Jan 2014
 
NISO Forum, Denver, September 24, 2012: ResourceSync: Web-Based Resource Sync...
NISO Forum, Denver, September 24, 2012: ResourceSync: Web-Based Resource Sync...NISO Forum, Denver, September 24, 2012: ResourceSync: Web-Based Resource Sync...
NISO Forum, Denver, September 24, 2012: ResourceSync: Web-Based Resource Sync...
 
ResourceSync Tutorial from Open Repositories 2013
ResourceSync Tutorial from Open Repositories 2013ResourceSync Tutorial from Open Repositories 2013
ResourceSync Tutorial from Open Repositories 2013
 
ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...
ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...
ALA MidWinter 2013 - Electronic Resources Management Interest Group meeting -...
 
mace15retro-presentation
mace15retro-presentationmace15retro-presentation
mace15retro-presentation
 
ResourceSync Tutorial
ResourceSync TutorialResourceSync Tutorial
ResourceSync Tutorial
 
Persistent Identifiers and the Web: The Need for an Unambiguous Mapping
Persistent Identifiers and the Web: The Need for an Unambiguous MappingPersistent Identifiers and the Web: The Need for an Unambiguous Mapping
Persistent Identifiers and the Web: The Need for an Unambiguous Mapping
 
ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...
ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...
ResourceSync - Overview and Real-World Use Cases for Discovery, Harvesting, a...
 
Resource sync overview and real-world use cases for discovery, harvesting, an...
Resource sync overview and real-world use cases for discovery, harvesting, an...Resource sync overview and real-world use cases for discovery, harvesting, an...
Resource sync overview and real-world use cases for discovery, harvesting, an...
 
Managing Data in Microservices
Managing Data in MicroservicesManaging Data in Microservices
Managing Data in Microservices
 
LavaCon 2017 - Connecting Silos With Content Pipelines
LavaCon 2017 - Connecting Silos With Content PipelinesLavaCon 2017 - Connecting Silos With Content Pipelines
LavaCon 2017 - Connecting Silos With Content Pipelines
 
Spca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanSpca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haan
 
Practical large scale migration guidance
Practical large scale migration guidancePractical large scale migration guidance
Practical large scale migration guidance
 
UKSG webinar - TERMS revisited: developing the combination of electronic reso...
UKSG webinar - TERMS revisited: developing the combination of electronic reso...UKSG webinar - TERMS revisited: developing the combination of electronic reso...
UKSG webinar - TERMS revisited: developing the combination of electronic reso...
 
PALNI Experience Implementing OCLC's WMS
PALNI Experience Implementing OCLC's WMS PALNI Experience Implementing OCLC's WMS
PALNI Experience Implementing OCLC's WMS
 
ResourceSync tutorial OAI8
ResourceSync tutorial OAI8ResourceSync tutorial OAI8
ResourceSync tutorial OAI8
 
Developing Infrastructure to Support Closer Collaboration of Aggregators with...
Developing Infrastructure to Support Closer Collaboration of Aggregators with...Developing Infrastructure to Support Closer Collaboration of Aggregators with...
Developing Infrastructure to Support Closer Collaboration of Aggregators with...
 
UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...
UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...
UKSG 2018 Breakout - TERMS redefined: developing the combination of electroni...
 
Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)
Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)
Navigating SAP’s Integration Options (Mastering SAP Technologies 2013)
 
Improving library services with semantic web technology in the realm of repos...
Improving library services with semantic web technology in the realm of repos...Improving library services with semantic web technology in the realm of repos...
Improving library services with semantic web technology in the realm of repos...
 

Más de National Information Standards Organization (NISO)

Más de National Information Standards Organization (NISO) (20)

Bazargan "NISO Webinar, Sustainability in Publishing"
Bazargan "NISO Webinar, Sustainability in Publishing"Bazargan "NISO Webinar, Sustainability in Publishing"
Bazargan "NISO Webinar, Sustainability in Publishing"
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Compton "NISO Webinar, Sustainability in Publishing"
Compton "NISO Webinar, Sustainability in Publishing"Compton "NISO Webinar, Sustainability in Publishing"
Compton "NISO Webinar, Sustainability in Publishing"
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Hazen, Morse, and Varnum "Spring 2024 ODI Conformance Statement Workshop for ...
Hazen, Morse, and Varnum "Spring 2024 ODI Conformance Statement Workshop for ...Hazen, Morse, and Varnum "Spring 2024 ODI Conformance Statement Workshop for ...
Hazen, Morse, and Varnum "Spring 2024 ODI Conformance Statement Workshop for ...
 
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
 
Mattingly "Text and Data Mining: Building Data Driven Applications"
Mattingly "Text and Data Mining: Building Data Driven Applications"Mattingly "Text and Data Mining: Building Data Driven Applications"
Mattingly "Text and Data Mining: Building Data Driven Applications"
 
Mattingly "Text and Data Mining: Searching Vectors"
Mattingly "Text and Data Mining: Searching Vectors"Mattingly "Text and Data Mining: Searching Vectors"
Mattingly "Text and Data Mining: Searching Vectors"
 
Mattingly "Text Mining Techniques"
Mattingly "Text Mining Techniques"Mattingly "Text Mining Techniques"
Mattingly "Text Mining Techniques"
 
Mattingly "Text Processing for Library Data: Representing Text as Data"
Mattingly "Text Processing for Library Data: Representing Text as Data"Mattingly "Text Processing for Library Data: Representing Text as Data"
Mattingly "Text Processing for Library Data: Representing Text as Data"
 
Carpenter "Designing NISO's New Strategic Plan: 2023-2026"
Carpenter "Designing NISO's New Strategic Plan: 2023-2026"Carpenter "Designing NISO's New Strategic Plan: 2023-2026"
Carpenter "Designing NISO's New Strategic Plan: 2023-2026"
 
Ross and Clark "Strategic Planning"
Ross and Clark "Strategic Planning"Ross and Clark "Strategic Planning"
Ross and Clark "Strategic Planning"
 
Mattingly "Data Mining Techniques: Classification and Clustering"
Mattingly "Data Mining Techniques: Classification and Clustering"Mattingly "Data Mining Techniques: Classification and Clustering"
Mattingly "Data Mining Techniques: Classification and Clustering"
 
Straza "Global collaboration towards equitable and open science: UNESCO Recom...
Straza "Global collaboration towards equitable and open science: UNESCO Recom...Straza "Global collaboration towards equitable and open science: UNESCO Recom...
Straza "Global collaboration towards equitable and open science: UNESCO Recom...
 
Lippincott "Beyond access: Accelerating discovery and increasing trust throug...
Lippincott "Beyond access: Accelerating discovery and increasing trust throug...Lippincott "Beyond access: Accelerating discovery and increasing trust throug...
Lippincott "Beyond access: Accelerating discovery and increasing trust throug...
 
Kriegsman "Integrating Open and Equitable Research into Open Science"
Kriegsman "Integrating Open and Equitable Research into Open Science"Kriegsman "Integrating Open and Equitable Research into Open Science"
Kriegsman "Integrating Open and Equitable Research into Open Science"
 
Mattingly "Ethics and Cleaning Data"
Mattingly "Ethics and Cleaning Data"Mattingly "Ethics and Cleaning Data"
Mattingly "Ethics and Cleaning Data"
 
Mercado-Lara "Open & Equitable Program"
Mercado-Lara "Open & Equitable Program"Mercado-Lara "Open & Equitable Program"
Mercado-Lara "Open & Equitable Program"
 
Ratner "Enhancing Open Science: Assessing Tools & Charting Progress"
Ratner "Enhancing Open Science: Assessing Tools & Charting Progress"Ratner "Enhancing Open Science: Assessing Tools & Charting Progress"
Ratner "Enhancing Open Science: Assessing Tools & Charting Progress"
 
Pfeiffer "Enhancing Open Science: Assessing Tools & Charting Progress"
Pfeiffer "Enhancing Open Science: Assessing Tools & Charting Progress"Pfeiffer "Enhancing Open Science: Assessing Tools & Charting Progress"
Pfeiffer "Enhancing Open Science: Assessing Tools & Charting Progress"
 

Último

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Último (20)

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

ResourceSync – Technical Directions for Incremental Synchronization

  • 1. ResourceSync ResourceSyncis funded by The Sloan Foundation ResourceSync – March 6 2012
  • 2. ResourceSync – WebEx Agenda Problem Perspective – Herbert Van de Sompel (LANL) Technical Directions – Robert Sanderson (LANL) Joining the Effort – Nettie Lagace (NISO) Q&A ResourceSync – March 6 2012
  • 3. ResourceSync – Problem Perspective Presenter – Herbert Van de Sompel ResourceSync – March 6 2012
  • 4. ResourceSync Core Team Cornell University & OAI: BerhardHaslhofer, Carl Lagoze, Simeon Warner Old Dominion University & OAI: Michael L. Nelson Los Alamos National Laboratory & OAI: Martin Klein, Robert Sanderson, Herbert Van de Sompel NISO: Todd Carpenter, Nettie Lagace, Peter Murray ResourceSync – March 6 2012
  • 5. ResourceSync Problem • Consideration: • Source (server) A has resources that change over time: they get created, modified, deleted, moved, … • Destination (servers) X, Y, and Z leverage (some) resources of Source A. • Problem: • Destinations want to keep in step with the resource changes at Source A: resource synchronization. • Task of ResourceSync effort: • Design an approach for resource synchronization aligned with the Web Architecture that has a fair chance of adoption by different communities. • The approach must scale better than recurrent HTTP HEAD/GET on resources. ResourceSync – March 6 2012
  • 6. ResourceSync Use Cases • arXiv mirroring. • Metadata and content transfer from Europeana partners to central Europeana hub. • Synchronization of Linked Data content. • Recurrently collecting Memento metadata from IIPC web archives to central aggregator. • Keeping up-to-data with resources that reside on a Web server. • Use cases have different requirements regarding synchronization accuracy: • Synchronization coverage: perfect …… good enough • Synchronization speed: fast …….…. fast enough ResourceSync – March 6 2012
  • 7. Web Context • The context in which resource synchronization will take place is the Web. • Resources considered for synchronization: • Are identified by dereference-able URIs. • Are cache-able. => Caveat: It is understood that resources that require client-side processing (e.g. hashbangURIs) cause problems. ResourceSync – March 6 2012
  • 8. 3 Synchronization Needs • Overall, there are 3 distinct needs regarding resource synchronization. All 3 are considered in scope for the effort: 1. Baseline matching: An approach to allow a Destination that wants to start synchronizing with a Source to perform an initial catch up – Dump. 2. Incremental resource synchronization: An approach to allow a Destination to remain up-to-date regarding changes at the Source. 3. Audit: An approach to allow checking whether a Destination is in sync with a Source – Inventory. ResourceSync – March 6 2012
  • 9. Change Notification – Content Transfer • Distinguish between two aspects related to incremental resource synchronization: 2.a. Change notification: An approach to allow a Destination to understand that a Source’s resource has changed; and what the nature of the change is. 2.b. Content transfer: An approach to allow a Destination to update its holdings to reflect the change the resource underwent at the Source. => For both, PUSH or PULL approaches are conceivable. ResourceSync – March 6 2012
  • 10. Selective Synchronization • There is a need to be able to synchronize with a limited set of a Source’s resources: selective synchronization. • This leads to the notion of channels for resource synchronization. • The need for channels is most apparent for resource synchronization but may have to be carried through in baseline matching and audit. => This raises an issue: • The definition of channels by the Source is straightforward, yet may not meet the Destination’s needs. • The definition of channels by a Destination is less straightforward. ResourceSync – March 6 2012
  • 11. Memory • For robustness, both change notification and content transfer may need a memory function to allow for synchronization after a Destination has missed updates: • Catching up on change notifications - Digests. • Catching up on resource versions - Mementos. However, it would be beneficial if resource synchronization could operate in a memory-less mode in cases where less than perfect sync is acceptable. An important architectural consideration is where that memory should reside: Source, intermediary. ResourceSync – March 6 2012
  • 12. Changes Only – Entire Resource • Two approaches for content transfer: 2.b.1. Synchronization is achieved by transfer of the entire resource. 2.b.2. Synchronization is achieved by transfer of resource changes only. Focus is on (2.b.1) because of complexities re content-type- specific resource segment description and re-assembly instructions involved in (2.b.2). Focus re (2.b.1) is on content transfer using a PULL, not PUSH, approach. ResourceSync – March 6 2012
  • 13. Event Types • Event types to be considered for change notifications: • Tier 1: • Regarding resources: create ; delete ; update ; new dump ; new inventory • Regarding channels: removed from channel ; added to channel • Tier 2: • Regarding resources: move ; copy Focus is on Tier 1 and on events pertaining to single resources. Tier 2 and consideration of groups of resources (e.g. URI templates, URI regex) is postponed. ResourceSync – March 6 2012
  • 14. Resource Representations • Resource representations are subject to synchronization: • But limited to those that can be requested using protocol parameters for the resource’s URI. => Caveats: • It is understood this causes problems in light of resource representation personalization, e.g. geo-dependent representations. • If the change notification function is provided by 3rd party instead of Source, change notifications may be subjective to the 3rd parties perspective. ResourceSync – March 6 2012
  • 15. Discovery • Several Discovery needs arise: • Regarding change notification channels: • How to find channels that provide change notifications for a given Source Server? • How to find information about the nature of the changes that are communicated on such channels? • Regarding dumps and inventories: • Where to obtain the most recent dump? • Where to obtain the most recent inventory? • Regarding memory: • Where to obtain digests? • How to access Mementos? ResourceSync – March 6 2012
  • 16. And Also … • Authorization: For baseline matching, resource synchronization (change notification, content transfer), and audit a distinction may be required between Destinations that are authorized or unauthorized to perform these functions. • Embargo: How soon after a resource change are parties allowed to know about it, to act upon it? • Trust in a change notification channel: • Can a change notification channel that provides information about a given Source Server be trusted? ResourceSync – March 6 2012
  • 17. ResourceSync – Technical Directions Presenter – Robert Sanderson ResourceSync – March 6 2012
  • 18. ResourceSync Architectural Challenges Major Research Areas: 1. Initial Baseline Synchronization • Retrieve dump of data 2. Incremental Synchronization • Main focus of research 3. Audit to ensure Consistency • Not yet significantly investigated Incremental Synchronization split into two separate aspects: 1. Change Notification (CN) • Alert that something happened (create,update,delete) 2. Content Transfer (CT) • Transfer of just the change or the full resource ResourceSync – March 6 2012
  • 19. Incremental Synchronization - Architectures Trivial Approach: • Retrieve every resource and compare to current copy • Not scalable: too many wasted, large transactions • No way to discover newly created resources ResourceSync – March 6 2012
  • 20. Incremental Synchronization - Architectures Theoretically Optimal Solution: • Whenever a resource changes, push only the change to only the Destinations monitoring the resource • No wasted transactions, only as much data transferred as needed • Newly created resources are discovered • But overly burdens the source! Not economically viable • Q: Sweet point between Trivial and Optimal? ResourceSync – March 6 2012
  • 21. Incremental Synchronization - Architectures Trivial Approach plus Conditional GET: • Retrieve every resource if it has changed • Essentially this is a Change Notification Pull • Still not scalable: too many wasted transactions • Still no way to discover newly created resources ResourceSync – March 6 2012
  • 22. Incremental Synchronization - Architectures Simplest Workable Model: • Introduce a Feed of change notifications for all resources • Atom, RSS, OAI-PMH, SiteMaps, etc. • Significantly reduces wasted transactions • Newly created resources are discovered • But still not very efficient as don’t know when to pull ResourceSync – March 6 2012
  • 23. Incremental Synchronization - Architectures Feed Extension Solution: • Continue the Feed paradigm, but introduce aggregating service and ping notification to re-pull (simulated push) • No wasted transactions, but pull will get already-seen notifications • Only advantageous if Source already supports a Feed ResourceSync – March 6 2012
  • 24. Incremental Synchronization - Architectures Push Solution: • Instead of ping+pull, Source can push the notification • No wasted transactions, no wasted data transfer • Service maintains subscriber list, not Source • Change Notification from Source is easier than a Ping+Feed if no feed already, and minimally harder than just a Ping ResourceSync – March 6 2012
  • 25. Change Notification - Protocols • Atom PubSubHubbub (PuSH) • XMPP • PubSub extension • BoSH (XMPP over HTTP) • Comet / HTTP Streaming • Open an HTTP connection and keep reading from it • Bayeux Protocol • Long Polling • Keep HTTP connection open until a message, then reopen • BoSH, Bayeux option • WebSockets • NullMQ / ZeroMQ • XMPP over WebSockets? ResourceSync – March 6 2012
  • 26. Change Notification - Messages • Experiments with “bleep” change notifications, inspired by tweets • Text that is writeable & readable by machine and human • Simple “resync” language: • URIcreated at=“time-of-create”#hashtag$resync • URIupdated at=“time-of-update”#hashtag$resync • URIdeleted at=“time-of-delete”#hashtag$resync • Approach is extensible via creation of new languages for bleeps http://megalodon.lanl.gov/dbpedia/data/Paris updated at=“2012-03- 05T19:54:39Z” #dbpedia $resync ResourceSync – March 6 2012
  • 27. Ongoing Investigations • Change Notification - XMPP & XMPP PubSub& bleeps • LANL • Ongoing Experiment with Live DBPedia • Change Notification - Comet / HTTP Streaming & bleeps • ODU • Bayeux Protocol via Faye Implementation • Change Notification - Change Simulator • Cornell U • Generate configurable change notifications • Use as standardized input to different systems for testing • Baseline Matching & Audit • Cornell U ResourceSync – March 6 2012
  • 28. ResourceSync ResourceSyncis funded by The Sloan Foundation ResourceSync – March 6 2012