Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9845F95C9 for ; Tue, 14 Feb 2012 05:26:23 +0000 (UTC) Received: (qmail 26960 invoked by uid 500); 14 Feb 2012 05:26:12 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26303 invoked by uid 500); 14 Feb 2012 05:25:53 -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 26293 invoked by uid 99); 14 Feb 2012 05:25:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 05:25:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.52] (HELO mail-pw0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 05:25:40 +0000 Received: by pbbjt11 with SMTP id jt11so176444pbb.11 for ; Mon, 13 Feb 2012 21:25:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.236.133 with SMTP id uu5mr54727691pbc.49.1329197119278; Mon, 13 Feb 2012 21:25:19 -0800 (PST) Received: by 10.68.230.199 with HTTP; Mon, 13 Feb 2012 21:25:19 -0800 (PST) X-Originating-IP: [49.128.1.200] In-Reply-To: <21BACCA9-72D6-4C01-B9C5-7DFAF794C00E@sri.com> References: <21BACCA9-72D6-4C01-B9C5-7DFAF794C00E@sri.com> Date: Tue, 14 Feb 2012 15:25:19 +1000 Message-ID: Subject: Re: Barista: Helping Java relax From: Dan Everton To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=047d7b33d5d2218fc104b8e5d218 X-Gm-Message-State: ALoCoQmBBJh1FE5AGZw057vQYo33gyKs37ClNZ4q4KvZbue+6YIE2Hd+Zq9L8ctJjtLEzJAVmSvb --047d7b33d5d2218fc104b8e5d218 Content-Type: text/plain; charset=ISO-8859-1 Looks interesting. I'm curious if you see any performance difference by writing your views in Java? I imagine it could be significantly faster but if the JVM gets started on each view server call it's going to bypass any HotSpot optimisation. Also, you might want to consider switching to Jackson from the org.json library for JSON handling as Jackson is significantly (like 10x or more) faster for handling JSON data which may be significant during view generation. Cheers, Dan --047d7b33d5d2218fc104b8e5d218--