Re: [Cppcms-users] Server Sent events and CppCMS
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-08-09 14:51:19
|
I'm really glad that you brought it up because: 1. It is very easy to implement 2. It is supported by most (but IE) browsers 3. It can be easily substituted with long polling if the browser does not support EventSource (like IE) with minimal changes. 4. It does not require changes in HTTP protocol or underlying APIs like FastCGI/SCGI to implement server side events 5. It already defines queuing that is most common case of COMET. 6. In terms of performance in event dispatching it is as fast as WebSockets 7. The only drawback in comparison with WebSockets is that client can't do very fast server notification - but in general client does not have to fire too many events. 8. It does not seems to have two hundred of incompatible versions implemented on different levels by different browsers (such that some of them are not PROXY compatible) as web socket. Bottom line - it seems like a sane and modern approach to modern Comet (unlike WebSockets that you even can't implement over FastCGI) How could I miss such a cook HTML5 feature! Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Barbu Paul - Gheorghe <bar...@gm...> >To: Artyom Beilis <art...@ya...>; cpp...@li... >Sent: Thursday, August 9, 2012 5:36 PM >Subject: Re: [Cppcms-users] Server Sent events and CppCMS > >On 08/09/2012 05:29 PM, Artyom Beilis wrote: >> You know... >> >> The EventStream is so interesting and good concept so I'll write a class that allows >> to handle it easily. It will go to contrib section. > >I had no idea you'll like it so much! >I'm glad you enjoy it. > >-- >Barbu Paul - Gheorghe >Common sense is not so common - Voltaire >Visit My GitHub profile to see my open-source projects - https://github.com/paullik > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |