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

Self-contained modules #485

Open
GiasemiSh opened this issue May 5, 2020 · 1 comment
Open

Self-contained modules #485

GiasemiSh opened this issue May 5, 2020 · 1 comment

Comments

@GiasemiSh
Copy link

The fact that modules need to be started by the master server requires all modules to be present in the PATH for qmstr master server to start them. This leads to several short-commings:

  • Long cycles of reassembling the whole image when changing something in one module.
  • All dependencies of a module need to be installed in the master image.
  • It is difficult to debug modules.
    To overcome this modules should be self-contained and able to run outside the qmstr master server. Starting the modules should be done by qmstrctl since analysis and reporting phase are triggered via qmstrctl anyway. Modules could run on the host qmstrctl runs on or in a dedicated container that -- with the help of qmstrctl -- is started in the master server's container network.

For this to work master and module need to have a conversation. The protocol for this conversation uses gRPC's bi-directional streaming as follows:

module master | register | |------------------>| | | | config | |<------------------| | | | ready | |------------------>| | | | start | |<------------------| | | | send result 1 | |------------------>| ... | send result n | |------------------>| | end | |------------------>|

@GiasemiSh GiasemiSh self-assigned this May 5, 2020
@GiasemiSh GiasemiSh linked a pull request Aug 4, 2020 that will close this issue
5 tasks
@fullsushidev fullsushidev modified the milestones: FASTEN D4.6, FASTEN D4.5 Aug 13, 2020
@fullsushidev fullsushidev added enhancement New feature or request FASTEN Tasks/features related to the FASTEN project deliverables labels Aug 13, 2020
@fullsushidev fullsushidev modified the milestones: FASTEN D4.5, FASTEN D4.6 Sep 2, 2020
@fullsushidev fullsushidev modified the milestones: FASTEN D4.6, FASTEN D4.3 Oct 13, 2020
@fullsushidev
Copy link
Contributor

TODO: Create smaller tasks derived from this proposal.

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

No branches or pull requests

2 participants