session_shared — Metaproxy Module for sharing system ressorces between threads
This filter implements global sharing of result sets (i.e. between threads and therefore between clients), yielding performance improvements especially when incoming requests are from a stateless environment such as a web-server, in which the client process representing a session might be any one of many. It performs the following actions:
Reduce the number of backend server sessions.
Reduce the number of initializations with backend servers.
Optimize the use of result-sets.
Configurable values:
When a backend session is idle for more than this amount of time, given in seconds, it will be closed. Default value is 90 seconds.
When a backend session result-set is not in use for more than this amount of time, given in seconds, it will be deleted/reused. Default value is 10 seconds.
This specifies the maximum number of result-sets in use by a backend. The number only applies to targets/servers with named result sets. Targets that do not support named result sets may only have one active result set. Default value is 10.
# Metaproxy XML config file schema
namespace mp = "http://indexdata.com/metaproxy"
filter_session_shared =
attribute type { "session_shared" },
attribute id { xsd:NCName }?,
attribute name { xsd:NCName }?,
element mp:resultset {
attribute max { xsd:integer },
attribute ttl { xsd:integer },
attribute optimizesearch { xsd:boolean }
}?,
element mp:session {
attribute ttl { xsd:integer }
}?