Hi Roland,

2013/3/8 Roland von Herget <[email protected]>:
> Hi Alfonso,
>
> so, thanks for your answers :)
> I will try to read about beans a bit in the future, my java knowledge
> is just so limited :/

Don't worry much. In general we will need later (much later) a full
sourcecode review, I guess. We lack some "Developing a new DataSource"
manual. I want to write some about, but time...
I'm so limited in general... ;P

>> The real fix is:
>>
>> * Modify HectorUtils.java:
>> - change all "public static<K> void insertSubColumn..." to "public
>> syncronized static<K>..." (3 changes)
>> - change "public static<K> void deleteSubColumn" to " public
>> syncronized static<K> void deleteSubColumn" (1 change)
>>
>> And then you are just synchronizing the calls to the mutator.
>
> Yes, now I think this, too.
> And I think we should really use ->addInsertation (or make it useable
> for CassandraStore) instead of ->insert ... this gives a real
> performance boost.

Didn't knew about addInsertation(). Good discover. Feel free to open
an issue (and remember to put the "CAVEAT" notice shown over
Mutator#addInsertion()) :)

Regards,

Alfonso Nishikaa

Reply via email to