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

在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.

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值