December 2026 Summaries

4 posts from Keploy

Filter
Month: Year:
Post Summaries Back to Blog
Feature flags are runtime configuration switches that let teams deploy code separately from releasing it, targeting features to particular users or gradually expanding access without redeployment. The article distinguishes short-lived release and experiment flags from long-lived operational kill switches and permission flags, and explains how flags support trunk-based development and progressive rollouts. It recommends clear names, owners and expiry dates, safe defaults, centralized checks, change logging, and testing both enabled and disabled behavior; recorded-traffic replay is presented as one way to compare results in each state. To limit flag debt and growing test complexity, teams should regularly remove obsolete release flags, their old code paths, and related configuration.
Dec 03, 2026 1,585 words in the original blog post.
Shadow deployment tests a new service version by asynchronously mirroring real production requests to it while the live version continues to answer users; teams can compare responses and assess correctness, performance, and stability before releasing through a canary or blue-green rollout. The approach is useful for major rewrites and migrations, but requires capacity planning, traffic sampling, response-diffing, and careful isolation of writes and external side effects to prevent duplicate records, emails, or payments. The article outlines traffic-mirroring options in Istio, Linkerd, and NGINX, and contrasts live mirroring with recorded-traffic replay, which can test functional changes using captured requests and mocked dependencies without production side effects, though it does not measure behavior under real concurrent load.
Dec 03, 2026 1,959 words in the original blog post.
The testing pyramid recommends placing most automated checks at the fastest, most focused level: unit tests at the base, integration and API tests in the middle, and a small set of end-to-end tests at the top. This distribution aims to speed feedback, reduce maintenance and flakiness, and make failures easier to diagnose; an inverted “ice cream cone” of many UI tests and few lower-level checks tends to create the opposite problems. Alternative models, including the testing trophy, honeycomb, diamond, and crab, shift the balance to suit different applications, but share the idea of testing at appropriate levels. For microservices and API-heavy systems, the article highlights the middle layer, where contract and integration tests can check service interactions, and describes Keploy as a way to turn recorded API traffic into tests with captured dependency mocks. It also recommends running unit tests on every commit, integration and API tests on pull requests, and only critical end-to-end journeys before release or nightly, while regularly reviewing test distribution, runtime, flakiness, and coverage gaps.
Dec 02, 2026 2,811 words in the original blog post.
Canary deployments introduce a new software version to a small share of production users, then increase its traffic gradually if metrics such as error rates and latency remain healthy, with automated rollback if they worsen. The article explains how to choose rollout steps and compare canary performance with the stable version, noting challenges such as insufficient traffic, sticky sessions, and changes that affect databases or queues. It describes Kubernetes options including Argo Rollouts, Flagger, and service-mesh routing, and distinguishes canary releases from canary testing, blue-green deployments, and A/B testing. Because a canary still exposes real users to potential bugs, the article recommends replaying recorded production requests against the new version before rollout, then using canary metrics to assess behavior under live load; it presents Keploy as a tool for that pre-release testing and suggests shadow deployments for testing major rewrites under live traffic.
Dec 01, 2026 1,604 words in the original blog post.