Skip to Main Content
Categories API
Created by Mark Stuart-Walker
Created on Apr 12, 2023

Improve listener queuing efficiency by only queuing certain entity types and event types

At present the listener queues are equally updated with every event type on every entity type. All of my listeners check the incomming entity type and reject unwanted queue items. It would be better to only queue the wanted types in the first place.

It would be better if when a listener is configured a filter can be defined for

* The entity type ids that apply e.g. "Item,ChannelNode"
* The event types that apply "Created,Updated"

This would reduce the persistences of new queued events and overall reduce CPU burn.

  • Attach files
  • Mark Stuart-Walker
    Reply
    |
    May 10, 2024

    This has been implemented with Event Filtering

  • +5