couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fedor Indutny <fe...@indutny.com>
Subject Re: [jira] Commented: (COUCHDB-841) Support WebSockets in continuous changes feeds
Date Mon, 14 Mar 2011 20:45:04 GMT
Sorry for interrupting your discussion, but I've a proposal:
http://dev.w3.org/html5/eventsource/

<http://dev.w3.org/html5/eventsource/>I think that EventSource is a better
way for streaming continuous changes, b/c it's read only and naturally
support "since" argument (http://dev.w3.org/html5/eventsource/#last-event-id
).

Actually, I's implemented EventSource some time ago, see:
https://issues.apache.org/jira/browse/COUCHDB-986

On Tue, Mar 15, 2011 at 2:21 AM, Dirkjan Ochtman (JIRA) <jira@apache.org>wrote:

>
>    [
> https://issues.apache.org/jira/browse/COUCHDB-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006618#comment-13006618]
>
> Dirkjan Ochtman commented on COUCHDB-841:
> -----------------------------------------
>
> I agree that the time to do this probably hasn't exactly arrived yet; it
> would make more sense to wait until the protocol has been finalized. Which
> as far as I gather should be close except for the security issue in the
> recent version. On the other hand, I think the caniuse-report is looking
> rather promising, with websockets available in all of the modern browsers
> (Firefox 4, Chrome, Safari, Opera -- I don't think we can count IE9 as fully
> modern yet). We've started using it at work, and it seems to work
> wonderfully in both Firefox 4 and Chrome (although I had to enable it in
> Firefox to circumvent the security protection). So I think this would be
> great to do, but it would make sense to wait until the security bugs have
> been ironed out of the protocol.
>
> It would also need someone to step up and make this happen in mochiweb,
> AFAICT.
>
> > Support WebSockets in continuous changes feeds
> > ----------------------------------------------
> >
> >                 Key: COUCHDB-841
> >                 URL: https://issues.apache.org/jira/browse/COUCHDB-841
> >             Project: CouchDB
> >          Issue Type: New Feature
> >          Components: HTTP Interface
> >    Affects Versions: 1.0
> >            Reporter: Dirkjan Ochtman
> >
> > Just wanted to put this on the roadmap: it would be nice if continuous
> changes feeds (and maybe some other things in CouchDB, not sure) could
> support WebSockets. WebSockets are an emerging standard (there's no final
> spec yet) with implementations in both recent Chrome and Firefox (beta)
> releases that allows servers to push information to the browser without
> having to do polling (or longpolling).
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message