In general, you do not want to directly open your database server through an open interface, so a server application must exist between providing authentication and services such as web sites. It will usually be something like node.js or Tornado .. but since you know about it based on your question tags, what is the actual solution you are looking for?
CouchDB currently does not directly support the websocket interface, but the next version (1.3) seems to include support for the protocol sent by the server , which is widely supported, with the exception of IE (see browser compatibility ).
source share