Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Address Verification
  3. General Settings
  4. Input Parameters
  5. Process Parameters
  6. Address Enrichments
  7. Result Parameters
  8. Output Fields
  9. Assessment Codes and Return Codes
  10. Frequently Asked Questions

Developer Guide (On-Premises)

Developer Guide (On-Premises)

How Do I Use Informatica Address Verification with Multiple Processor Cores?

How Do I Use Informatica Address Verification with Multiple Processor Cores?

On a device that has
n
number of processor cores, you can configure Informatica Address Verification to have as many as
n
-1 address processing threads.
For example, if the device has four cores, you can configure Address Verification with a
MaxThreadCount
of 3 and
MaxObjectCount
of 3.
When you call the initialization function with the maximum thread count of 3, the main thread of the device creates three worker threads and assigns that to Address Verification. Each worker thread then acquires one
AddressObject
handle through
AD_GetAddressObject( &hAOHandle );
and subsequently keeps repeating the following sequence:
AD_SetInputDataXML( hAOHandle, <XML string> ); AD_Process( hAOHandle ); AD_GetResultXML( hAOHandle, sResultXML, sizeof( sResultXML ) ); AD_ClearData( hAOHandle );
When you shut down Address Verification, the main thread destroys all worker threads and deinitialize Address Verification through the following function calls:
AD_ReleaseAllAddressObjects(); AD_DeInitialize();

0 COMMENTS

We’d like to hear from you!