October 2023 Summaries
3 posts from Speedscale
Filter
Month:
Year:
Post Summaries
Back to Blog
Load testing evaluates how reliably an application and its infrastructure perform under expected or elevated traffic, and the tutorial explains how Speedscale and k6 can be combined to use production-derived traffic in locally run performance tests. Speedscale integrates with Kubernetes through an Operator to capture and replay real application traffic, while the open-source k6 tool runs JavaScript-based load tests from a local machine and supports scenarios such as stress, smoke, browser, and protocol-level testing. The workflow uses Minikube and a demo Kubernetes application, installs and configures the Speedscale Operator, instruments services with a sidecar to capture traffic, saves the captured activity as a snapshot, and exports that snapshot into a k6 script. Users then forward a Kubernetes service port to their local machine, update the generated script’s target hostname, and execute it with k6 to obtain metrics including request duration, failures, throughput, iterations, and network use. The tutorial also notes that k6 Cloud can optionally host and manage exported tests with configurable virtual users and real-time performance insights.
Oct 27, 2023
1,714 words in the original blog post.
Skaffold is an open-source Google command-line tool that streamlines Kubernetes-focused inner-loop development by automating container image builds, tagging, registry pushes, manifest updates, and deployments to local or remote clusters. Designed to reduce the operational burden of Dockerfiles and Kubernetes YAML while supporting tools such as Helm, it enables developers to focus on application code, rapidly reflect source changes in running workloads, and build CI/CD workflows with commands such as `skaffold dev`, `build`, and `deploy`. The walkthrough uses Rancher Desktop to provision a local Kubernetes cluster, installs Skaffold, and configures a basic Node.js Express application with deployment and service manifests, a Dockerfile, and an automatically generated `skaffold.yaml` file. In continuous development mode, Skaffold watches the source code, rebuilds and redeploys the application after changes, and allows developers to verify the updated service in the cluster, illustrating how it can improve efficiency, consistency, and developer experience in cloud-native application development.
Oct 17, 2023
1,663 words in the original blog post.
Traffic replay captures and stores production-like request traffic so teams can reproduce real conditions in test environments, investigate failures such as unexpected peak-load outages, and assess application behavior before deployment. Unlike traffic mirroring, which duplicates live traffic without persistence, sanitization, or built-in validation, replay systems can retain traffic over time, redact sensitive data, transform elements such as timestamps and authentication headers, and compare replay results against recorded responses. The guide uses Google’s Kubernetes Online Boutique microservices demo and minikube to illustrate deployment, then describes installing Speedscale’s operator and sidecar proxies to capture traffic, with attention to objectives, limiting capture scope, resource isolation, production-like test environments, TLS handling, and privacy requirements including PII scrubbing. Captured traffic can be saved as reusable snapshots and replayed through a web interface or CLI against selected clusters and workloads using configurations for standard validation, high-volume performance testing, or fault injection, with reports covering metrics such as latency, throughput, success rates, and assertions. It also explains that recorded dependency interactions can generate automatic mocks, allowing teams to test a service in isolation with realistic responses and potentially integrate replay-based checks into CI/CD pipelines.
Oct 12, 2023
5,278 words in the original blog post.