Cyclone + Eventsource (realtime push-сообщения)

1,388 views

Published on

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,388
On SlideShare
0
From Embeds
0
Number of Embeds
182
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Cyclone + Eventsource (realtime push-сообщения)

  1. 1. Cyclone + Eventsource realtime push-сообщения
  2. 2. cycloneAlexandre Fiori
  3. 3. https://github.com/fiorix/cyclone
  4. 4. Server Sent Events (EventSource)
  5. 5. http://www.w3.org/TR/eventsource/var source = new EventSource("/sse/");source.onmessage = function(e) { console.log(e.data);}
  6. 6. id: 100532nretry: 1000nevent: notificationndata: first linendata: second linenn
  7. 7. cyclone + sse = cyclone-ssehttps://github.com/FZambia/cyclone-sse
  8. 8. Async Non-blockingBroadcast SSE polyfillLong-polling HTTP RedisAMQP Last-Event-IdDom Exception 18 Nginx
  9. 9. [ (ucats, 946), (uextras, 899), (udogs, 864), (ubase, 877), (ugeneral, 3586)]

×