Re: Nested views: iterative map reduce implementation

2013-01-27 Thread Jan Lehnardt
Hi Nicholas, This looks very interesting. My apologies for not looking into this in more detail (it's CouchDB Conf week). I'll definitely have a closer look soon. Cheers Jan -- On 22.01.2013, at 16:18, nicholas a. evans n...@ekenosen.net wrote: I've started hacking on an implementation of

[jira] [Assigned] (COUCHDB-1305) keep db crashes from bubbling through couch_server when possible

2013-01-27 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson reassigned COUCHDB-1305: -- Assignee: Randall Leeds (was: Robert Newson) +1 keep db crashes

[jira] [Assigned] (COUCHDB-523) View API POST keys to retrieve multiple docs by key could also allow for multiple 'range' queries, i.e. an array of { startkey: .., endkey: ... } params in the POST

2013-01-27 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet reassigned COUCHDB-523: --- Assignee: Joan Touzet (was: Robert Newson) View API POST keys to retrieve multiple

[jira] [Created] (COUCHDB-1654) couchdb view sig changed

2013-01-27 Thread Robert Newson (JIRA)
Robert Newson created COUCHDB-1654: -- Summary: couchdb view sig changed Key: COUCHDB-1654 URL: https://issues.apache.org/jira/browse/COUCHDB-1654 Project: CouchDB Issue Type: Bug

[jira] [Updated] (COUCHDB-1654) couchdb view sig changed

2013-01-27 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-1654: --- Fix Version/s: 1.3 Priority: Blocker (was: Major) couchdb view sig changed

[jira] [Updated] (COUCHDB-1654) couchdb view sig changed

2013-01-27 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-1654: --- Description: view sigs and location changed between 1.2.x and 1.3.x, which would cause

[jira] [Commented] (COUCHDB-1654) couchdb view sig changed

2013-01-27 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13563783#comment-13563783 ] Benoit Chesneau commented on COUCHDB-1654: -- Just read the code and it seems

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Jason Smith
Awesome! Prediction (can't wait to be proven wrong): * Very little difference in different implementations (because stdio is the bottleneck) * Native views are faster but not *way* faster Wrinkles: * I vaguely recall JS being about equal speed to Erlang (native) when benchmarking

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Alexander Shorin
On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith j...@iriscouch.com wrote: * Very little difference in different implementations (because stdio is the bottleneck) Why stdio is a bottleneck? I'm interesting underlay reasons. As for my experience, the protocol design doesn't allows view and query

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Jan Lehnardt
On Jan 27, 2013, at 13:22 , Alexander Shorin kxe...@gmail.com wrote: On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith j...@iriscouch.com wrote: * Very little difference in different implementations (because stdio is the bottleneck) Why stdio is a bottleneck? I'm interesting underlay reasons.

Re: Branch to switch from SpiderMonkey to Node.js

2013-01-27 Thread Jason Smith
On Fri, Jan 25, 2013 at 6:01 PM, Jason Smith j...@iriscouch.com wrote: Hi, David. Yes, you make very good points. I even think you (and Benoit) may be ultimately correct I dispute that Node.js is V8. Node is not V8. Node.js is a direct link to God. When I pray to God in the JavaScript

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Russell Branca
On Sun, Jan 27, 2013 at 4:50 AM, Jan Lehnardt j...@apache.org wrote: On Jan 27, 2013, at 13:22 , Alexander Shorin kxe...@gmail.com wrote: On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith j...@iriscouch.com wrote: * Very little difference in different implementations (because stdio is the

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Simon Metson
Science! On Sunday, 27 January 2013 at 18:42, Russell Branca wrote: On Sun, Jan 27, 2013 at 4:50 AM, Jan Lehnardt j...@apache.org wrote: On Jan 27, 2013, at 13:22 , Alexander Shorin kxe...@gmail.com wrote: On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith j...@iriscouch.com wrote:

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Jason Smith
On Sun, Jan 27, 2013 at 12:50 PM, Jan Lehnardt j...@apache.org wrote: On Jan 27, 2013, at 13:22 , Alexander Shorin kxe...@gmail.com wrote: On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith j...@iriscouch.com wrote: * Very little difference in different implementations (because stdio is the

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Alexander Shorin
On Sun, Jan 27, 2013 at 4:50 PM, Jan Lehnardt j...@apache.org wrote: On Jan 27, 2013, at 13:22 , Alexander Shorin kxe...@gmail.com wrote: On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith j...@iriscouch.com wrote: * Very little difference in different implementations (because stdio is the

[jira] [Commented] (COUCHDB-1653) ./bootstrap failed with automake 1.13

2013-01-27 Thread Russell Branca (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13563897#comment-13563897 ] Russell Branca commented on COUCHDB-1653: - +1 this fixed 1.2.x for me, thanks

Re: Branch to switch from SpiderMonkey to Node.js

2013-01-27 Thread Dave Cottlehuber
On 26 January 2013 22:38, Paul Davis paul.joseph.da...@gmail.com wrote: On Sat, Jan 26, 2013 at 5:52 AM, Benoit Chesneau bchesn...@gmail.com wrote: On Sat, Jan 26, 2013 at 9:11 AM, Jason Smith j...@iriscouch.com wrote: This is a great thread I'm wholly in favour of pretty much all of it. As

[jira] [Created] (COUCHDB-1655) CentOS + CouchDB 1.2.1 - Adding documents to _users fails with a OS Process Error error

2013-01-27 Thread Pierre Voisin (JIRA)
Pierre Voisin created COUCHDB-1655: -- Summary: CentOS + CouchDB 1.2.1 - Adding documents to _users fails with a OS Process Error error Key: COUCHDB-1655 URL: https://issues.apache.org/jira/browse/COUCHDB-1655

[jira] [Updated] (COUCHDB-1655) CentOS + CouchDB 1.2.1 - Adding documents to _users fails with a OS Process Error error

2013-01-27 Thread Pierre Voisin (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre Voisin updated COUCHDB-1655: --- Attachment: trace.txt Complete log trace relating to my PUT request.

[jira] [Commented] (COUCHDB-1655) CentOS + CouchDB 1.2.1 - Adding documents to _users fails with a OS Process Error error

2013-01-27 Thread Pierre Voisin (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13563993#comment-13563993 ] Pierre Voisin commented on COUCHDB-1655: Note: /_users/_design/_auth does exist

[jira] [Commented] (COUCHDB-1655) CentOS + CouchDB 1.2.1 - Adding documents to _users fails with a OS Process Error error

2013-01-27 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13564045#comment-13564045 ] Joan Touzet commented on COUCHDB-1655: -- Your SpiderMonkey installation is probably

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Jason Smith
Hey, Jan. This is a totally random and hypothetical idea: Do you think there would be any speedup to use term_to_binary() and binary_to_term() instead of encoding through JSON? The view server would of course need to support that codec. I have already implemented encoding in erlang.js:

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Benoit Chesneau
On Mon, Jan 28, 2013 at 6:37 AM, Jason Smith j...@iriscouch.com wrote: Hey, Jan. This is a totally random and hypothetical idea: Do you think there would be any speedup to use term_to_binary() and binary_to_term() instead of encoding through JSON? The view server would of course need to

[jira] [Commented] (COUCHDB-1654) couchdb view sig changed

2013-01-27 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13564088#comment-13564088 ] Benoit Chesneau commented on COUCHDB-1654: -- I don't see any reason to change

Re: All The Numbers -- View Engine Performance Benchmarks

2013-01-27 Thread Paul J. Davis
I tried this a long time ago with the binary to JS code in C. It didn't make for a huge improvement in total speed. On Jan 27, 2013, at 11:37 PM, Jason Smith j...@iriscouch.com wrote: Hey, Jan. This is a totally random and hypothetical idea: Do you think there would be any speedup to use