Skip to content

pysmurf-monitor: Enable metadata feed buffer#1071

Merged
BrianJKoopman merged 1 commit into
mainfrom
koopman/pysmurf-monitor-metadata-feed-buffer
May 29, 2026
Merged

pysmurf-monitor: Enable metadata feed buffer#1071
BrianJKoopman merged 1 commit into
mainfrom
koopman/pysmurf-monitor-metadata-feed-buffer

Conversation

@BrianJKoopman
Copy link
Copy Markdown
Member

Description

This PR enables the feed buffer for the pysmurf-monitor metadata feed(s).

Motivation and Context

This prevents the feed from publishing immediately, instead publishing 1/sec, which should reduce the load on the crossbar server. This is publishing around 150-200/sec in practice otherwise.

How Has This Been Tested?

I've tested this change while publishing as fast as I possibly can from a single thread on my laptop. The crossbar server CPU usage drops from essentially full (100%) usage to <1%.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

This prevents the feed from publishing immediately, instead publishing 1/sec,
which should reduce the load on the crossbar server. This is publishing around
150-200/sec in practice otherwise.
@BrianJKoopman BrianJKoopman changed the title pysmurf-monitor: Enable feed buffer pysmurf-monitor: Enable metadata feed buffer May 29, 2026
@BrianJKoopman BrianJKoopman merged commit 88d7bf4 into main May 29, 2026
14 checks passed
@BrianJKoopman BrianJKoopman deleted the koopman/pysmurf-monitor-metadata-feed-buffer branch May 29, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant