Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AE9D10F21 for ; Mon, 19 Aug 2013 08:34:50 +0000 (UTC) Received: (qmail 72601 invoked by uid 500); 19 Aug 2013 08:34:50 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 72495 invoked by uid 500); 19 Aug 2013 08:34:49 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 72078 invoked by uid 99); 19 Aug 2013 08:34:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 08:34:47 +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 (nike.apache.org: domain of sebbaz@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 08:34:41 +0000 Received: by mail-wg0-f49.google.com with SMTP id y10so3338586wgg.16 for ; Mon, 19 Aug 2013 01:34:20 -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:content-transfer-encoding; bh=GP/MoKi96koVOIshDQl7UesOy4iLxmACPQxID06aDDE=; b=C/v+mVKpXOIMo20+SROxVmgPu6lthGlS/Lx9Li0zWCd03WA3gVhl8H5WK9B6Dddf2y vdegLjFGHflqMycDilflOr1tZX9hcfEteqB3AYgWOrfwxH1aubFuX0c91WYBuSD4Cszk 23xk3eZYD3xN3ni4+eaodNo3I8xZy5b0JG/66g6gbiFDFhbi07GSAp7fikR2GH4+t9OS luQzfONG911izmXfP03NE87DAY6qhNMVJqnzQGCEXIMhnQ/DmgBnGX+CN0VhwCadgmi6 Tz86h6r/zvRszoyb9m+zOTQFLJQhqNXAPGRFkRjkPi8mCzXEN7S+5mMSwPAks269+SOj QEbA== MIME-Version: 1.0 X-Received: by 10.180.109.35 with SMTP id hp3mr7283802wib.52.1376901260790; Mon, 19 Aug 2013 01:34:20 -0700 (PDT) Received: by 10.194.120.99 with HTTP; Mon, 19 Aug 2013 01:34:20 -0700 (PDT) In-Reply-To: <0E1FDD26CD35694FBC52505E30FA0448FC81EE@srv024038.bigpoint.local> References: <0E1FDD26CD35694FBC52505E30FA0448FC81EE@srv024038.bigpoint.local> Date: Mon, 19 Aug 2013 09:34:20 +0100 Message-ID: Subject: Re: About HoldSampleSender From: sebb To: dev@jmeter.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 19 August 2013 08:51, Danny Lade wrote: > Before we have written our own SampleSender we tried this one. > > What makes it most worse is the fact that it stores the whole response bo= dy. Therefore rather small tests runs into OutOfMemory if the bodies are bi= g (JSON/HTML). > Additionally it blocks the whole process because the sample store is (unn= ecessarily) synchronized. There is one class instance per Listener (in test plan or created by using -l flag). This is shared between threads, and testEnded uses a different thread, so access to the store must be synchronised. Both to ensure the the store is updated safely and to ensure safe publicati= on. > In my opinion the only useful way to use a HoldSampleSender is one based = on statistical data mining. Good point; it could be useful to create a new version for that, as it would avoid any network traffic during the run. However one could just use independent non-GUI runs instead... > IMHO Danny > >> -----Urspr=FCngliche Nachricht----- >> Von: sebb [mailto:sebbaz@gmail.com] >> Gesendet: Sonntag, 18. August 2013 23:07 >> An: dev@jmeter.apache.org >> Betreff: Re: About HoldSampleSender >> >> On 15 August 2013 22:02, Philippe Mouawad >> wrote: >> > Hello, >> > Looking at this implementation, I wonder if it is really needed and >> > wether it should not be deprecated. >> > >> > It seems to me dangerous: >> > >> > - It requires a lot of memory, users should be aware of it. >> > - Even with lot of memory, it could impact highly performances of >> > jmeter-servers through GC impacts >> > >> > >> > Thoughts ? >> >> Yes, it's probably not very useful, but we should probably not delete it= (yet). >> >> Let's add some docs to say don't use it (and perhaps add a log.warn >> message on startup). >> >> >> > -- >> > Regards. >> > Philippe M.