Cache Connector

Data migrations taking days to complete? Tired of waiting for sluggish systems to service iterations or lookups? Then the Cache Connector may be just what the doctor ordered.

Simply add it to your arsenal, point it at the Connector you already have for reading the data and viol\xE1 your AL will never be the same. This component was initially built to help in a case where the initial data population of Lotus Connections was taking several days to process around 100K users. This was due to a slow, but vital lookup to a less-than-responsive LDAP directory. We modified the AL to use the Cache Connector (which in turn used the original Connector to fill the cache) and the load completed in 90 minutes instead.

In addition to accelerating lookup operations, the Cache Connector also provides blazing Iterator mode with the data sorted on the specified key Attribute.

To use this scripted Connector, follow the instructions below to copy it into your Config. Then edit three variables in the Config tab script (at the top of the edit window, just after the comments):

  • connectorName - This the name of the Library Connector that will be used to fill the cache. This Connector must support Iterator mode.
  • keyAttribute - The name of the input Attribute that will be used as the index to the cache. Note that even if this Attribute has multiple values, only the first one will be used. Furthermore, those entries with no value (or duplicate values) will not be cached.
  • keyIsCaseSensitive - Determines whether the index based on the keyAttribute is case sensitive or not.

As with the HashMap Connector, simply mark the text below (including the start and end tags) and bring it into your copy buffer. Once copied, right-click on the Connectors folder in the Config Editor and select Paste.

NOTE: This has been updated 10 Dec 2008 to fix a problem with Lookup mode.

-- EddieHartman - 10 Dec 2008
Topic revision: r2 - 10 Dec 2008, EddieHartman - This page was cached on 05 Aug 2023 - 18:55.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TDI Users? Send feedback