0

Web sockets

asked 2009-12-12 05:03:23 +0800

ffdbox gravatar image ffdbox
12 1

Hello all, anyone knows if zk will support web sockets of html5 in the future?
Thankss.

delete flag offensive retag edit

7 Replies

Sort by ยป oldest newest

answered 2009-12-29 19:36:59 +0800

PeterKuo gravatar image PeterKuo
481 2

updated 2009-12-29 19:38:21 +0800

It's just a matter of time.

Especially it's open source and aimed to be the leading framework of ajax.

link publish delete flag offensive edit

answered 2011-08-16 05:00:46 +0800

creata87 gravatar image creata87
197 2

..any news about web sockets in zk? are they currently supported?

link publish delete flag offensive edit

answered 2013-07-14 07:48:37 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

Just tried a POC of this

demo flash

ZK ServerPush with WebSocket

Full project at github

ServerPushWithWebSocket

article at my blog (can be ignored, just list contents in one page)

ZK: Server Push with WebSocket

link publish delete flag offensive edit

answered 2013-10-06 12:02:26 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

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).

link publish delete flag offensive edit

answered 2016-04-26 10:39:04 +0800

claudioveryant gravatar image claudioveryant
9 1

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

link publish delete flag offensive edit
link publish delete flag offensive edit

answered 2016-05-10 13:39:09 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2016-05-10 13:40:07 +0800

You can self integrate websocket. Have a look on the sample video (click on 'video capture').

http://www.oxitec.de/oxitec/pages/products/zkboost/addons/mod-websocket-admin-dashboard/zkboostmodwebsocketadmindashboard.zul

best Stephan

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-12-12 05:03:23 +0800

Seen: 1,844 times

Last updated: May 10 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More