Don't call setKeyspace if connection already active in the same keyspace #79

merged 2 commits into from Oct 12, 2012


None yet

2 participants

tjake commented Oct 11, 2012

No description provided.

tjake commented Oct 11, 2012

This fix yields a 5-10% perf gain on a tight insert/query loop since it removes an extra rpc


Looks good but let's only set acticeKeyspace when it's set on the connection. Not every time.

tjake commented Oct 12, 2012


@nberardi nberardi merged commit ca6f2d4 into fluentcassandra:master Oct 12, 2012
@nberardi nberardi was assigned Oct 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment