You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 05:14:30 UTC

[jira] [Created] (CASSANDRA-3329) make HSHA the default Thrift server

make HSHA the default Thrift server
-----------------------------------

                 Key: CASSANDRA-3329
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
             Project: Cassandra
          Issue Type: Improvement
          Components: API
            Reporter: Jonathan Ellis
            Assignee: Jonathan Ellis
            Priority: Minor
             Fix For: 1.0.0


HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3329) make HSHA the default Thrift server

Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3329.
---------------------------------------

    Resolution: Fixed

thanks for catching that.  reverted to sync + committed.
                
> make HSHA the default Thrift server
> -----------------------------------
>
>                 Key: CASSANDRA-3329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3329.txt
>
>
> HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3329) make HSHA the default Thrift server

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3329:
--------------------------------------

    Attachment: 3329.txt

testing on Windows, I get 17-18k rows/s with hsha instead of 21-24 with sync. So I'll leave the default as sync.

patch updates comments and defaults hsha thread pool to # of cpu cores.
                
> make HSHA the default Thrift server
> -----------------------------------
>
>                 Key: CASSANDRA-3329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3329.txt
>
>
> HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CASSANDRA-3329) make HSHA the default Thrift server

Posted by "Brandon Williams (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams reopened CASSANDRA-3329:
-----------------------------------------

    
> make HSHA the default Thrift server
> -----------------------------------
>
>                 Key: CASSANDRA-3329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3329.txt
>
>
> HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3329) make HSHA the default Thrift server

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123270#comment-13123270 ] 

Brandon Williams commented on CASSANDRA-3329:
---------------------------------------------

It looks like defaulting to the number of cores for hsha isn't quite adequate - I get about 20% less throughput on 4 cores with this patch than if I set it explicitly to 16.
                
> make HSHA the default Thrift server
> -----------------------------------
>
>                 Key: CASSANDRA-3329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3329.txt
>
>
> HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3329) make HSHA the default Thrift server

Posted by "Brandon Williams (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams resolved CASSANDRA-3329.
-----------------------------------------

    Resolution: Fixed

Bumped to cores * 4 in r1180277
                
> make HSHA the default Thrift server
> -----------------------------------
>
>                 Key: CASSANDRA-3329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3329.txt
>
>
> HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3329) make HSHA the default Thrift server

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122513#comment-13122513 ] 

Brandon Williams commented on CASSANDRA-3329:
---------------------------------------------

Looks like it defaults to hsha if the config doesn't specify, but +1 otherwise.
                
> make HSHA the default Thrift server
> -----------------------------------
>
>                 Key: CASSANDRA-3329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3329
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3329.txt
>
>
> HSHA has been an option since 0.8.3 (CASSANDRA-1405) and has been stable. Besides making possible lots of unpooled connections such as are common in some environments (*cough* PHP), we've seen EC2 in particular have trouble with lots of threads (CASSANDRA-2170).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira