Skip to content

Run daemon on a server or in a different container #11

@mverleg

Description

@mverleg

It should not be very hard to make the daemon run on a server and have the CLI connect to it remotely.

This may be useful in a compiler-farm setup, or in a CI pipeline where a build-container keeps a continuous cache.

Some things that'd need to be addressed:

  • Lockfiles and stopping daemons would be more limited, probably without ability to kill unresponsive daemons.
  • Source file content needs to actually be sent to the daemon, with a clever way to send only unknown files.
  • Add a command to connect to a remote daemon, which'd be used instead of start. Also similar flags for build etc.
  • Should the run subcommand run locally or remotely? (Probably local)

For now let's not include having multiple daemons with a load balancer, though it might be possible one day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions