Skip to content

Feature/metric proxy bindings#16

Merged
A-Tarraf merged 8 commits intodevelopmentfrom
feature/metric_proxy_bindings
Jan 27, 2026
Merged

Feature/metric proxy bindings#16
A-Tarraf merged 8 commits intodevelopmentfrom
feature/metric_proxy_bindings

Conversation

@Tim-Dieringer
Copy link
Copy Markdown
Collaborator

Added command to start ZMQ server, which listens for requests from Metric Proxy. Includes variable port, argument usage from the Proxy, MessagePack serialization/deserialization and uses either parallel execution for multiple metrics or normal execution for a single metric.
This is a complementary feature to https://github.com/A-Tarraf/proxy_v2/tree/feature_ftio and is related to Issue #13 .

@A-Tarraf A-Tarraf self-assigned this Jan 8, 2026
@A-Tarraf A-Tarraf added the feature feature request label Jan 8, 2026
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually used, or do you use the prediction server already implemented in FTIO?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ftio/api/metric_proxy/proxy_zmq.py is a zmq server to specifically support what metric proxy needs, so it is used. It's probably possible to change proxy_zmq.py to rely on some of the already implemented functions instead of using a complete custom method but that would require refactoring.

Copy link
Copy Markdown
Member

@A-Tarraf A-Tarraf Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is fine. I was just wondering because we introduced a new class (prediction) and wanted to avoid dictionaries. But if there is no way to use the class, we can keep it this way. I would just suggest that you document these points alongside some instructions (e.g., call tree?) in a separate file for FTIO as described here: https://github.com/tuda-parallel/FTIO/blob/feature/pattern_change_detection/docs/students_contribute.md#-module-documentation-and-licensing. Also, maybe you can add some test cases so that we do not break these functionalities in the future with newer commits (https://github.com/tuda-parallel/FTIO/blob/feature/pattern_change_detection/docs/students_contribute.md#-module-documentation-and-licensing)

@A-Tarraf A-Tarraf merged commit 854c9cc into development Jan 27, 2026
@A-Tarraf A-Tarraf deleted the feature/metric_proxy_bindings branch February 25, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants