-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello all, anyone knows if zk will support web sockets of html5 in the future?
Thankss.
It's just a matter of time.
Especially it's open source and aimed to be the leading framework of ajax.
Just tried a POC of this
demo flash
Full project at github
article at my blog (can be ignored, just list contents in one page)
I've done another implementation and a simple benchmark comparison (compare with ZK Comet),
Integrate
Article
http://ben-bai.blogspot.tw/2013/10/zk-serverpush-with-websocket-rework.html
Project at github
https://github.com/benbai123/ZK_Practice/tree/master/Integrate/WebSocket/ServerPushWithWebSocket
Performance testing
Article
http://ben-bai.blogspot.tw/2013/10/websocketserverpush-vs-zkcomet.html
Folder at github
https://github.com/benbai123/ZKPractice/tree/master/General/PerformanceTesting/WebSocketServerPushvsZKComet
Conclution
WebSocket do double (or more) work with 1/4 ~ 1/3 CPU Usage and double Memory Consumption (compare with ZK Comet).
Sorry to get in in such an old post... Are there any news about this? I was also thinking that WebSockets could bring huge performance improvements, especially on high latency networks. My first analysis on performance showed that I have many small (few hundred bytes) packet traffic between server and client, but each takes over 170 msec if my server is overseas. This leads to poor performance. Websocket should help with this, as the overhead of establishing an http connection for each request could be avoided.
Thanks
You can self integrate websocket. Have a look on the sample video (click on 'video capture').
best Stephan
Asked: 2009-12-12 05:03:23 +0800
Seen: 1,851 times
Last updated: May 10 '16