Skip to main content

Connector Performance

Usually the performance of a connector will be dominated by:

  • the time to access the connector's external system
  • the time to send data envelopes to and from SyncHive

Getting better performance from a connector is therefore usually achieved by:

  • pooling of connections to external systems
  • multi-threading
  • running multiple instances of a connector behind a load balancer

Writing high performance code in a connector is probably not worth the time required to do so.

Memory consumption issues are unlikely in a connector (unless perhaps message load is extremely high?).

If memory consumption is an issue, consider:

  • tuning the garbage collector toward short-lived objects – most of the memory used by a connector is only needed to translate one message format into another
  • periodically shutting down a long running instances of a connector and spinning up a fresh instance of a connector