VOOZH about

URL: https://thenewstack.io/smart-ephemeral-environments-share-more-copy-less/

⇱ Smart Ephemeral Environments: Share More, Copy Less - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-01-15 06:32:25
Smart Ephemeral Environments: Share More, Copy Less
sponsor-signadot,sponsored-post-contributed,
Operations / Software Development / Software Testing

Smart Ephemeral Environments: Share More, Copy Less

For most microservices testing, you don't need to duplicate all your infrastructure. You just need to control the request path through your system.
Jan 15th, 2025 6:32am by Arjun Iyer
👁 Featued image for: Smart Ephemeral Environments: Share More, Copy Less
Image from free_illustration10 on Shutterstock.
Signadot sponsored this post.

Just last week, I was speaking with an engineering director at a fast-growing security company. Its team of 50 engineers had implemented something that made me pause: a sign-up system for developers to test on staging. Yes, you read that right: Engineers were having to wait in line for their turn to deploy and test their code changes. By Friday afternoons, the backlog would grow frustratingly long, with developers stuck waiting hours for their chance to verify their work. While creative, this was a clear sign of a deeper problem that I’ve seen repeatedly in growing engineering organizations.

This situation perfectly illustrates how traditional approaches to testing microservices don’t scale with team growth. When organizations break down their monoliths into microservices to enable independent development and deployment, they often overlook a critical aspect: Their testing strategy needs to evolve as well.

The Traditional Testing Bottleneck

👁 Image

The typical approach is to accumulate code changes and test them in batches in a shared environment. While this might work initially, it quickly becomes a bottleneck as teams grow. Let me paint a picture of what this looks like in practice:

A developer makes a change and waits hours to get it into the shared environment. When tests fail, they’re forced to context-switch back to code they wrote hours ago — or sometimes days ago. If multiple teams are pushing changes, debugging becomes a detective mission. Was it their change that broke things or someone else’s? In the worst cases, developers start finding workarounds, like testing directly in production, leading to even more problems down the line.

The Infrastructure Cost Trap

Many organizations try to solve this by creating multiple replicated environments. Teams start spinning up complete copies of their infrastructure, thinking it will solve the contention problem. Take Brex’s experience, for example. With a 1000+ microservices architecture, it found that preview environments were nearly as expensive as its production environment. The approach wasn’t just costly: Environments took an hour to spin up initially, and even after significant optimization, developers still faced 20- to 30-minute wait times.

A New Paradigm: Shared Baseline Testing

Leading technology companies like Uber, Lyft and DoorDash have pioneered a different approach. Instead of duplicating entire environments, they’ve moved to a model of isolating requests within a shared environment. This fundamental shift brings several key advantages:

First, it’s incredibly cost-efficient. You can support thousands of concurrent tests using a fraction of the infrastructure required by traditional approaches. Second, it’s fast. Developers can begin testing within seconds rather than waiting for environments to spin up. Most importantly, it scales naturally with team growth since you’re sharing infrastructure efficiently while maintaining perfect isolation for testing.

Let me dive into how this works in practice.

How Shared Baseline Testing Works

👁 Request-level isolation

The key insight behind this approach is that, for most microservices testing, you don’t need to duplicate all your infrastructure. You just need to control the request path through your system. Think of it like having multiple parallel lanes of traffic flowing through the same highway infrastructure.

When a developer wants to test a change, they simply deploy their modified service alongside the existing production version. Special routing rules ensure that their test traffic flows through their version of the service while all other traffic continues through the production version. This isolation extends through the entire request chain, making it possible to test complex end-to-end scenarios safely.

This approach can be particularly powerful, allowing developers to collaborate naturally. Want to test how your frontend changes work with a colleague’s backend modifications? Simply combine your routing rules to create a unified test environment within seconds. This level of flexibility was simply impossible with traditional environment-based isolation.

Real-World Impact

The impact of this approach goes beyond just saving infrastructure costs. At Brex, moving to this model not only dramatically reduced its infrastructure spend but also led to measurable improvements in developer productivity and code quality. Engineers could iterate faster, leading to smaller, more focused changes and reduced change failure rates.

But changes in developer behavior are perhaps the most telling impact. When testing becomes fast and friction-free, teams naturally adopt better practices. Instead of batching changes to avoid environment setup time, they test more frequently. Instead of writing large, risky changes, they break them down into smaller, more manageable pieces. The result is a more sustainable and scalable development process.

The Signadot Approach

At Signadot, we’ve built a platform that brings the power of shared baseline testing to any team using Kubernetes, without requiring the massive engineering investment that companies like Uber and Lyft made internally. With just a pull request, developers get instant access to isolated test environments that perfectly mirror production, eliminating the wait times and debugging headaches that come with traditional approaches.

Would you like to get started? Check out our quick start guide or join our Slack community to learn from others who have made this transition.

Signadot is a Kubernetes-native platform that empowers AI coding agents to verify code at scale. Combining fast, scalable ephemeral environments with a validation framework built for complex distributed systems, Signadot ensures high-velocity code generation results in safely merged pull requests.
Learn More
The latest from Signadot
Hear more from our sponsor
TRENDING STORIES
Arjun Iyer, CEO of Signadot, is a seasoned expert in the cloud native realm with a deep passion for enhancing the developer experience. Boasting over 25 years of industry experience, Arjun has a rich history of developing internet-scale software and...
Read more from Arjun Iyer
Signadot sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Real, Simply.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
👁 Image
Enable cloud-native agentic workflows at scale and validate code as fast as agents can generate it.