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

Add ability to run cargo-maelstrom (and the client in general) in standalone mode #161

Closed
nfachan opened this issue Feb 3, 2024 · 1 comment

Comments

@nfachan
Copy link
Collaborator

nfachan commented Feb 3, 2024

As people start to use maelstrom, we're going to want to have an easy way for them to try it out. A lot of people won't have other machines on which to run a broker and worker. Some thoughts:

  • It would be cool if you could just run cargo maelstrom run in some sort of standalone mode. The broker and worker would last only until the client finished executing.
    • In its most basic incarnation, this could just start up the broker and worker as separate processes. But that would be less than ideal from an efficiency point of view. Another option would be to cut the broker out entirely and have a specialized worker that the client would submit to immediately.
    • If we had a fuse-based worker, then we could just have a different fuse implementation that fulfilled the file system requests from the files specified in the client's manifest. This might involve copying some files around, or better yet hard-linking them. If we had a overlayfs-based worker, we'd have to create the various layers, again maybe by doing some hardlinking.
  • As covered elsewhere. We may want to be able to have a local worker for other reasons.
@nfachan nfachan added this to the Launch milestone Feb 3, 2024
@nfachan nfachan modified the milestones: Launch, 0.7.0 Apr 19, 2024
@nfachan
Copy link
Collaborator Author

nfachan commented Apr 19, 2024

Done.

@nfachan nfachan closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant