# S4 E13: Building a Serverless Notification API with Troy Goode of Courier

Published: 2021-03-30
Duration: 1630s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/f8e56cfa-d216-482d-9d78-e3a0bd247223/stream.mp3

## Key Takeaways
- Build It One Last Time: Troy's team tried to mimic Slack's in-app, push and email notification hierarchy and found it harder than expected. Twilio and Amazon offered no ready answer, and everybody was building it themselves.
- Integrations Were Showstoppers: Troy sorted product ideas into game changers, showstoppers and distractions. He added as many providers as he could early on, so a missing integration wouldn't be why someone passed on Courier.
- Serverless From Day One: Courier runs Lambda functions off queues and Kinesis streams to absorb sudden spikes. Troy doesn't regret it, but says debugging, deploying and maintenance are worse than with a traditional Rails app.
- A Clever Abstraction Backfired: Reusable delivery strategies spared customers from repeating channel rules across templates, but nobody understood them. Troy held on too long, then removed the feature, and customers were much happier.
- Start Marketing Before You're Ready: Courier waited for product-market fit and happy customers before staffing marketing. Troy says that flywheel takes time to spin up and should have been running by the time the product was ready.

Troy Goode is based in San Francisco, with his family of 3 kids. They are 10, 8 and 2... so they are back in diapers. He finds family life super rewarding, and loves to go outside, to the park, and spend time with his family.

  

His parents had a boat when he was growing up, and they lived in a rural area. He used to sail down (as a spectator, not a sailor) a nearby river in Virginia. As he got older, he missed the simple peace yet required work that came with sailing - so he picked it back up as an adult.

  

He's worked on several startups as a VP of Engineering and CTO. At one point he was building a collaboration tool, and he was trying to mimic the hierarchy of Slack notifications. He figured it out it was not only difficult to build... but every developer was recreating this in their solution. He decided to build it one last time.

  

This is the creation story of Courier.

  

Sponsors

[KIMO](https://kimo.ai/)

[TIKI](https://mytiki.com/)

  

Links

- Website: [https://www.courier.com/](https://www.courier.com/)
- LinkedIn: [https://www.linkedin.com/in/troygoode/](https://www.linkedin.com/in/troygoode/)

  

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:23 – Building the Courier MVP

06:50 – MVP Tradeoffs and Tech Debt

08:17 – Maturing Product and Roadmap

10:39 – Building the Courier Team

13:00 – Scaling From Day One

14:06 – Maintaining Serverless Lambda Functions

15:51 – Proudest Moment at Courier

17:13 – Mistakes and Lessons Learned

19:10 – The Future of Courier

21:58 – Troy's Biggest Influences

24:06 – What Troy Would Change

25:10 – 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 Troy Goode from Courier: [https://www.codestory.co/episodes/s4-e13-connecting-high-throughput-message-routing-scaling-the-core-tech-of-courier-with-troy-goode/](https://www.codestory.co/episodes/s4-e13-connecting-high-throughput-message-routing-scaling-the-core-tech-of-courier-with-troy-goode/)

  
  

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 [Substack](https://news.codestory.co/subscribe)

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

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

Hosted by  [Noah Labhart.](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:23 — Building the Courier MVP
- 6:50 — MVP Tradeoffs and Tech Debt
- 8:17 — Maturing Product and Roadmap
- 10:39 — Building the Courier Team
- 13:00 — Scaling From Day One
- 14:06 — Maintaining Serverless Lambda Functions
- 15:51 — Proudest Moment at Courier
- 17:13 — Mistakes and Lessons Learned
- 19:10 — The Future of Courier
- 21:58 — Troy's Biggest Influences
- 24:06 — What Troy Would Change
- 25:10 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What is Courier and what does it do? — **A:** Courier is a developer tool for sending app notifications across channels such as email, SMS, push, in-app, Slack and Microsoft Teams, using the same API call for each. Troy Goode describes it this way: "Courier is the fastest way for developers to build notifications for their app, whether" [02:24] it's email, push or another channel.
- **Q:** Why did Troy Goode start Courier? — **A:** While building a collaboration product, Troy's team tried to copy how Slack handles notifications and found it would take too much of their time. After looking for something to buy, he said he "realized everybody was building this themselves. And as an engineer," [05:06] that felt like a violation of don't repeat yourself.
- **Q:** How is Courier built to handle high message volume? — **A:** Troy says Courier was built to scale from the start, because even a small customer can suddenly send a huge volume in one day. It is serverless on AWS, with Lambda functions processing messages from queues and Kinesis streams, and as Troy put it, "We don't have a single EC2 server." [13:46]
- **Q:** What are the downsides of a serverless architecture? — **A:** Troy Goode considers serverless the superior solution for API products with sudden spikes in demand, but he is candid about the cost. He said "the debug experience, the deploy experience, the maintenance experience is demonstrably worse than just a traditional Rails app." [14:57] He recommends a management layer such as the serverless.com framework, which helps but doesn't close the gap.
- **Q:** How did Courier decide what to build next? — **A:** Troy used a strategy from a blog post whose author he doesn't remember, which recommends "being diligent about bucketing it into one of three buckets. One is game changers," [09:35] with the others being showstoppers and distractions. Courier's first integrations fell into the showstopper bucket, meaning people would not buy without them.
