Table of Contents

Search

  1. Preface
  2. Getting Started with Informatica Address Verification (On-Premises)
  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
  11. Geocode Countries
  12. CASS Return Codes

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
address processing threads. In general use, Address Verification recommends a value of
n-1
so that one core is available for other tasks.
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 a maximum thread count of 3, the main thread of the software creates three worker threads and assigns them 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 ends all worker threads and deinitializes Address Verification through the following function calls:
AD_ReleaseAllAddressObjects(); AD_DeInitialize();

0 COMMENTS

We’d like to hear from you!