Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 97207 invoked from network); 3 Nov 2008 10:23:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 10:23:37 -0000 Received: (qmail 72427 invoked by uid 500); 3 Nov 2008 10:23:42 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 72381 invoked by uid 500); 3 Nov 2008 10:23:42 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 72370 invoked by uid 99); 3 Nov 2008 10:23:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 02:23:41 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 10:22:25 +0000 Received: from macnolia.lan (f053003031.adsl.alicedsl.de [::ffff:78.53.3.31]) (AUTH: LOGIN jan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Mon, 03 Nov 2008 10:11:04 +0000 Message-Id: From: Jan Lehnardt To: couchdb-user@incubator.apache.org In-Reply-To: <241FD008-0740-4393-9F4D-D2A7C14F764D@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Largest CouchDB dbs? Date: Mon, 3 Nov 2008 11:10:32 +0100 References: <8C1EE3D1-D62F-4C6A-A859-196297E09C3D@apache.org> <46302F0F-7FF1-475B-B341-E7699295D915@apache.org> <241FD008-0740-4393-9F4D-D2A7C14F764D@apache.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 3, 2008, at 10:34, Jan Lehnardt wrote: > > On Nov 3, 2008, at 10:26, Ask Bj=F8rn Hansen wrote: > >> I wonder if some of the slowness is from running it through JS? =20 >> Perl has an extremely fast JSON parser (JSON::XS), would there be =20 >> any potential optimization in using an alternate view language like =20= >> that - or is most of the time spent elsewhere? > > Another part is the Erlang to JSON conversion that is known to be =20 > slow-ish. I don't know > which side of the conversion weighs more though. We are working with =20= > the Erlang > community and developers to get a C-based JSON encoder into Erlang. =20= > Since building > a view server is relatively straightforward, giving a Perl version a =20= > shot is probably worth it. > > Which Erlang version are you running? R11B-x is known for causing =20 > view-build slowness. > R12B-3 and R12B-4 are good In addition: = http://wiki.apache.org/couchdb/FrequentlyAskedQuestions#slow_view_building= Cheers Jan --=