Polling is a mechanism used by adapters to periodically retrieve data from a vendor application that stores data in a permanent store like a database. The settings for the polling interval and polling size can affect adapter performance. Setting too small of a polling size or too large of a polling interval can slow the your adapter’s performance if the vendor application itself is relatively fast. Conversely, setting the polling interval to be too small can create too much of a load on the vendor application.
The publication service in the adapter retrieves data from the store and publishes the desired information about the event in the TIBCO environment. For example, when an application updates a table in a database monitored by an adapter such as TIBCO Adapter for ActiveDatabase, the adapter extracts data from the changed rows from database tables and publishes them on appropriate subjects. An adapter polls (checks/selects) the publishing tables periodically for any new rows to be published. This method is most efficient when the publishing tables change frequently and a limited number of database operations is preferred.
TIBCO Adapter™ Concepts April 2005 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |