Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

push event performance issue #244

@tango-controls-bot

Description

@tango-controls-bot

When using push_change_event and push_archive_event there is a big difference in performances if using it with the "criteria managed by library" option (second argument of set_xxx_event) set to true or false.
In the first case there is a lot of CPU consuption in the push_xxx_event execution also when thresholds criteria for sending the event are not met. Furthermore there is a quite high variance in the execution time of push_xxx_event.
Finally in both cases there is an increase of CPU consuption in the push_xxx_event execution if there are client subscribed to the event.

Attached there is a document with some results on a real case and a simple test device server to reproduce.

Note: in the second case threshold are read from the DB only at startup of the server.

Reported by: scalamera

Original Ticket: tango-cs/bugs/803

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions