Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SHARE Notification Service Development

SHARE
October 13, 2014

SHARE Notification Service Development

An update from the Center for Open Science for the SHARE Fall Meeting 2014.

SHARE

October 13, 2014
Tweet

More Decks by SHARE

Other Decks in Education

Transcript

  1. COS-SHARE Developer Alumni Casey Rollins Erica Baranski Faye Huynh Lauren

    Revere Ginny Huang Michelle Yao Peter Fan Saman Ehsan Xander Herrick
  2. GET https://frogworld. com/api/frogs Request Response [ { name: Kermit, color:

    green, type: felt }, { name: Travis, color: green, type: tree } ]
  3. POST https://osf.io/api/share Request Response { title: Easy Being Green?, contributors:

    [ Kermit, Travis ], source: frogworld, id: 10.100/frogworld.102 } Success
  4. Resource 1 Resource 2 { title: Easy Being Green?, contributors:

    [ Kermit, Travis ], source: frogworld, id: 10.100/frogworld.102 } { title: Easy Being Green?, contributors: [ Kermit, Travis ], origin: frogworld, id: 10.100/frogworld.102, description: Exploring greenness. }
  5. Resource 1 Resource 2 { title: Easy Being Green?, contributors:

    [ Kermit, Travis ], source: frogworld, id: 10.100/frogworld.102 } { name: Easy Being Green?, contributors: [ Frog Scientists Intl, Amphibians United, ], origin: frogworld, doi: 10.100/frogworld.102 }
  6. Resource 1 Resource 2 { title: Easy Being Green?, contributors:

    [ Kermit, Travis ], source: frogworld, id: 10.100/frogworld.102 } { title: Easy Being Green?, source: frogworld, id: 10.100/frogworld.102 }
  7. Resource 1 Resource 2 { title: Easy Being Green?, contributors:

    [ Kermit, Travis ], source: frogworld, id: 10.100/frogworld.102 } { title: Easy Being Green?, contributors: [ No Contributors ], source: frogworld, id: 10.100/frogworld.102 }
  8. Request Response GET http://repository.stcloudstate.edu/do/oai/? verb=ListRecords &metadataPrefix=oai_dc &from=2014-10-02T00:00:00Z <record> <date> …

    </date> <title> … </title> <contributors> <name>...</name> <name>...</name> </contributors> <description> … </description> <id>...</id> </record>
  9. Provider: stcloudstate 11:05 GET stcloud.edu/api/ GET plos.org/api/ GET columbia.edu/api/ GET

    mit.edu/api/ GET vtech.edu/api/ GET dataONE.org/api/ Queue worker server image by RRZEicons
  10. Provider: stcloudstate 11:05 GET stcloud.edu/api/ GET plos.org/api/ GET columbia.edu/api/ GET

    mit.edu/api/ GET vtech.edu/api/ GET dataONE.org/api/ Queue worker worker worker worker server image by RRZEicons
  11. <record> <header> <identifier>oai:repository.stcloudstate.edu:comm_facpubs-1001</identifier> <datestamp>2014-10-01T17:54:11Z</datestamp> </header> <metadata> <oai_dc:dc> <dc:title>The Press as

    an Elite Power Group in Japan</dc:title> <dc:creator>Akhavan-Majid, Roya</dc:creator> <dc:description> A lengthy field study in Japan using interviews and other sources and focusing on the nation's five leading national newspapers and Tokyo's major television stations finds evidence of much overlap between industry and the news media, through interlocking directorships and social club memberships </dc:description> <dc:date>1990-12-01T08:00:00Z</dc:date> <dc:identifier>http://repository.stcloudstate.edu/comm_facpubs/3</dc:identifier> <dc:source>Mass Communication Faculty Publications</dc:source> <dc:publisher>the Repository at St. Cloud State</dc:publisher> <dc:subject>Mass Communication</dc:subject> </oai_dc:dc> </metadata> </record>
  12. { "source": "stcloud", "description": "A lengthy field study in Japan

    using interviews and other sources and focusing on the nation's five leading national newspapers and Tokyo's major television stations finds evidence of much overlap between industry and the news media, through interlocking directorships and social club memberships,", "contributors": { "given": "Roya", "family": "Akhavan-Majid", "middle": "", "email": "" }, "title": "The Press as an Elite Power Group in Japan", "dateCreated": "1970-01-01T00:00:00", "dateUpdated": "2014-10-01T17:54:11+00:00", "tags": [ "mass communication"], "id": { "url": "http://repository.stcloudstate.edu/comm_facpubs/3", "serviceID": "oai:repository.stcloudstate.edu:comm_facpubs-1001", "doi": "" } }
  13. RSS

  14. Today…. Over 20 content providers Robust backend providing: ➢ archive

    of all research release events ➢ monitoring and extensive logging ➢ recovery from service interruptions Solid foundation to enable building of other services like curation and networking of research projects
  15. Today Early 2015 Fall 2015 Beta release Full release 20

    + service providers Robust backend Output formats RSS ResourceSync Search More service providers Complementary data Refined metadata schema and push of content
  16. Elasticsearch RabbitMQ MongoDB/ TokuMX Celery Workers OSF App Servers ScrAPI

    Load Balancers Caching Proxies Raw User Provider Provider Provider Fluentd Elasticsearch Kibana User User
  17. • Reliable ◦ Messages persist ◦ Redundant message storage •

    Scalable ◦ easily clustered • Supported ◦ Most used message broker RabbitMQ
  18. Celery • Asynchronous job execution • Scalable ◦ Allows for

    any number of worker machines • Fault resistant • Large community ◦ Tight integration with RabbitMQ
  19. Fluentd • Most robust log aggregation system • Converts log

    messages to JSON for easy processing • Emphasizes simplicity
  20. Kibana • Nice visualizations • Easy setup • Simple to

    use • Stats at a glance • In depth progress monitoring