Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Replace pm2-axon with ZeroMQ for IPC communication #6614

Closed
ishantiw opened this issue Aug 4, 2021 · 0 comments
Closed

Replace pm2-axon with ZeroMQ for IPC communication #6614

ishantiw opened this issue Aug 4, 2021 · 0 comments
Assignees
Milestone

Comments

@ishantiw
Copy link
Contributor

ishantiw commented Aug 4, 2021

Description

Replace pm2-axon with ZeroMQ

  • Update ipc-client.ts, ipc-server.ts and ipc-socket.ts files under src/controller/ipc

    • ipc_socket to use updated string for connection
    • ipc_server to use zeromq.Publisher and zeromq.Subscriber binded to internal.pub.ipc and internal.sub.ipc respectively
    • ipc_client to use zeromq.Publisher and zeromq.Subscriber connected to internal.sub.ipc and internal.pub.ipc respectively to communicate with the server supporting both pub/sub and RPC.
  • Update Bus and Channel to use ZeroMQ changes

    • Update Bus for changes under setupIPCServer to handle new IPC changes
    • Update Channel registerToBus and invoke functions to handle new IPC changes
  • Fix integration tests under test/integration/controller/ipc

Acceptance Criteria

  • Unit tests under test/unit/controller should pass
  • Integration tests should pass under test/integration/controller/ipc

Additional Information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants