Loading...

jquery-dev@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[jquery-dev] Re: WebSockets is very faster than xhr. I hope to support of jQuery for WebSockets. tato Mon Jan 18 09:00:23 2010

Well,  I $.ws.send("my hope into the future")  :-)

Still, It's ridiculously fast.
more asynchronous javascript + sockets
It's so just Cloud.

On Jan 19, 12:37 am, Sidney San Martín <[EMAIL PROTECTED]> wrote:
> IIRC the jQuery team said that Web Socket features aren't being
> considered right now because very few browsers support them, and
> equally few website take or plan to take advantage of them in the near
> future. It's not worth the space to put support in every copy of
> jQuery.
>
> jQuery is also most useful when browsers' APIs are lacking or
> inconsistent. I don't think we know yet if Web Sockets even need its
> help.
>
> If they do, you or someone else should write a plugin, and if the Web
> Sockets situation changes, support will be baked in.
>
> On Mon, Jan 18, 2010 at 6:01 AM, tato <[EMAIL PROTECTED]> wrote:
> > WebSockets is very faster than xhr. I think jQuery had better support
> > WebSockets in Core.
>
> > The following Samples of text mining are speed comparison, WS vs  XHR.
> > at my Office(same bloga.jp), the speed difference was following.
>
> > /* need Chrome4.0.249.0 +  or Safari nightly */
>
> >http://bloga.jp/ws/jq/wakachi/mecab/wakachi.html
> > case websocket (pipeline) 156 msec
> > case XML HTTP request (parallel Ajax) 4978 msec
> > # 31-fold
>
> >http://bloga.jp/ws/jq/wakachi/mecab/ruby.html
> > case websocket (pipeline) 339 msec
> > case XML HTTP request (parallel Ajax) 1506 msec
> > # 4-fold
>
> > (http://code.google.com/p/websocket-sample/)
>
> > eg.
> > W3C The Web Sockets API
> >http://dev.w3.org/html5/websockets/
> > IETF The Web Socket protocol
> >http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-44
>
> > My jQuery plugin for WS
> >http://plugins.jquery.com/project/ws
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "jQuery Development" group.
> > To post to this group, send email to [EMAIL PROTECTED]
> > To unsubscribe from this group, send email to [EMAIL PROTECTED]
> > For more options, visit this group 
> > athttp://groups.google.com/group/jquery-dev?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.