Speedscale vs. mirrord for Kubernetes Traffic Testing
You fixed a Kubernetes bug that only happens with one customer’s request shape. The next step is a regression test that can run after that traffic disappears. Speedscale records the request and supported dependency exchanges so you can reproduce the case against later builds. If you’re still stepping through the bug with live cluster context, mirrord can connect your local process to the selected workload. Speedscale replay overview · mirrord architecture
- mirrord helps engineers step through local code with live Kubernetes context.
- Speedscale gives teams a way to preserve one observed case and run it as a release check.
- Recorded dependency replies help hold test conditions steady. Capture policy and mock matching determine which cases you can reuse.
Choose based on what happens after debugging
| Question | mirrord | Speedscale |
|---|---|---|
| Where does the input come from? | Incoming traffic from a selected Kubernetes target can reach a local process, subject to the traffic mode. | Requests from an approved recording can be replayed at the target build. |
| What does the application call? | Outgoing connections can use the selected cluster context. Filters can control which hosts stay local. | Supported dependency replies can come from the recording, with the option to keep selected dependencies real. |
| What evidence persists for the next change? | A live development session lets you inspect the local process under cluster conditions. | Keep the recording and compare the next candidate with a reference replay. |
| What data controls matter? | Configure traffic mode and access to remote dependencies for the session. | Configure capture filters and DLP rules for the recorded artifact you retain and share. |
mirrord networking · mirrord outgoing filters · Speedscale capture filters · Speedscale replay gates
Preserve the condition that exposed the bug
Suppose a shipping service treats a missing carrier field as a successful delivery estimate. mirrord can help a developer step through the local application with the target’s network context. In mirror mode, the existing service still answers the original inbound request and the local reply is dropped. The local application’s outgoing connections have their own configuration. A team that uses shared state can review where the debugging process makes those calls. mirrord incoming modes · mirrord outgoing traffic
The carrier might return an ordinary reply the next time the team tests the patch. Speedscale gives you a way to retain the exchange and hold the same condition steady. A reference run establishes how the version you trust responds to the missing field. A candidate replay then shows whether the outcome changed for the same inbound input and dependency response. Speedscale replay lifecycle · Speedscale regression tutorial
Give the next engineer enough evidence
For the carrier case, a useful fixture has the incoming request, the downstream reply that triggered the branch, and the context the mock needs to match the call. The expected application outcome might be a response that asks the client to retry. A teammate investigating a failure should be able to distinguish a request the mock missed from an application that received the intended reply and handled it incorrectly. Speedscale mock match reporting · Speedscale replay verdicts
A capture from a shared Kubernetes environment can contain private values. The Speedscale forwarder applies configured rules in the capture cluster before sending traffic to Speedscale Cloud. Once the rule is active, a fresh snapshot gives the team something concrete to review. Fields used for routing and matching deserve particular attention. A masked value that the application validates may need a generated stand-in of a supported type before replay. Applying DLP rules · Generating test data
The fixture should be narrow enough for the service owner to maintain. Start with the stable outcome that mattered in the incident. If a timestamp or request identifier varies by run, keep the assertion focused on the status or field that tells you whether the application made the right decision. That way a future developer can act on the failure without first reconstructing the original debugging session. Speedscale replay comparisons
A replayable incident can also give the team a way to check a later refactor that touches a different part of the service. The useful measure is whether the same scenario still reaches the branch and produces its expected outcome. A full integration run against live dependencies can answer the separate question of whether those dependencies still accept the new service.
Run one difficult Kubernetes case in Speedscale
Start with a failure that was hard to reproduce twice. Capture a permitted instance, retain the dependency response that triggered it, and use the outcome to judge a second build. When that case fails a CI job for the right reason, you have a regression the team can keep testing after the debugging session ends. Start a Speedscale trial
Frequently asked questions
What does mirrord mirror mode do?
mirrord can mirror incoming TCP traffic from a selected Kubernetes target to a local process. The remote workload still serves the original requests, and mirrord drops local responses to mirrored requests.
When should I choose Speedscale over mirrord?
Choose Speedscale when you need to repeat an observed interaction across builds, control which dependency replies the application sees, and turn the result into a CI release check.
Can I use mirrord and Speedscale together?
Yes. A team can use mirrord to debug local code with live Kubernetes context and use Speedscale to capture and replay the relevant scenario for later changes.