在Remedy ARS的开发环境中为了加快开发的保存的速度,可以调整Cache-Mode为“1 ”

来源:互联网 发布:mbot机器人编程 编辑:程序博客网 时间:2024/03/29 18:02

在Remedy ARS的开发环境中为了加快开发的保存的速度,可以调整Cache-Mode为“1 ”;

 

开发环境  必需(或建议)打开 Cache-Mode: 1
生产环境 必需打开 Cache-Mode: 0 (或不设该参数时默认 turns off)

Remedy ARS文档说明如下:

 

Cache-Mode Enables a cache mode that is optimized for developing applications and where
user operations might be delayed when changes are made to forms and workflow.
A value of 1 turns on development cache mode; a value of 0 (zero) turns off
development cache mode; the server is in production mode. If there is no entry in
the ar.cfg (ar.conf) file, development cache mode is off. The following example
shows development cache mode on:
Cache-Mode: 1
 
=========================================================
Configuring a server for development or production
cache mode
There are two cache modes that you can set for your server operation,
development cache mode and production cache mode. Production mode is
the default and is appropriate where there are a large number of application
users.
In development mode, the admin thread for API calls does not copy the cache
but locks incoming threads out of the existing cache and waits for threads
currently using the cache to complete their operations before performing
changes. The thread will not release the cache until the end of the API call.
No time is spent copying the cache so operations have a smaller memory
footprint and are performed faster than in production mode. Development
mode is intended for servers whose main purpose is application
development. It is unsuitable for servers with a large number of application
users in a production environment because the operations of those users will
be blocked when forms and workflow are changed, especially when many
structures are changed, such as when importing an application.
You must restart the AR System when both setting and clearing the
development cache mode.

 

 

 

原创粉丝点击