Slide 1

Slide 1 text

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

Slide 2

Slide 2 text

cyclone Alexandre Fiori

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

https://github.com/fiorix/cyclone

Slide 6

Slide 6 text

Server Sent Events (EventSource)

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

var source = new EventSource("/sse/"); source.onmessage = function(e) { console.log(e.data); } http://www.w3.org/TR/eventsource/

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

id: 100532\n retry: 1000\n event: notification\n data: first line\ndata: second line\n\n

Slide 11

Slide 11 text

cyclone + sse = cyclone-sse https://github.com/FZambia/cyclone-sse

Slide 12

Slide 12 text

Async Non-blocking Broadcast SSE polyfill Long-polling HTTP Redis AMQP Last-Event-Id Dom Exception 18 Nginx

Slide 13

Slide 13 text

[ (u'cats', 946), (u'extras', 899), (u'dogs', 864), (u'base', 877), (u'general', 3586) ]

Slide 14

Slide 14 text

No content