Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace ZMQ #54

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Replace ZMQ #54

wants to merge 12 commits into from

Conversation

magniloquency
Copy link

This PR aims to replace ZMQ in the scaler with a custom solution built using C++ and CFFI

This PR is a work in progress:

  • The code is messy
  • There are bugs
  • Some things are not implemented

Running It

You must have a recent version of g++ installed (the code is built to the gnu++23 standard, but this may change)

Enter the ./scaler/io/cpp directory and run python build.py, this will invoke g++ and build the extension module.

The scaler can now be used as usual.

callback: Callable[[Message], None],
topic: bytes,
exit_callback: Optional[Callable[[], None]] = None,
stop_event: threading.Event = threading.Event(),
daemonic: bool = False,
timeout_seconds: int = -1,
):
raise NotImplementedError
Copy link
Author

Choose a reason for hiding this comment

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

This is TODO

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