Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 6768 invoked from network); 21 Jan 2011 15:31:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2011 15:31:22 -0000 Received: (qmail 28666 invoked by uid 500); 21 Jan 2011 15:31:20 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 28273 invoked by uid 500); 21 Jan 2011 15:31:17 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 28255 invoked by uid 99); 21 Jan 2011 15:31:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 15:31:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thanosv@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jan 2011 15:31:11 +0000 Received: by iyj21 with SMTP id 21so1889807iyj.11 for ; Fri, 21 Jan 2011 07:30:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:references:from:content-type:x-mailer :in-reply-to:message-id:date:to:content-transfer-encoding :mime-version; bh=tYp2qLWuX96wsMHivRE2S4p6eEZn3pDWCwl7ajDFUPA=; b=hNTim5wc6mwTexIHEVChe/z/aO5zx4W0d7PhylPiQzOLwbdWI0TfRG9rAlcg2Yhyql Z52asGkra65zby4jjL8FpXsr9QnKP5dj9i5auhe1qAZxL7lf3ii4Tbsm/hlzozw82//l /bgIJLPARpGjG37D8uURg3RgFZ6H94AK7iG98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; b=mI41dpg1IOi7AHUK1Bbd0cUpqz4/c8igfiLha5m9AQYIR5mrdUEpGG4QjD3SxUgcbo outOZEAlmCTfxiodFt29N6q8ctE5L5T/ML3mHSlSdl2K8WRXAbBYfE9Ijw3IPRe/RwQV rj1jVEIz0n7jKaYU9Vn9t0hDkKYDxHT3cIm5s= Received: by 10.42.176.68 with SMTP id bd4mr921955icb.408.1295623851012; Fri, 21 Jan 2011 07:30:51 -0800 (PST) Received: from [10.25.215.125] (mobile-166-137-139-041.mycingular.net [166.137.139.41]) by mx.google.com with ESMTPS id g4sm6195793ick.23.2011.01.21.07.30.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 Jan 2011 07:30:38 -0800 (PST) Subject: Re: Erlang views References: <58BD4712-EB86-4B4E-8EA7-63FC822BBB26@aptela.com> From: Thanos Vassilakis Content-Type: multipart/alternative; boundary=Apple-Mail-1--511041761 X-Mailer: iPhone Mail (8A306) In-Reply-To: <58BD4712-EB86-4B4E-8EA7-63FC822BBB26@aptela.com> Message-Id: Date: Fri, 21 Jan 2011 10:28:51 -0500 To: "user@couchdb.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 8A306) --Apple-Mail-1--511041761 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On my low-end 32-bit windows box, that I have to use as a production server for the bank I work for, my views are 4 times faster in Erlang.=20 I've got gigs of data and over 130 views. The engine javascript started to crash regularly and was un acceptably slow when rebuilding the views. I first moved to first to python (2x faster and no crashes) and then to Erlang (4-5x faster and no crashes). The speed is great, the system is in production.=20 I've no regrets and Erlang saved my ass. Thanos On Jan 20, 2011, at 10:10 PM, Mahesh Paolini-Subramanya w= rote: > I'm using them. Mind you, the main reason is that I far prefer erlang to j= avascript :-) > That said, they seem to be a good bit faster (50%?), but I don't really ha= ve much else to add... >=20 > cheers > Mahesh Paolini-Subramanya | CTO | mahesh@aptela.com | 703.386.1500 Ext. 91= 00 > 2250 Corporate Park Drive | Suite 150 | Herndon, VA | www.aptela.com > Check out our Blog | Follow us on Twitter | Refer a Friend=20 >=20 >=20 >=20 > On Jan 18, 2011, at 7:20 PM, kowsik wrote: >=20 >> A couple of questions: >>=20 >> 1. Is anyone using erlang views (as opposed to Javascript) in a >> production environment? >> 2. For the map and filter functions, is there any kind of published >> performance numbers that show the speed up? >>=20 >> Yes, I'm aware of the built-in reduce functions and I'm using them >> extensively. I'm more interested in erlang filters + map functions for >> a write-heavy app that I'm working on. >>=20 >> Thanks, >>=20 >> K >> --- >> http://www.pcapr.net >> http://twitter.com/pcapr >> http://labs.mudynamics.com >=20 --Apple-Mail-1--511041761--