Sontek, you are right... I did spent too much time already trying to make this work using SSE as I used to do with websockets!
It appears, I have no easy way to stop the stream from server side, the browser keeps hammering the server whatever I am trying. Plus debugging SSE is painfull, you cannot inspect response from the browser. Support for SSE in browsers is also horrible.
On the other hand, there isn't any much options left with pyramid integration (either with sockjs or
socket.io)... Most of projects seemed to be abandoned...
Sontek, what is the latest stack you have been using for realtime pushes?