cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaydeepkumar Chovatia (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13862) Optimize Paxos prepare and propose stage for local requests
Date Tue, 12 Sep 2017 06:41:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162572#comment-16162572
] 

Jaydeepkumar Chovatia edited comment on CASSANDRA-13862 at 9/12/17 6:40 AM:
----------------------------------------------------------------------------

Please find patch details here:

||Branch||uTest||
|[3.0 | https://github.com/apache/cassandra/compare/trunk...jaydeepkumar1984:13862-3.0]|[circleci
|https://circleci.com/gh/jaydeepkumar1984/cassandra/14]|
|[trunk|https://github.com/apache/cassandra/compare/trunk...jaydeepkumar1984:13862-trunk]|[circleci
|https://circleci.com/gh/jaydeepkumar1984/cassandra/13]|



was (Author: chovatia.jaydeep@gmail.com):
Please find patch details here:

||Branch||uTest||
|[3.0 | https://github.com/apache/cassandra/compare/trunk...jaydeepkumar1984:13862-3.0]|[https://circleci.com/gh/jaydeepkumar1984/cassandra/14]|
|[trunk|https://github.com/apache/cassandra/compare/trunk...jaydeepkumar1984:13862-trunk]|[https://circleci.com/gh/jaydeepkumar1984/cassandra/13]|


> Optimize Paxos prepare and propose stage for local requests 
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-13862
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13862
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Streaming and Messaging
>            Reporter: Jaydeepkumar Chovatia
>            Priority: Minor
>             Fix For: 3.0.15, 4.0
>
>
> Currently Paxos prepare and propose messages always go through entire MessagingService
stack in Cassandra even if request is to be served locally, we can enhance and make local
requests severed w/o involving MessagingService. Similar things are done at may [other places
| https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/service/StorageProxy.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 Cassandra 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
> …                                                                                 
                                                                REQUEST_RESPONSE message received
from /A.B.C.D [MessagingService-Incoming-/A.B.C.D] | 2017-09-11 21:55:18.976000 |  A.B.C.D
|          20270
> …                                                                                 
                                                                                         
    Processing response from /A.B.C.D [SharedPool-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


Mime
View raw message