Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63C88C7DE for ; Wed, 12 Mar 2014 18:14:26 +0000 (UTC) Received: (qmail 52197 invoked by uid 500); 12 Mar 2014 18:14:25 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 52168 invoked by uid 500); 12 Mar 2014 18:14:24 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 52160 invoked by uid 99); 12 Mar 2014 18:14:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 18:14:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tadwhitenight@gmail.com designates 209.85.215.68 as permitted sender) Received: from [209.85.215.68] (HELO mail-la0-f68.google.com) (209.85.215.68) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 18:14:18 +0000 Received: by mail-la0-f68.google.com with SMTP id y1so2866386lam.7 for ; Wed, 12 Mar 2014 11:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9t8cpQCak5vfG+eWPRKU9CR1do6DgMdSyGJpbv9qQDU=; b=V70LiUAPpBrpDlklSXb8LEbDtQ3pvy3dzUoLXGoFUh7mk42ps+p8WrhyTd63K2f+tX Hl1P0AHWWbco6ESKjGVGuxysGd11lM3UHLTAR8gs6jWSTMwcAWpqOLdgqvsAtXdWBWbR g3SNSlZtm4yUtiRwsfFpyKzF1IijqyW/MXuz6tATzwQZuudesRzsIi5WiQBIYSSAKU2z drNz7zW86RMB3XkxSO1HSCUdnBMRP4Wp1PnzpmmInyt9/UZW6hf9xEz+ZNu495HkytZ4 7bcTk9NfrwARkTxzQNeRe3AvtSmzkEaXr6rTKhMYe+4eUm3I+LPBi4ifUndohZFOF0F4 Av0Q== MIME-Version: 1.0 X-Received: by 10.152.5.73 with SMTP id q9mr40789laq.69.1394648037353; Wed, 12 Mar 2014 11:13:57 -0700 (PDT) Received: by 10.112.161.233 with HTTP; Wed, 12 Mar 2014 11:13:57 -0700 (PDT) Date: Wed, 12 Mar 2014 14:13:57 -0400 Message-ID: Subject: Performance and default parameters of 4.2 vs 4.3 From: Tad Whitenight To: httpclient-users@hc.apache.org Content-Type: multipart/alternative; boundary=089e0122f172db02cf04f46ccc0f X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f172db02cf04f46ccc0f Content-Type: text/plain; charset=ISO-8859-1 When upgrading from HttpClient 4.2 to the new APIs (no deprecated use) in 4.3 I'm observing a 25-30ms increase in average response latency. Anyone else observe this or have configuration suggestions while upgrading? I see that RequestConfig.isStaleConnectionCheckEnabled is enabled by default, but this appears to be for good reason. Were default client parameters reevaluated between 4.2 and 4.3 or have they remained the same? In 4.3 HttpClientBuilder makes it quite clear what the default values are. In 4.2 HttpParams may have absent/unset values, which requires looking elsewhere to determine the client behavior. Thanks, Tad --089e0122f172db02cf04f46ccc0f--