[ 
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivo Ladage - van Doorn resolved AMDATUCASSANDRA-51.
---------------------------------------------------

      Assignee: Angelo van der Sijpt  (was: Ivo Ladage - van Doorn)
    Resolution: Fixed

Ok, thx for this valuable review. Changes:

-1- The map key is now guaranteed unique by using URL encoding and space 
separator
-2- The property map does not allow anymore values to be set other then String 
and byte[]
-3- The getUser(String key, String value) now evaluates the properties instead 
of the credentials for returning the proper 
useradmincache/service/CachedDictionary.java
-4- Enhanced the unit test for all of the above and added an additional test 
for testing usernames with non-alphanumeric characters

Please retest and review once again

> Major performance decrease when adding/removing users
> -----------------------------------------------------
>
>                 Key: AMDATUCASSANDRA-51
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-51
>             Project: Amdatu Cassandra
>          Issue Type: Bug
>          Components: Storage implementations
>    Affects Versions: 0.1.1
>            Reporter: Ivo Ladage - van Doorn
>            Assignee: Angelo van der Sijpt
>             Fix For: 0.2.0
>
>
> If you run the JMeter plans in this order, you will find that when you run 
> the last plan there is a significant performance slowdown in Cassandra:
> - Amdatu Get Users - 0.1.0.jmx
> - Amdatu UserAdmin - 0.1.0.jmx for some time (i.e. 2 minutes)
> - Amdatu Get Users - 0.1.0.jmx
> Note that at this time there will only be a few users available in UserAdmin, 
> still Cassandra queries on the CF Role take a very very long time. Using 
> YourKit it seems that all rowkeys of previous users still exist as it is very 
> busy with;
> com.google.common.base.Preconditions.checkState(boolean)
> com.google.common.collect.AbstractIterator.hasNext()
> invoked 532000 times from 
> org.apache.cassandra.thrift.CassandraServer.get_range_slices(ColumnParent, 
> SlicePredicate, KeyRange, ConsistencyLevel)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to