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 720ED200B76 for ; Tue, 30 Aug 2016 19:21:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 707DB160ABA; Tue, 30 Aug 2016 17:21:06 +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 B65B7160AAF for ; Tue, 30 Aug 2016 19:21:05 +0200 (CEST) Received: (qmail 96156 invoked by uid 500); 30 Aug 2016 17:21:04 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 96146 invoked by uid 99); 30 Aug 2016 17:21:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 17:21:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BB017C05BE for ; Tue, 30 Aug 2016 17:21:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.103 X-Spam-Level: X-Spam-Status: No, score=0.103 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LUSvR2L7uV7H for ; Tue, 30 Aug 2016 17:21:01 +0000 (UTC) Received: from BLU004-OMC3S23.hotmail.com (blu004-omc3s23.hotmail.com [65.55.116.98]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id E8ECB5F47D for ; Tue, 30 Aug 2016 17:21:00 +0000 (UTC) Received: from BLU184-W13 ([65.55.116.74]) by BLU004-OMC3S23.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 30 Aug 2016 10:20:53 -0700 X-TMN: [abmzNPDZCxeTcXdRJRzEGOMQ62s4rYEY] X-Originating-Email: [wuxiaomin98@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_b3b85aeb-3ddf-4adb-9487-c2e88a4a2098_" From: Jun Wu To: "user@cassandra.apache.org" Subject: How to get information of each read/write request? Date: Tue, 30 Aug 2016 12:20:52 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 30 Aug 2016 17:20:53.0028 (UTC) FILETIME=[DC5F8E40:01D202E2] archived-at: Tue, 30 Aug 2016 17:21:06 -0000 --_b3b85aeb-3ddf-4adb-9487-c2e88a4a2098_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi there=2C I'm very interested in the read/write path of Cassandra. Specifically= =2C I'd like to know the whole process when a read/write request comes in.= =20 I noticed that for reach request it could go through multiple stages. F= or example=2C for read request=2C it could be in ReadStage=2C RequestRespon= seStage=2C ReadRepairStage. For each stage=2C actually it's a queue and thr= ead pool to serve the request.=20 First question is how to track each request in which stage. Also I'm = very interested int the waiting time for each request to be in the queue=2C= also the total queue in each stage. I noticed that in nodetool tpstats wil= l have this information. However=2C I may want to get the real-time informa= tion of this=2C like print it out in the terminal.=20 I'm wondering whether someone has hints on this.=20 Thanks in advance! Jun = --_b3b85aeb-3ddf-4adb-9487-c2e88a4a2098_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi there=2C

&= nbsp=3B  =3B  =3BI'm very interested in the read/write path of Cass= andra. Specifically=2C I'd like to know the whole process when a read/write= request comes in. =3B

 =3B  =3B I not= iced that for reach request it could go through multiple stages. For exampl= e=2C for read request=2C it could be in ReadStage=2C RequestResponseStage= =2C ReadRepairStage. For each stage=2C actually it's a queue and thread poo= l to serve the request. =3B

 =3B  =3BF= irst question is how to track each request in which stage.
 = =3B
 =3B  =3BAlso I'm very interested int the waiting tim= e for each request to be in the queue=2C also the total queue in each stage= . I noticed that in nodetool tpstats will have this information. However=2C= I may want to get the real-time information of this=2C like print it out i= n the terminal. =3B

 =3B  =3B I'm wond= ering  =3Bwhether someone has hints on this. =3B

 =3B  =3BThanks in advance!

Jun

 =3B  =3B  =3B
= --_b3b85aeb-3ddf-4adb-9487-c2e88a4a2098_--