Who is this article for?IT personnel responsible for managing Q-Pulse.
IT access will be required.
Q-Pulse can be optimised to improve your overall system performance. Optimisation can be made on the database, the application server or the client depending on your environment.
This article outlines how to optimise the Q-Pulse application server and is split into the following sections:
- Set/Increase the SQL Command Timeout
- Switch Off Authenticode Verification
- Set Chunk Size When Uploading and Downloading Attachments
- Further Reading
Important Note: It is recommended that you backup any files before editing them. If you experience any issues then you can restore the original unedited file.
Looking for details on the Q-Pulse architecture? Visit Q-Pulse System Architecture for more details.
1. Set/Increase the SQL Command Timeout
All of the Q-Pulse data is held in a SQL database. When the information displayed in Q-Pulse is changed, the application will automatically perform SQL operations to update the data on the SQL server. The default SQL timeout options will determine how long these operations will run for.
Increasing the timeout is recommended if:
- There is a large geographical distance between the application server and database server which may result in a delay carrying out tasks
- The SQL server hosts various other databases which may result in slower performance
- The user will be carrying out actions that require complex calculations to be performed (e.g. restructuring large managed lists)
The benefits of this change are outlined below:
Benefits of Configuration | Details |
---|---|
Control Over SQL Timeout | The time allowed for SQL commands to be performed can be controlled by IT. |
Additional Time to Perform Tasks | The time can be increased to allow more complicated actions to be performed in SQL (e.g. moving managed list items will require a recalculation of the list path). |
To set the SQL command timeout for Q-Pulse 6.5 and above
- On the application server, browse to the Q-Pulse web site folder. By default, this will be C:\inetpub\wwwroot\QPulseDataPortal
- Locate and open web.config with Notepad
- Add a new entry to the <appSettings> section:
<add key="SqlCommandTimeout" value="120"/>
- Save the web.config.
To set the SQL command timeout for Q-Pulse 6.0 to 6.2
- On the application server, browse to the Q-Pulse web site folder. By default, this will be C:\inetpub\wwwroot\QPulse
- Locate and open web.config with Notepad
- Add a new entry to the <appSettings> section:
<add key="SqlCommandTimeout" value="120"/>
- Save the web.config.
To set the SQL command timeout for Q-Pulse 6.0 and below
- On the application server, browse to the Q-Pulse web site folder. By default, this will be C:\inetpub\wwwroot\QPulse5
- Locate and open web.config with Notepad
- Add a new entry to the <appSettings> section:
<add key="SqlCommandTimeout" value="120"/>
- Save the web.config.
2. Switch Off Authenticode Verification
In older versions of Q-Pulse (versions 5.51 to 5.90), the start-up process required authenticode verification. In order to do this, the application server will connect to the internet so that various file assemblies can be verified. This verification process can have a negative impact on the product in environments where network performance may be an issue and may prolong the log on process.
The verification process can be skipped in .NET 3.5 by updating your aspnet.config file.
The benefits of this change are outlined below:
Benefits of Configuration | Details |
---|---|
Faster Product Login | The speed of the username and password box being displayed is increased. |
Important Note: This is a global setting and this change will affect all ASP.NET applications running on this server. If you have other ASP.NET applications hosted on this server please ensure that this setting is appropriate and that it will not impact the other applications. You can read more about the generatePublisherEvidence element on the MSDN webpage.
- Browse to %systemroot%\Microsoft.NET\Framework\v2.0.50727 and open the aspnet.config file in notepad.
- Add the line below within the <runtime> element:
<generatePublisherEvidence enabled="false"/>
- The contents of the file should look similar to the following:
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<runtime>
<legacyUnhandledExceptionPolicy enabled="false" />
<legacyImpersonationPolicy enabled="true"/>
<alwaysFlowImpersonationPolicy enabled="false"/>
<SymbolReadingPolicy enabled="1" />
<generatePublisherEvidence enabled="false"/>
</runtime>
</configuration>
If any issues are identified by applying this configuration you can roll back the change by removing thegeneratePublisherEvidence line from the aspnet.config file.
3. Set Chunk Size When Uploading and Downloading Attachments
Important Note: This section can only be implemented in Q-Pulse version 6.2 or later.
Some customers may experience issues when downloading and uploading attachments from Q-Pulse. Especially over the internet or slow networks. Currently in Q-Pulse the default chunk size is 128KB, however this can be increased by adding the tags found below to the web.config file for the Q-Pulse Dataportal.
The benefits of this change are outlined below:
Benefits of Configuration | Details |
---|---|
Faster Download and Upload of Documents | The speed in which Documents are download/uploaded to and from the client will be increased. |
- Browse to the Q-Pulse Dataportal web.config file. By default, this config file is stored in C:\inetpub\wwwroot\QPulseDataPortal.
- Within the <appSettings></appSettings> tags, add following keys to increase the upload and download chunk size to 2MB.
<add key="DownloadChunkSize" value="2097152"/>
<add key="UploadChunkSize" value="2097152"/>
Increasing the chunk size for Q-Pulse 6.0 to 6.2
- Browse to the Q-Pulse Dataportal web.config file. By default, this config file is stored in C:\inetpub\wwwroot\QPulse.
- Within the <appSettings></appSettings> tags, add following keys to increase the upload and download chunk size to 2MB.
<add key="DownloadChunkSize" value="2097152"/>
<add key="UploadChunkSize" value="2097152"/>
Increasing the chunk size for Q-Pulse 6.0 and below
- Browse to the Q-Pulse Dataportal web.config file. By default, this config file is stored in C:\inetpub\wwwroot\QPulse5.
- Within the <appSettings></appSettings> tags, add following keys to increase the upload and download chunk size to 2MB.
<add key="DownloadChunkSize" value="2097152"/>
<add key="UploadChunkSize" value="2097152"/>
Article Comments
0 comments