Performance Tuning of Connect Portal

Performance Tuning of Connect Portal

For the production environment, you need to tune Connect Portal configuration to improve the performance of Adeptia Connect.

You can also do the following steps together while configuring SSL on Connect Portal.

Do the following:

  1. Go to …/<ConnectPortalInstallFolder>/conf.

  2. Open server.xml file in the Text Editor.

  3. Change the value of the following parameters to the suggested value and save the file.

Name

Description

Suggested Value

Name

Description

Suggested Value

Tomcat Tuning

maxThreads

The maximum number of request processing threads to be created by this Connector, which therefore determines the maximum number of simultaneous requests that can be handled.

5000

connectionTimeout

The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented.

20000

maxConnections

The maximum number of connections that the server will accept and process at any given time.

10000

GZip Compression

 

Server

Overrides the Server header for the http response.

Adeptia

compression

The Connector may use HTTP/1.1 GZIP compression in an attempt to save server bandwidth.

ON

noCompressionUserAgents

The User Agents for which compressions is not to be used. Some older browsers do not support compression.

gozilla, traviata

compressableMimeType

The value is a comma-separated list of MIME types for which HTTP compression may be used.

text/html,text/xml,text/  css,application/javascript,application/ json

useSendfile

(bool) To enable or disable sendfile capability. The default value is TRUE. Note that the use of sendfile will disable any compression that Tomcat may otherwise have performed on the response.

false



Configuring memory for Connect Portal

Connect Portal is installed with default memory as 1024 and 2048 MB. You may need to set up memory to improve the performance of Connect Portal. To change the memory:

  1. Go to …/<ConnectPortalInstallFolde>/conf

  2. Open luncher.properties file and add the following to the jvm parameters

  3. You can set the value according to your requirement. For minimum memory -Xms1024M and maximum memory -Xmx2048M.




  4. Save the file.

  5. Restart the Connect Portal.


Next Step

Enabling Clustering


See also

Setting up a Company