directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Commented] (DIRAPI-162) The CachingNormalizer class does not cache anything
Date Sat, 14 Dec 2013 10:58:07 GMT


Emmanuel Lecharny commented on DIRAPI-162:

The cache should be stored in the ThreadLocal storage to avoid the cost of synchronization.
Also we should pre-load some very common strings we are frequently processing, and pin them
in the cache.

> The CachingNormalizer class does not cache anything
> ---------------------------------------------------
>                 Key: DIRAPI-162
>                 URL:
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M20
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.0.0-RC1
> We waste a lot of CPU and memory by not caching elements. Most of the time, we will process
elements like 'ObjectClass', '0.9.2342.19200300.100.1.1=admin,' or 'ou=schema'
tens f thousands of time, when they are static elements that will never change.
> A very basic and limited cache could save us a lot of processing.

This message was sent by Atlassian JIRA

View raw message