Try Playground
Show / Hide Table of Contents

Message Events

This page discusses the various event tags for Message events available in NCache.

Configure Message Event Tags

NCache provides configurable settings to optimize server-side message event management. These settings include controls for message processing iterations, polling limits, and options to override pending event messages for improved efficiency. You can use the following tags to manage and control the message events available in NCache.

MessagesToProcessPerIteration

This tag specifies the maximum number of message events to process per iteration of Message Processor - a server-side thread that checks messages published against a topic and assigns them to the respective subscribers. The default value is 2000.

<add key="NCacheServer.MessagesToProcessPerIteration" value="2000"/>

MaxMessagesPerPoll

This tag specifies the maximum number of messages that can be fetched in a single poll request. The default value is 3000.

<add key="NCacheServer.MaxMessagesPerPoll" value="3000"/>

StoreSingleEventMessagePerKey

This tag specifies whether to store the latest event message for a given key. When enabled, a new event message will override a previous pending event message of the same key. The default value is false.

<add key="NCacheServer.StoreSingleEventMessagePerKey" value="false"/>

StoreSingleCQEventMessagePerKey

This tag indicates whether to store only the most recent Continuous Query (CQ) event message for a specific key. When enabled, a new CQ event message replaces any previously pending message for the same key. The default value is false.

<add key="NCacheServer.StoreSingleCQEventMessagePerKey" value="false"/>

See Also

Expiration & Eviction
SQL Server
Logging

In This Article
  • Configure Message Event Tags
    • MessagesToProcessPerIteration
    • MaxMessagesPerPoll
    • StoreSingleEventMessagePerKey
    • StoreSingleCQEventMessagePerKey
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top