Hi,
It's not a real issue, we use your Framework to make validation of entries before exporting an ldif. With a code that looks like this
ldif_connection = Connection(server=None,client_strategy='LDIF')
user_entry_type = EntryType('...') #Put whatever data here, dn is a template using uid attribute
for user_data in users_data: # users_data is a list of dict containing more than 10 attributes
user = user_entry_type(user_data) # It takes about 0.001 for each user
ldif_connection.add( # This too takes about 0.001 for each user
user.entry_dn,
user.object_classes,
user.entry_attributes_as_dict
)
We found that each of the two operations in the loop cost 0.001 s.
Are there some parameters we could use to speed up one of those operations?
Is it possible to make it much faster with more CPU or RAM?
Can multprocessing help here?
Thanks.
Hi,
It's not a real issue, we use your Framework to make validation of entries before exporting an ldif. With a code that looks like this
We found that each of the two operations in the loop cost 0.001 s.
Are there some parameters we could use to speed up one of those operations?
Is it possible to make it much faster with more CPU or RAM?
Can multprocessing help here?
Thanks.