SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 30 day free trial to unlock unlimited reading.
Streaming Tango Controls events to HTTP using Server-Sent Events
Tango-Controls is an open source framework for building SCADA systems mainly used at big research facilities such as DESY, Hamburg. Tango Controls emits events related to hardware state changes, archive events etc. In this talk we cover the topic of how to export these events from Tango Controls protocol into HTTP via Server-Sent Events. Implementation details of server and client side will be given.
Tango-Controls is an open source framework for building SCADA systems mainly used at big research facilities such as DESY, Hamburg. Tango Controls emits events related to hardware state changes, archive events etc. In this talk we cover the topic of how to export these events from Tango Controls protocol into HTTP via Server-Sent Events. Implementation details of server and client side will be given.
13.
Igor Khokhriakov
CORS!!!CORS!!!
Cross-Origin Request SharingCross-Origin Request Sharing
14.
Igor Khokhriakov
https://host:8443/tango/rest/subscriptionshttps://host:8443/tango/rest/subscriptions
=>=>
https://host:8443/tango/subscriptionshttps://host:8443/tango/subscriptions
hence Tango REST API v1.1hence Tango REST API v1.1
15.
Igor Khokhriakov
Real life video...Real life video...
16.
Igor Khokhriakov
Thank you!Thank you!
QuestionsQuestions??
Conventional HTTP client request based approach is not enough as Tango send events -> SSE is required
TangoRestServer provides Subscriptions API Subscription = event-stream Subscription has event listeners (event type) EventListeners are dynamic (add/remove), Subscription is bound to a session (or crash)
0 likes
Be the first to like this
Views
Total views
154
On SlideShare
0
From Embeds
0
Number of Embeds
0
You have now unlocked unlimited access to 20M+ documents!
Unlimited Reading
Learn faster and smarter from top experts
Unlimited Downloading
Download to take your learnings offline and on the go
You also get free access to Scribd!
Instant access to millions of ebooks, audiobooks, magazines, podcasts and more.
Read and listen offline with any device.
Free access to premium services like Tuneln, Mubi and more.