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 2A771200D0B for ; Wed, 13 Sep 2017 00:47:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28D2A1609C9; Tue, 12 Sep 2017 22:47:04 +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 6E0CD1609B4 for ; Wed, 13 Sep 2017 00:47:03 +0200 (CEST) Received: (qmail 17671 invoked by uid 500); 12 Sep 2017 22:47:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 17660 invoked by uid 99); 12 Sep 2017 22:47:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2017 22:47:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E5479CE111 for ; Tue, 12 Sep 2017 22:47:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id iR_kqEaJswsu for ; Tue, 12 Sep 2017 22:47:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 37A2C5FD48 for ; Tue, 12 Sep 2017 22:47:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B7EC5E0E33 for ; Tue, 12 Sep 2017 22:47:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6E59A25385 for ; Tue, 12 Sep 2017 22:47:00 +0000 (UTC) Date: Tue, 12 Sep 2017 22:47:00 +0000 (UTC) From: "Jeff Jirsa (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-13862) Optimize Paxos prepare and propose stage for local requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Sep 2017 22:47:04 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13862?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Jirsa updated CASSANDRA-13862: ----------------------------------- Fix Version/s: (was: 3.0.15) (was: 4.0) 4.x 3.11.x 3.0.x > Optimize Paxos prepare and propose stage for local requests=20 > ------------------------------------------------------------ > > Key: CASSANDRA-13862 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1386= 2 > Project: Cassandra > Issue Type: Improvement > Components: Streaming and Messaging > Reporter: Jaydeepkumar Chovatia > Priority: Minor > Fix For: 3.0.x, 3.11.x, 4.x > > > Currently Paxos prepare and propose messages always go through entire Mes= sagingService stack in Cassandra even if request is to be served locally, w= e can enhance and make local requests severed w/o involving MessagingServic= e. Similar things are done at may [other places | https://github.com/apache= /cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/service/Storage= Proxy.java#L1244] in Cassandra which skips MessagingService stage for local= requests. > This is what it looks like currently if we have tracing on and run Cassan= dra light weight transaction. > Sending PAXOS_PREPARE message to /A.B.C.D [MessagingService-Outgoing-/A.B= .C.D] | 2017-09-11 21:55:18.971000 | A.B.C.D | 15045 > =E2=80=A6 = = REQUEST_RESPONSE message received from /A.B.C.D [MessagingService-In= coming-/A.B.C.D] | 2017-09-11 21:55:18.976000 | A.B.C.D | 20270 > =E2=80=A6 = = Processing response from /A.B.C.D [Sha= redPool-Worker-4] | 2017-09-11 21:55:18.976000 | A.B.C.D | 20372 > Same thing applies for {{Propose stage}} as well. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org