DevPortal

How do I Tune Pramati Server for IIS?


This section discusses a few means by which you can tune Pramati Server for IIS.

How do I Close Idle Sockets on Pramati Server?

With WebGate running, Pramati Server can be tuned for better performance with IIS. These parameters are mostly modified in the Pramati Server configuration file, server-config.xml, located under the Server installation directory. The most significant property has to do with closing idle sockets that may be open on Pramati Server.

To set the socket time out for Pramati Server with IIS, in the web-config.xml, modify the value of <keepalive-timeout-millis>30000</keepalive-timeout-millis>. The default value of keepalive-timeout-millis is 1000 ms in milliseconds.

How do I set Send/Receive Buffer Size?

Table 1: Setting send and receive buffer size for Pramati Server with IIS
Parameter Default Value Set Tag in web-config.xml



send-buffer-size-bytes 1024 <send-buffer-size-bytes>65536</send-buffer-size-bytes>
received-buffer-size-bytes 1024 <received-buffer-size-bytes>65536</received-buffer-size-bytes>


What is a Secure Connection?

If the connection between the WebGate plugin and Pramati Server is to be secure, the SecureConnection property in the iisplugin.props file needs to be set to true. Also, the Server should be started in secure mode by setting the <property name="ssl-enabled" value="true"/> in server-config.xml to true. The default value of ssl-enabled is false.

If ServerAuthentication property is set to true, a Certificate Authority file needs to be generated. To know more about how to generate a Trusted CA file, read the Pramati Server Security Framework.

How do I use Connection Pools?

Instead of creating a new socket from WebGate to Pramati Server, a specified number of sockets can be created at start up and reused. This number is set in the iisplugin.props as MaxSockPool.

How do I Cache Static Content?

Static content such as images and HTML files can be cached by WebGate itself.

The maximum image size that can be cached is 50K and the maximum cache size is 10 MB. Plug-in level caching is enabled by setting the directive CachingEnabled to true in iisplugin.props. The directive InvalidateCacheAfter specifies the time after which the cached content is refreshed.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal