# S4 E9: Chaos Engineering for Reliability with Matt Forniciari of Gremlin

Published: 2021-03-02
Duration: 1683s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/0cf39dc5-38cf-49e1-b8b3-c0eb7fb09b90/stream.mp3

## Key Takeaways
- Controlled Chaos for Reliability: Gremlin treats chaos engineering scientifically: set a hypothesis and acceptance or rejection criteria, then validate that the system behaves as expected. It is one tool in the reliability toolbox, not the end goal.
- Agent First, Then Control Plane: Gremlin started with a lightweight, CLI-oriented Rust agent, then added a thin Java API to orchestrate agents across infrastructure. Dead man switches make it fail open, killing in-progress attacks.
- Shipping Over Perfect Code: Forniciari had to accept some technical debt to get a product out. When prospects said features were missing, he would code them that night and follow up the next week.
- Customer Vetting Drives the Roadmap: Ideas aren't ready to build until customers have vetted them. Misses, such as an application-level failure injection platform that didn't take off as expected, pushed Gremlin to validate earlier and more often.
- Define Culture Before Scaling: Looking back, Forniciari would define values and how to interview for them from the start, and hire only when a role is truly needed. He thinks Gremlin grew too fast, reaching about 80 people around year three and a half.

Matt Forniciari started his career at Amazon. First gig was on the availability team, but then he was tasked with emailing Jeff Bezo's directly about what was working & not working, which he rightfully so, says was stressful.

  

He spends a lot of time outdoors, reading, and mostly just away from tech. He is so immersed in tech during the day, that in his free time he prefers to do analog activities... and a lot of activities that require motion. In fact... he claims that his career after tech will be something like a park ranger, taking care of the outdoors.

  

While he was managing platforms for other companies - like Salesforce and Amazon - he was burning the midnight oil creating something to help build resiliency in your platform reliability. A solution based on the principles of chaos engineering.

  

This is the creation story of Gremlin.

  

Sponsors

[Wildbit](https://wildbit.com/)

  

Links

- Website: [https://www.gremlin.com/](https://www.gremlin.com/)
- LinkedIn: [https://www.linkedin.com/in/mattforni/](https://www.linkedin.com/in/mattforni/)
- [https://www.calnewport.com/](https://www.calnewport.com/)

  

Leave us a [review on Apple Podcasts](https://ratethispodcast.com/codestory)

 

Amazing tools we use:

- This podcast is hosted on [RedCircle](https://redcircle.com/), a FREE platform for podcasts and brands to scale their message. 
- Want to record your remote interviews with class? Then, you need to use [Squadcast](https://squadcast.fm/?ref=noahlabhart).
- Code Story uses the 1-click product [ClipGain](https://clipgain.io/?utm_campaign=clipgain&utm_medium=episode&utm_source=codestory), sign up now to get 3hrs of podcast processing time FREE
- If you want an amazing publishing platform for your podcast, with amazing support & people – use [Transistor.fm](https://transistor.fm/?via=code-story)

*Credits: Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on *[*Apple Podcasts*](https://podcasts.apple.com/us/podcast/code-story/id1466861744)*, *[*Spotify*](https://open.spotify.com/show/0f5HGQ2EPd63H83gqAifXp)*, *[*Pocket Casts*](https://pca.st/Z1k7)*, *[*Google Play*](https://play.google.com/music/listen?pcampaignid=MKT-na-all-co-pr-mu-pod-16&t=Code_Story&view=%2Fps%2FIcdmshauh7jgmkjmh6iu3wd4oya)*, *[*Breaker*](https://www.breaker.audio/code-story)*, *[*Youtube*](https://www.youtube.com/channel/UCgjZsiUDp-oKY_ffHc5AUpQ)*, or the podcasting app of your choice.*

  

Timestamps

00:00 – Intro

05:52 – Building the Gremlin MVP

07:37 – MVP Tradeoffs and Tech Debt

10:05 – Shaping the Product Roadmap

12:44 – Hiring the Early Team

15:18 – Scaling Gremlin

16:33 – Proudest Moment

17:47 – A Mistake and Response

19:29 – The Future of Gremlin

21:36 – Influences on Matt's Work

23:25 – What He'd Do Differently

25:23 – Advice for Young Entrepreneurs

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Matt Forniciari from Gremlin: [https://www.codestory.co/episodes/s4-e9-pioneers-of-chaos-engineering-how-gremlin-architected-bulletproof-systems-with-matt-forniciari/](https://www.codestory.co/episodes/s4-e9-pioneers-of-chaos-engineering-how-gremlin-architected-bulletproof-systems-with-matt-forniciari/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our Stacklist! [https://stacks.codestory.co/](https://stacks.codestory.co/)

Check out our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart | Technical Founder & Startup Mentor.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 5:52 — Building the Gremlin MVP
- 7:37 — MVP Tradeoffs and Tech Debt
- 10:05 — Shaping the Product Roadmap
- 12:44 — Hiring the Early Team
- 15:18 — Scaling Gremlin
- 16:33 — Proudest Moment
- 17:47 — A Mistake and Response
- 19:29 — The Future of Gremlin
- 21:36 — Influences on Matt's Work
- 23:25 — What He'd Do Differently
- 25:23 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What is Gremlin and how does it approach chaos engineering? — **A:** Gremlin is a chaos engineering platform aimed at increasing reliability, using agents to inject failure into systems. Matt Forniciari describes a scientific method: "you want to set a hypothesis, you want to have acceptance, rejection criteria" [02:29].
- **Q:** Why did Gremlin build its agent in Rust? — **A:** Matt Forniciari said the team wanted a language with low overhead and built a very lightweight Rust binary, despite a steep learning curve. He described Rust by saying "it's C if you took all the things you hate about C and got rid of them" [06:27].
- **Q:** How does Gremlin keep failure injection safe? — **A:** Matt says safety and security were built in from the ground up, including dead man switches tied to the control plane. The system is designed to fail open, which he explains as "failing open, meaning killing off all attacks" [04:37] that are in progress.
- **Q:** Why would a company deliberately introduce chaos into its systems? — **A:** Matt Forniciari says people hire Gremlin to improve reliability, not simply to create chaos, and chaos engineering is the validation mechanism. In his words, "it's introducing controlled chaos to really drive reliability." [20:33]
- **Q:** What lesson did Matt Forniciari share about technical debt? — **A:** Matt calls it a mistake to keep picking up technical debt without a plan to pay it down, and says Gremlin was still working on the problem. He warned that "having something go halfway done is almost worse than having it not even started." [18:20]
