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 3F544108F1 for ; Wed, 14 Aug 2013 17:03:27 +0000 (UTC) Received: (qmail 70163 invoked by uid 500); 14 Aug 2013 17:03:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70124 invoked by uid 500); 14 Aug 2013 17:03:23 -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 70116 invoked by uid 99); 14 Aug 2013 17:03:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 17:03:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kxepal@gmail.com designates 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 17:03:18 +0000 Received: by mail-wi0-f179.google.com with SMTP id hr7so2222480wib.12 for ; Wed, 14 Aug 2013 10:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xE9wCZJaForeRyTHwzaHt1KfFXkgnNe/WugyORVajXA=; b=kSWuM2OjHYkEi+vOLXHFJSIKG65E/gWTOXMpMKYJ75v4JfmR73CULtq31V1HiLb8NP mJaaea2wqx786+rmKeW6+UBSXO9VrlBAgkKvyCf4eesJGb/5+RFx7oKyWJkYivIC2ovX fx4ezjSnBNYwMC1snlZWOh6YMWRL6fERO10sELrDGoaOwoSzkvXeBh4N3dAgktR63JAz ZdEeXt/jLR+i9NZhCAaOjf64M19flhCRKkxT5w2KBj2AAG25dsAHw3oodwwsr2riAmyr Q8fTNE8vK4w7O2JbglvV8vlNn8pbhll947967Jdwcgr68M3XIgStKH9cFw4kwl0Chty+ kSUQ== MIME-Version: 1.0 X-Received: by 10.180.189.132 with SMTP id gi4mr2806833wic.19.1376499776916; Wed, 14 Aug 2013 10:02:56 -0700 (PDT) Received: by 10.180.162.230 with HTTP; Wed, 14 Aug 2013 10:02:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Aug 2013 21:02:56 +0400 Message-ID: Subject: Re: Erlang vs JavaScript From: Alexander Shorin To: "user@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Erlang server bypassed stdio interface communication and addtional JSON decode/encode roundtrip, so it is faster than JS at some point. Also, having Erlang with SMP feature enabled may also improve his performance if you have multicore server. How much? No numbers I have, just an experience background. You can measure it with you functions and data and share with us (: -- ,,,^..^,,, On Wed, Aug 14, 2013 at 8:54 PM, Stanley Iriele wrote: > I'm curious... What exactly is the performance gain from writing > views/shows/ etc in Erlang vs JavaScript... From what I've seen the > JavaScript view server is sufficiently fast and feature complete. > > So my question is this.... Is the Erlang view server that much faster?... > Is there another gain that I'm missing?..and is it as feature complete as > the JavaScript equivalent? > > Regards, > > Stanley