Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACDC02009C6 for ; Tue, 17 May 2016 05:35:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AB64B160A19; Tue, 17 May 2016 03:35:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3C21160A16 for ; Tue, 17 May 2016 05:35:33 +0200 (CEST) Received: (qmail 93022 invoked by uid 500); 17 May 2016 03:35:32 -0000 Mailing-List: contact dev-help@htrace.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@htrace.incubator.apache.org Delivered-To: mailing list dev@htrace.incubator.apache.org Received: (qmail 93011 invoked by uid 99); 17 May 2016 03:35:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 03:35:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7E94C180573 for ; Tue, 17 May 2016 03:35:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.021 X-Spam-Level: X-Spam-Status: No, score=-4.021 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TM7n04QQOsto for ; Tue, 17 May 2016 03:35:32 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 999895F39C for ; Tue, 17 May 2016 03:35:31 +0000 (UTC) Received: (qmail 93008 invoked by uid 99); 17 May 2016 03:35:30 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 03:35:30 +0000 Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id B5A621A0182 for ; Tue, 17 May 2016 03:35:30 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 6104F20BC7 for ; Mon, 16 May 2016 23:35:29 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Mon, 16 May 2016 23:35:29 -0400 Received: by web3.nyi.internal (Postfix, from userid 99) id 36F281134F2; Mon, 16 May 2016 23:35:29 -0400 (EDT) Message-Id: <1463456129.4153124.609869601.3003A742@webmail.messagingengine.com> X-Sasl-Enc: DmBGcdHWP9CXd9g1Qh6OWx7xkjksu4PEwv5k0Oj/4JXM 1463456129 From: Colin McCabe To: dev@htrace.incubator.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-9bce2c97 In-Reply-To: References: Subject: Re: Seeing Spans in HTraced Date: Mon, 16 May 2016 20:35:29 -0700 archived-at: Tue, 17 May 2016 03:35:34 -0000 Hi Lewis, Thanks for trying this out. The htraced buffer gets flushed after a configurable amount of time. It's also flushed if the SpanReceiver gets shut down (like in a short lived command line program.). So I don't think we should change the buffer size default. Maybe we could document this better, and/or change the buffer flush time default. Best, Colin On Mon, May 16, 2016, at 19:34, Lewis John Mcgibbney wrote: > Hi Folks, > For test and development and also for new comers coming to HTrace I am > not > sure if it is realistic for such a high default buffer to be set for > Htraced. Right now is appears that the default value is 16,777,216 bytes > which is pretty large if one wishes to get a feel for the HTrace > framework > generally and HTraced specifically. > Although I am easily able to work programmatically and hence change this > default buffer value to anything I want. Everyone else may not be that > way > inclined and may instead just wish to, fr example, run the Docker image > and > see what HTrace actually does. > Does anyone else have an opinion on this? My perspective from being > @ApacheCon last week and from doing my HTrac'ing in Nutch presentation is > that people just want to see what HTrac'ing looks like. They may not have > an application which writes 16MB of spans to a buffer out of the box. > Thanks > Lewis > > -- > *Lewis*