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 3D743200CFC for ; Thu, 14 Sep 2017 01:31:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3C1C11609CB; Wed, 13 Sep 2017 23:31:05 +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 81CEE1609CA for ; Thu, 14 Sep 2017 01:31:04 +0200 (CEST) Received: (qmail 57849 invoked by uid 500); 13 Sep 2017 23:31:03 -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 57838 invoked by uid 99); 13 Sep 2017 23:31:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2017 23:31:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0FD8B1A2024 for ; Wed, 13 Sep 2017 23:31:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id bYh_Wa9I7Clg for ; Wed, 13 Sep 2017 23:31:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7CFEA5F523 for ; Wed, 13 Sep 2017 23:31: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 A4BDEE01D8 for ; Wed, 13 Sep 2017 23:31: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 5E17F25382 for ; Wed, 13 Sep 2017 23:31:00 +0000 (UTC) Date: Wed, 13 Sep 2017 23:31:00 +0000 (UTC) From: "Jaydeepkumar Chovatia (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: Wed, 13 Sep 2017 23:31:05 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13862?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaydeepkumar Chovatia updated CASSANDRA-13862: ---------------------------------------------- Fix Version/s: (was: 3.11.x) (was: 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 > Assignee: Jaydeepkumar Chovatia > Priority: Minor > Fix For: 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. > {quote} > 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 > {quote} > 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