Performance, and How to Get It

Most applications have performance concerns. Some do very infrequent LDAP operations. In those cases, it may be that nothing you can do in the code that calls the Java LDAP SDK will have any noticeable effect on the overall speed of the application. At the other end of the spectrum are many server-side programs, such as Web-based applications that use LDAP to authenticate every visitor to a Web site, or to retrieve the preferences of each visitor. Even modest speed increases in LDAP operations may have a big impact on the bandwidth that the site can handle.

Besides speed, memory usage is a concern in most sizable Java programs. In the following discussion we will present ways to minimize memory requirements and ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.