Patent ID: 7548989
Filing Date: 2009-06-16
Classification: G06F,H04L,Y10S

Abstract:
1. A method for loading data into a directory, the method comprising: obtaining LDIF (Lightweight Directory Access Protocol (LDAP) Data Interchange Format) entries; associating a priority value with each LDIF entry, adding the LDIF entries into an LDAP directory in accordance with their associated priority values using multiple loading threads, obtaining the LDIF entries in a consecutive manner without performing an initial pass through the data source; storing the LDIF entries and their associated priority values into a data structure; retrieving the LDIF entries from the data structure prior to adding the LDIF entries to the LDAP directory, employing a single reader thread from the multiple reader threads to read LDIF entries from a data source and put the LDIF entries into the data structure; employing the multiple loading threads to get LDIF entries from the data structure and add the LDIF entries to the LDAP directory; managing the data structure using a data structure manager, the single reader thread and the multiple loading threads interfacing with the data structure manager to put and get LDIF entries to and from the data structure; switching between a getting mode of operation in which the reader thread is executing and a putting mode of operation in which the multiple loading threads are executing and a putting mode of operation in which the multiple loading threads are executing so that either the reader thread is executing or the multiple loading threads are executing.