Presentation is loading. Please wait.

Presentation is loading. Please wait.

Vanilla TCP? Alasdair Allan. IVOA Interop Meeting, May 2006 1 Why TCP? Traditional and still the best Because we’ve always done it that way –not always.

Similar presentations


Presentation on theme: "Vanilla TCP? Alasdair Allan. IVOA Interop Meeting, May 2006 1 Why TCP? Traditional and still the best Because we’ve always done it that way –not always."— Presentation transcript:

1 Vanilla TCP? Alasdair Allan

2 IVOA Interop Meeting, May 2006 1 Why TCP? Traditional and still the best Because we’ve always done it that way –not always a bad thing –everyone knows how Minimum buy-in for users Minimum buy-in for publishers Fast, little if any overhead

3 IVOA Interop Meeting, May 2006 2 User buy-in… 92 lines of Perl, including; –ACK messages –IAMALIVE messages –error handling –re-connection –message parsing

4 IVOA Interop Meeting, May 2006 3 Publisher buy-in… 130 lines of Perl, including; –ACK messages –IAMALIVE messages –error handling –re-connection –multiple clients

5 IVOA Interop Meeting, May 2006 4 What we’ve done so far? Convenience layer and parser (Perl, C++ & Java?) –building common cases (including GCN) –http://voevent.sourceforge.net/ Prototype event network live and on sky Limited (hard-wired logic) brokering –using Archiving and persistent storage RSS test feed(s) –programmatic –human readable?

6 IVOA Interop Meeting, May 2006 5 TCP(V) prototypes VOEvent over “vanilla” TCP/IP Acknowledgement of passed message Basic health checks on the endpoints

7 IVOA Interop Meeting, May 2006 6 An architecture diagram showing; publishers, subscribers, filters (e.g. relays) and repositories, along with the more complicated aggregators and brokers. “Atomic” services Publisher Relay Repository Subscriber Listener Author Listener

8 IVOA Interop Meeting, May 2006 7 TCP(V) client/server Subscriber (client) opens a socket connection to a a Publisher (server) and listens for events on that port. Subscriber (client) will send an acknowledgement to the Publisher (server) on receipt of an event. Publisher (server) will periodically send an “iamalive” packet to all Subscribers (clients). Subscribers (clients) will reply with an “iamalive”.

9 IVOA Interop Meeting, May 2006 8 Event flow Publishers Broker Subscribers Repository # #. # #.

10 IVOA Interop Meeting, May 2006 9 VOEvent Network Caltech SDSS SNe U Wash/Stanford Pairitel Berkeley Palomar P60 Caltech Palomar-Quest Caltech RAPTOR x 8 LANL Liverpool Telescope La Palma Faulkes North Hawaii Faulkes South Australia OGLE III Las Campanas JAC Hawaii Exeter VOEvent Other Event Flow Microlensing Survey Exeter UKIRT Hawaii SkyDOT (database) Publisher Filter Repository LANL SWIFT etc GCN NASA GSFC GCN-2 NASA GSFC Backbone Data Mining Exeter NOAO Surveys CTIO/KPNO Tools/Services Community Key Roles Author Subscriber ULTRACAM La Palma SuperNova Survey Exeter

11 IVOA Interop Meeting, May 2006 10 Alternative transport RSS 2.0 eSTAR –SOAP –Plastic (over XMLRPC) Caltech –Jabber/XMPP NOAO –Java Messaging –Mule

12 IVOA Interop Meeting, May 2006 11 RSS 2.0 Parallel (on the side?) development to TCP(V) The vanilla of the Web 2.0 era What RSS is not, –a transport layer –a protocol for document exchange It’s “just” a document format –envelope for VOEvent

13 IVOA Interop Meeting, May 2006 12 RSS feed VOEvent GCN Notices en RSS feed for GCN notices http://voeventnet.caltech.edu/GCN.html MILAGRO_Source trigger 886-1 Possible GRB The event time is 2005-12-01T16:24:15 UT. Location RA 232.1248 Dec 62.9797 (J2000) Fri, 02 Dec 2005 16:09:52 PST http://voeventnet.caltech.edu/Notices/ivo_GCN_MILAGRO_58_886-1_2005-12-01T16:24:15.xml Scott Barthelmy GCN scott@milkyway.gsfc.nasa.gov http://gcn.gsfc.nasa.gov/gcn3_archive.html.

14 IVOA Interop Meeting, May 2006 13 RSS feeds eSTAR native feed (includes OGLE III feed) http://www.estar.org.uk/voevent/eSTAR/eSTAR.rdf RAPTOR/TALONS feed (includes GCN translation) http://www.estar.org.uk/voevent/RAPTOR/RAPTOR.rdf Caltech feed (re-published GCN translation) http://www.estar.org.uk/voevent/Caltech/Caltech.rdf See the eSTAR website http://www.estar.org.uk/ for more information.http://www.estar.org.uk/

15 IVOA Interop Meeting, May 2006 14 Where are we going? Event brokering (aggregators) –time critical –non-time critical (data mining?) Event archiving and persistent storage –REST (and SOAP) interfaces –persistence of data products Search service –REST interface Authentication –signatures

16 IVOA Interop Meeting, May 2006 15 We should not mandate transport! We should not tie our document or protocol standards to a single mode of transport; –bad design decision –RFC 1149, see http://www.blug.linux.no/rfc1149/http://www.blug.linux.no/rfc1149/ –longer term problems

17 IVOA Interop Meeting, May 2006 16 Cathedral and the Bazaar Design by committee –cathedrals –slums Design by dictate – lottery Design by market pressure –betamax vs. VHS –market pressure

18 IVOA Interop Meeting, May 2006 17 Conclusions Probably need a backbone protocol Probably going to be TCP(V) –low buy-in for both publishers and subscribers –fully supported across different platforms –momentum is in that direction But other transport mechanisms are needed

19 IVOA Interop Meeting, May 2006 18 The 2nd HTN Workshop July 23-26, 2006 in the Institut für Astrophysik, Göttingen, Germany Aims Establish the standards for interoperability between robotic telescope networks. Work towards the establishment of an e-market for the exchange of telescope time. Establish the standards for interoperability with the Virtual Observatory (VO) for event notification. See http://www.telescope-networks.org/ for details.http://www.telescope-networks.org/


Download ppt "Vanilla TCP? Alasdair Allan. IVOA Interop Meeting, May 2006 1 Why TCP? Traditional and still the best Because we’ve always done it that way –not always."

Similar presentations


Ads by Google