The only difference is that basic chat demonstrates the technology and its concepts - i.e.
asynchronous web programming in general, while json-rpc chat demonstrates how
to write asynchronous JSON-RPC applications...
Both use long polling.
If you are looking for a performance? Tale a look on the Event-Stream I had published recently
if it very fast and efficient for modern browsers and allows fallback to long-polling for older ones
Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.com/
CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
>________________________________
> From: Sergey <dan...@gm...>
>To: cpp...@li...
>Sent: Tuesday, September 11, 2012 10:08 PM
>Subject: [Cppcms-users] What is difference between json_rpc_chat and chat (examples)
>
>Artoym please tell me what is difference? Who faster and etc..
>
>
>------------------------------------------------------------------------------
>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
>
>
> |