Presentation is loading. Please wait.

Presentation is loading. Please wait.

15 May 2006 IVOA - Victoria: VOEvent 11 Jabber/XMPP Matthew J. Graham Caltech T HE US N ATIONAL V IRTUAL O BSERVATORY.

Similar presentations


Presentation on theme: "15 May 2006 IVOA - Victoria: VOEvent 11 Jabber/XMPP Matthew J. Graham Caltech T HE US N ATIONAL V IRTUAL O BSERVATORY."— Presentation transcript:

1 15 May 2006 IVOA - Victoria: VOEvent 11 Jabber/XMPP Matthew J. Graham Caltech T HE US N ATIONAL V IRTUAL O BSERVATORY

2 15 May 2006 IVOA - Victoria: VOEvent 12 Concerns with TCPV Performance: expect hundreds of constant TCP connections while sending imalives, acks + many events Security: events are sent as plain text Errors: integrity of event notices rely on underlying TCP protocol Lost events: events are currently being published via a single server Citation: publication timestamps?

3 15 May 2006 IVOA - Victoria: VOEvent 13 Jabber/XMPP - I An open (RFC 3920/3921), secure, decentralized, and extensible IM service Large user base: millions, Google Talk Connect to other protocols (AIM, MSN, ICQ, Email, RSS) Client-server architecture, aware of user presence: –Presence connected (listening, ignoring), not connected, do not disturb –Two one-way XML streams –Messages sent as XML snippets (stanzas) –Each user unique ID node@domain/resource

4 15 May 2006 IVOA - Victoria: VOEvent 14 Jabber/XMPP - II ~80 Jabber clients and 15 server code library sources (most GPL) in Java, C#, PHP, C, C++, Python, Perl, etc. Plain IM lacks subscription (not suitable for VOEvents) Jabber Enhancement Proposals (JEPs) Increase functionality via: message logging, jabber to email, HTTP-polling, HTTP-binding, service discovery, file transfer, etc. Publish/Subscribe (JEP-60): Broadcasting of event notification for authorized subscribers

5 15 May 2006 IVOA - Victoria: VOEvent 15 PubSub Publishers send data to pubnode Servers can keep record of sent events Undelivered events remain on server Affiliations to, subscribe, publish, purge items, configure a node, delete a node Users can be publishers, subscribers or blocked Message nodes can be discovered by clients Subscription can be open, list, authorized Message nodes can be configured with persistant items, deletion, retraction, change notification Two servers with PubSub support : ejabberd (erlang) and wildfire (Java)

6 15 May 2006 IVOA - Victoria: VOEvent 16 Is XMPP better than TCPV? - I Performance –Jabber servers can cope with thousands of concurrent users sending instant messages –Caltech server running 7 months without change: update without downtime Security –Core protocols include end-to-end signing and object encryption via TLS and SSL Errors –Stream errors (such as,,,, ) handling in XMPP core (but errors within message xml possible)

7 15 May 2006 IVOA - Victoria: VOEvent 17 Is XMPP better than TCPV? - II Lost events –Both post events to multiple servers (need brokers) Citation –Messages have timestamps on the server


Download ppt "15 May 2006 IVOA - Victoria: VOEvent 11 Jabber/XMPP Matthew J. Graham Caltech T HE US N ATIONAL V IRTUAL O BSERVATORY."

Similar presentations


Ads by Google