There must be a huge latency penalty with this setup, which would preclude some uses. But I’m wondering if you could use VS Code remote on a VM next to the k8s cluster and get almost the same dev experience without having the app see extra latency.
Hey, one of mirrord’s maintainers here. There’s of course extra latency as traffic has to go from your machine to the cluster and back, but as the common use case for mirrord isn’t performance-intensive to begin with (testing functionality of new code, or debugging existing issues in the cloud), this isn’t really a factor for most of its users.
But as you suggested, it is possible to use mirrord in tandem with a development machine within the cluster. We’re seeing this happen in organizations that already use a remote development environment solution like Gitpod.
Testing new code or debugging in a performance-intensive service is performance-intensive, right? Like, if I’m working on an authz service or database proxy and everything else expects it to respond in a millisecond, it’s going to be a problem. So it’s good there’s a way to get this experience (which sounds great) in that situation.
Great alternative indeed!
There must be a huge latency penalty with this setup, which would preclude some uses. But I’m wondering if you could use VS Code remote on a VM next to the k8s cluster and get almost the same dev experience without having the app see extra latency.
Hey, one of mirrord’s maintainers here. There’s of course extra latency as traffic has to go from your machine to the cluster and back, but as the common use case for mirrord isn’t performance-intensive to begin with (testing functionality of new code, or debugging existing issues in the cloud), this isn’t really a factor for most of its users.
But as you suggested, it is possible to use mirrord in tandem with a development machine within the cluster. We’re seeing this happen in organizations that already use a remote development environment solution like Gitpod.
Testing new code or debugging in a performance-intensive service is performance-intensive, right? Like, if I’m working on an authz service or database proxy and everything else expects it to respond in a millisecond, it’s going to be a problem. So it’s good there’s a way to get this experience (which sounds great) in that situation.