3 ms·
Check out jchris' toast, which exposes CouchDB directly to the world, and runs a Comet realtime chat/post app. Example of how he does authentication: http://gi
by tumult 17y ago
Check out jchris' toast, which exposes CouchDB directly to the world, and runs a Comet realtime chat/post app.
Example of how he does authentication:
http://github.com/jchris/toast/blob/master/validate_doc_update.js http://github.com/jchris/toast/blob/master/validate_doc_upda...
http auth + document update validation function
It's unintuitive, but this setup actually supports a huge number of connections and runs really fast. Go figure.