directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRAPI-7) Low performance on search operation compared to JNDI (around 5 times slower)
Date Thu, 25 Feb 2010 14:49:28 GMT

     [ https://issues.apache.org/jira/browse/DIRAPI-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre-Arnaud Marcelot updated DIRAPI-7:
----------------------------------------

    Description: 
While playing with the Client API, I compared the performance of the same search to JNDI.

With current code, the Client API is unfortunately 5 times slower.

My test is pretty simple, I'm searching with a Subtree scope on 'dc=example,dc=com' partition
which holds 10 000 users.

Here are the results:
- JNDI:
    Time to create the connection: 90
    Time to perform the search: 4195
    Time to close the connection: 1
    Total time: 4286

-Client API:
    Time to create the connection: 399
    Time to perform the search: 23417
    Time to close the connection: 33
    Total time: 23849

  was:
While playing with the Client API, I compared the performance of the same search to JNDI.

With current code, the Client API is unfortunately 5 times slower.

My test is pretty simple, I'm searching with a Subtree scope on 'dc=example,dc=com' partition
which holds 10 000 users.


> Low performance on search operation compared to JNDI (around 5 times slower)
> ----------------------------------------------------------------------------
>
>                 Key: DIRAPI-7
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-7
>             Project: Directory client API
>          Issue Type: Bug
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Critical
>
> While playing with the Client API, I compared the performance of the same search to JNDI.
> With current code, the Client API is unfortunately 5 times slower.
> My test is pretty simple, I'm searching with a Subtree scope on 'dc=example,dc=com' partition
which holds 10 000 users.
> Here are the results:
> - JNDI:
>     Time to create the connection: 90
>     Time to perform the search: 4195
>     Time to close the connection: 1
>     Total time: 4286
> -Client API:
>     Time to create the connection: 399
>     Time to perform the search: 23417
>     Time to close the connection: 33
>     Total time: 23849

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message