-
Notifications
You must be signed in to change notification settings - Fork 10
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
bug: tio can run without NATS or ETCD #203
Conversation
6fd5ede
to
c991f0b
Compare
Previously `tio` wouldn't run unless etcd and nats were present in the environment, even though it doesn't use them yet. This makes it easier to use `tio`.
688cd23
to
5c21c70
Compare
//let dt_config = triton_distributed::distributed::DistributedConfig::from_settings(); | ||
// Wraps the Runtime (which wraps two tokio runtimes) and adds etcd and nats clients | ||
let d_runtime = triton_distributed::DistributedRuntime::new(runtime, dt_config).await?; | ||
//let d_runtime = triton_distributed::DistributedRuntime::new(runtime, dt_config).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate a bit on the implications of this? For example, with the distributed_runtime included, would you be able to hook up components exposed run by tio
with llmctl
or other tooling, and with these commented out, would they no longer be discoverable? Looking for high level ideas to learn more about how the moving parts relate to each other
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no implications. We were creating a DistributedRuntime but not using any parts of it.
Currently there are no components and no discovery. Once we start doing out=nats
we will want the distributed runtime, so I left it in commented out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks Graham!
Previously
tio
wouldn't run unless etcd and nats were present in the environment, even though it doesn't use them yet.This makes it easier to use
tio
.