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 <[email protected]> wrote: > On Thu, Oct 11, 2012 at 1:09 PM, Bob Dionne (JIRA) <[email protected]> wrote: >> >> [ >> https://issues.apache.org/jira/browse/COUCHDB-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474038#comment-13474038 >> ] >> >> Bob Dionne commented on COUCHDB-1557: >> ------------------------------------- >> >> 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 >> >> [1] https://github.com/cloudant/ibrowse/commit/cc1f8e84a669b37 >> > > 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 ? > > >>> upgrade some code to use BIFs >>> ----------------------------- >>> >>> 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 >>> >>> >>> 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 >> >> -- >> 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
