Re: Refactoring cassandra service package

2014-06-03 Thread Simon Chemouil
> (services not using other services) meant services not used by other services Simon Chemouil racontait le 03/06/2014 21:20: > Gary Dusbabek racontait le 03/06/2014 19:59: >> This has come up before. Let's face it, removing the singletons is a >> tempting proposition. &

Re: Refactoring cassandra service package

2014-06-03 Thread Simon Chemouil
Gary Dusbabek racontait le 03/06/2014 19:59: > This has come up before. Let's face it, removing the singletons is a > tempting proposition. > > Several of us have been down the path of trying to do it. > > At the end of the day, here's what you'd end up with (absolutely best case): > > 1. Modify

Re: Refactoring cassandra service package

2014-06-03 Thread Simon Chemouil
Brandon Williams racontait le 03/06/2014 20:00: > Relevant: https://issues.apache.org/jira/browse/CASSANDRA-6881 Thanks for the pointer, couldn't find that issue. > On Tue, Jun 3, 2014 at 12:59 PM, Gary Dusbabek wrote: > >> On Tue, Jun 3, 2014 at 3:52 AM, Simon Chemouil

Refactoring cassandra service package

2014-06-03 Thread Simon Chemouil
Hi, I'm new to Cassandra and felt like exploring and hacking on the code. I was surprised to see the usage of so many mutable/global state statics all over the service package (basically global variables/singletons). While I understand it can be practical to work with singletons, and that in any