Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33588DD5E for ; Wed, 24 Oct 2012 11:24:06 +0000 (UTC) Received: (qmail 83206 invoked by uid 500); 24 Oct 2012 11:24:05 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 83174 invoked by uid 500); 24 Oct 2012 11:24:05 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 83148 invoked by uid 99); 24 Oct 2012 11:24:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 11:24:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dionne@dionne-associates.com designates 67.222.54.6 as permitted sender) Received: from [67.222.54.6] (HELO oproxy6-pub.bluehost.com) (67.222.54.6) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Oct 2012 11:23:59 +0000 Received: (qmail 11721 invoked by uid 0); 24 Oct 2012 11:23:38 -0000 Received: from unknown (HELO host183.hostmonster.com) (74.220.207.183) by cpoproxy3.bluehost.com with SMTP; 24 Oct 2012 11:23:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dionne-associates.com; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=7UaIRC2IH7Ekqn4rYwlv21+5WxhHAxmnKIEkCoaaH6U=; b=xfQrWy6p73+zFC6HbL0p0BscjgMCc9OWzabSmG1nZobBm9J8gVLhsD5WFlQIGEJV1Oz5ENZ41P4ACfKZH6UxMS+Mya4FSIZn9nxtHfByA0GzJtTBMyNRCdDp6QaDJgfy; Received: from [67.189.221.27] (port=58830 helo=[192.168.1.100]) by host183.hostmonster.com with esmtpa (Exim 4.76) (envelope-from ) id 1TQz3i-0007OU-4G for dev@couchdb.apache.org; Wed, 24 Oct 2012 05:23:38 -0600 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: [jira] [Commented] (COUCHDB-1557) upgrade some code to use BIFs From: Bob Dionne In-Reply-To: Date: Wed, 24 Oct 2012 07:23:39 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <5DBF7314-565C-4739-AE5E-C9E327FE9219@dionne-associates.com> References: <1680576579.19982.1349879823189.JavaMail.jiratomcat@arcas> <1937970025.25582.1349953743325.JavaMail.jiratomcat@arcas> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1499) X-Identified-User: {2551:host183.hostmonster.com:dionneas:dionne-associates.com} {sentby:smtp auth 67.189.221.27 authed with dionne@dionne-associates.com} X-Virus-Checked: Checked by ClamAV on apache.org Hi Benoitc, I haven't seem hackney yet, I'd have to try it out. I've been doing some = profiling on the replicator and noticed a lot of time spent in ibrowse = functions, which is what you'd expect I guess. So I'd have to see a = major performance boost to be a believer. I'll try it when I find some = time. Cheers, Bob On Oct 24, 2012, at 7:05 AM, Benoit Chesneau = wrote: > On Thu, Oct 11, 2012 at 1:09 PM, Bob Dionne (JIRA) = wrote: >>=20 >> [ = https://issues.apache.org/jira/browse/COUCHDB-1557?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D134740= 38#comment-13474038 ] >>=20 >> Bob Dionne commented on COUCHDB-1557: >> ------------------------------------- >>=20 >> I've also made similar changes to ibrowse[1], for which I can submit = a patch once it's been decided how upstream projects will be handled in = the new build >>=20 >> [1] https://github.com/cloudant/ibrowse/commit/cc1f8e84a669b37 >>=20 >=20 > I was thinking to replace ibrowse by hackney > (http://github.com/benoitc/hackney) . It is fullly binary and > streamed. What do you think about it ? >=20 >=20 >>> upgrade some code to use BIFs >>> ----------------------------- >>>=20 >>> Key: COUCHDB-1557 >>> URL: = https://issues.apache.org/jira/browse/COUCHDB-1557 >>> Project: CouchDB >>> Issue Type: Improvement >>> Components: HTTP Interface, Replication >>> Reporter: Bob Dionne >>> Priority: Minor >>> Attachments: = 0001-Upgrade-code-to-use-BIFs-for-improved-performance.patch >>>=20 >>>=20 >>> couch_httpd:find_in_binary can now make use of the binary module = introduced in R14 -- eprof runs of the replication can show good = improvements with this patch >>=20 >> -- >> This message is automatically generated by JIRA. >> If you think it was sent incorrectly, please contact your JIRA = administrators >> For more information on JIRA, see: = http://www.atlassian.com/software/jira