Windows Events
This page discusses the various configuration options for the Windows Event Settings options available in NCache such as EventPriorityRatio
, EventBulkCount
, BulkEventCollectionInterval
, and NotificationEventInterval
.
Event Priority Ratio
On the server-side, a priority queue is used between Events and cache operations. The EventPriorityRatio
property defines the Event ratio. The default value is 30. EventPriorityRatio
cannot be less than 1.
<add key="NCacheServer.EventPriorityRatio" value="30" />
Bulk Event Count
The server now sends bulk events to the client, but the bulk size is configurable. The default value is 50, EventBulkCount
cannot be less than 1.
<add key="NCacheServer.EventBulkCount" value="50" />
Bulk Event Collection Interval
The BulkEventCollectionInterval
defines the interval for bulk Event collection. The default value is 2 seconds. BulkEventCollectionInterval
cannot be less than 1.
<add key="NCacheServer.BulkEventCollectionInterval" value="2" />
Notification Event Polling Interval
NotificationEventInterval
is a server-side polling notification interval for change Events. This value is in seconds. The minimum value is 1.
<add key="NCacheServer.NotificationEventInterval" value="1" />
Logging
This enables/disables the logging of client connectivity Events into the Windows Logs. By default, these Events are disabled.
<add key="NCacheServer.LogClientEvents" value="false" />
Specifies the level of Events that are logged into the Windows Logs. There are three levels of Events:
- ERROR: Only errors will be logged
- WARNING: Errors and warnings will be logged
- All: All Events will be logged
<add key="NCacheServer.EventLogLevel" value="all" />