How to tune the AS datagrid connection session pool size.

How to tune the AS datagrid connection session pool size.

book

Article ID: KB0071177

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces 8.0.3

Description

The Session Pool is created at shared resource initialization. Its default pool size is 10 and it can be configured using system property "maxPoolSize". That is, the JVM argument -DmaxPoolSize can be set in the config.ini file of BW application to tune the datagrid session pool size.

Note that the AS operation(Get/Put/Delete..) activities are Async activities, AS operation execution happens on the independent thread. Session is borrowed from the session pool for each AS operation request at activity level and after the AS operation is completed, the session is returned to the pool and not destroyed. A session object provides the context for a thread of operations involving data grid resources.
 

Environment

All supported environments

Issue/Introduction

How to tune the AS datagrid connection session pool size.

Additional Information

Session Pool, AS BW Plugin connection resource, DataGrid connection session