Improving Performance of Web Applications

Although Uniface applications are infrastructure independent at deployment, significant performance enhancements can be achieved by paying attention to the design of your applications, and the operation of your web server.

Improve the Performance of the Uniface Application

  • In the Uniface server's assignment file (for example, wasv.asn), disable the $TEST_MODE_COMPONENTS assignment setting. $TEST_MODE_COMPONENTS
  • Disable the generation of log files.

Tune the Servlet

  • Decide how many application server instances of the Uniface Server can be started to deal with user requests. If the number of requests exceeds the number of servers, a queue of requests may form, depending on your web server and WRD architecture.
  • In the servlet specification, assign appropriate values to the parameters ASVTIMEOUT, MAXFILEUPLOADSIZE, MAXFILEUPLOADS, MAXPOSTDATASIZE, and RESOURCETIMEOUT to balance the loads and the performance.
  • To reduce the risk of a denial-of-service (DOS) attack, set MAXPOSTDATASIZE to the smallest possible value that is appropriate for your Uniface Server application logic.

Tune the Web Server

  • If possible, try to reduce the amount of additional processing performed on the web server system. For example, if your Uniface server currently runs on the same system as your Web server, consider moving it to another system.
  • Consult your web server documentation for information on techniques and considerations for improving its performance.

Related Topics