środa, marca 30, 2011

Persistent HTTP with Tibco

Tibco BusinessWorks 5.6+ supports persistent HTTP connections. The only thing you must do to enable it is setting in tra file variables:

bw.plugin.http.client.usePersistentConnectionManager=true
bw.plugin.http.client.usePersistentConnectionManagerForSSL=true (5.12+)
bw.plugin.http.client.checkForStaleConnections=false

You may also find useful:

bw.plugin.http.client.maxConnectionsPerHost=[20]
bw.plugin.http.client.maxTotalConnections=[200]
bw.plugin.http.server.acceptCount=[100] # socket accept queue length
bw.plugin.http.client.ResponseThreadPool.type=single
bw.plugin.http.client.ResponseThreadPool=[10] #thread pool size for concurrent req-resp HTTP activities

Offtopic tuning tip: Engine.ThreadCount >= JDBC connection pool size and Engine.Database.TestStatement.*=select 1 from dual.



0 komentarze: