[ https://issues.apache.org/jira/browse/COUCHDB-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777405#comment-13777405 ]
Benoit Chesneau commented on COUCHDB-1894: ------------------------------------------ I am not a fan of the multi-process design in this patch. I would rather borrow some princples of the chromium design [1]. Ie having direct channels (as pipes, unix sockets, mmaps, whatever) between the erlang vm and each contexts, instead of routing it at the JS level. Replace tabs by ddocs and we could have a similar design anyway. Thoughts. [1] http://www.chromium.org/developers/design-documents/multi-process-architecture > Add experimental NodeJS query server > ------------------------------------ > > Key: COUCHDB-1894 > URL: https://issues.apache.org/jira/browse/COUCHDB-1894 > Project: CouchDB > Issue Type: New Feature > Components: JavaScript View Server > Reporter: Jan Lehnardt > > Let’s clean up and merge Jason Smith’s Node.js query server into ASF land and > ship it as opt-in and experimental. > I’ve prepared a branch that does the following: > - remove fancy extra features like app server handlers and the visual > debugger support for now > - make it a drop-in replacement for couchjs > - bundle the code in src/couchjs-node > - add a new query server language “nodejs” that people can use > - include sandbox.js from https://github.com/KlausTrainer/sandbox.js (not > hooked up yet) > The query server is not installed by default and users can install them in > two ways: > 1. from source: > $ cd src/couchjs-node > $ npm link > 2. from NPM: > $ npm install couchjs # add @1.x.x for once the module mirrors CouchDB > version numbers for forward compat) > And then they can uncomment and update the [query_server] line in local.ini. > * * * > Open work items on the view server: > - make it work with CLI tests > - fix remaining test cases in web test runner > - hook up sandbox.js from https://github.com/KlausTrainer/sandbox.js -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira