Working off the spec, I wrote this custom library to decode these WAL logs. I would buffer them up to a certain memory threshold, chunk them up to a specific size in memory. I would encode them, and then I would flush them into our warehouse, which is Google BigQuery, using the super optimized, super lightweight storage write API. That was, just to put it very bluntly, ridiculous. Ridiculous, pulling my hair out trying to fix this obscure issue instead of shipping a feature that would have directly created value for our customers. And I just looked up and I said, Clayton, dude, you're building a podcast analytics startup. You are not building a Postgres replication startup. Stop doing this. My name is Clayton Gentry, and I'm the co-founder and CTO at Podstock. Let's talk.
Scalability top of mind.
All that infrastructure was a pain. Yes, we've been fighting it as we grow. Total waste of time.
The stories you don't read in the headlines.
It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried it again. To
ride the ups and downs of the startup life.
You need to really want it. It's not just about technology.
All this and more on Code Story. I'm your host, Noah Labhart. And today, how Clayton Gentry is centralizing your workflow by helping you operate your multi-platform podcast business. Clayton Gentry has been digitally oriented his whole life. When he was younger, he was into photography and making videos with his friends and for school, either highlight videos for school events or promotional videos for businesses. He's always liked making things look good on the screen, and he was attracted to the art of it, which he attributes to his mother's genes. These days, he lives in Brooklyn, plays guitar, and likes to run in Prospect Park near his home. Toward the end of 2022, Clayton and his co-founder, Michael, reconnected on starting something new. Given Michael had extensive industry knowledge in the podcast world, Clayton and he combined their superpowers to take on the multi-platform nature of podcasting. This is the creation story of Podstock.
To set the stage in the old days, and by old days, 10 years ago, podcasts were really just something that you listen to. And that is not exclusively true anymore. Nowadays, podcasts are increasingly cross medium and cross platform. Podcasts are distributed on YouTube. They are distributed as social media, Instagram and TikTok and Facebook. Some podcasts are distributed as newsletters on Substack. So that evolution has dramatically increased the size of podcast audiences, but it's also just enhanced the consumption experience. Some of these YouTube podcasts are nothing short of cinematic in their production quality. That evolution has created planning and management challenges for podcast businesses who want to lean into this trend, but for whom it's very expensive to, one, just collect all of this data across all these platforms, but then also to actually monetize and decision against it. So that's then. Podstock is a software platform that helps podcast companies grow their revenue and streamline their ad operations by aggregating and centralizing your podcast analytics from across all of your disparate distribution channels. So that allows us to give our customers a comprehensive picture about their show's performance in one place. I haven't heard anybody distributing via carrier pigeon, but if they distributed via carrier pigeon, we would figure that out too. So our value proposition to our customers is that we enable them to capitalize on this industry evolution into cross-platform. More specifically, with our customers' permission, we connect to their data sources, including their podcast hosting platforms, any YouTube channels they distribute across. We're adding social channel support, Spotify streaming data. For some customers, we've implemented very bespoke integrations where they might themselves host some of their own data on their own servers that they would like incorporated into Podstock. We ingest all that podcast delivery data from across all these platforms. We roll it up and we match it up so we can say, this episode did this many views on YouTube, this many downloads of our RSS. And then on top of that data, we provide friendly tooling to plan and to track their ad campaigns, to understand their show's audience, and to build any custom reporting reporting for more nuanced or bespoke analytics questions that they might have about their cross-platform delivery. So my co-founder is a guy named Michael Paretsky. Michael and I independently had this itch to start our own thing. Michael and I are very good at very different things. He's an extremely strong communicator. He is tireless. Whereas I have a tendency to burn hot and burn out. Over the course of the day, Michael seems to be this And he also is a subject matter expert on podcast businesses, which is an expertise that he developed during his time leading strategy and analytics at a company called Odyssey, which is a fairly large scale podcast network unto its own. So we embarked on a previous venture together many years ago that at the time I just wasn't fully ready to commit to. but toward the end of 2022, I sent him a text that said something to the effect of, I wasn't ready then, but I'm ready now if you want to build something. And so we had our first Podstock meetings in the spring of 2023 at this lower Manhattan coffee bar that is tucked inside a burger restaurant called Oshavall. Since we were usually having these meetings early in the morning before our full-time jobs, we would just have the coffee without the burgers.
So let's dive into the MVP, that first version of Podstock that you built. How long did it take to build and what sort of tools were you using to bring it to life?
I mentioned our business is cross-platform analytics, but we started the company just supporting one platform, and that was Megaphone. So Megaphone is this very popular podcast hosting platform and ad server that many podcast networks use to distribute their content. It's owned by Spotify. offers a logs export service where they will write very raw downloads and impressions logs from your podcasts to an AWS S3 bucket that you can then consume for your own analytics purposes. This requires some technical capacity to set up, which we were and are able to offer our customers. And that enabled and enables us to build very nuanced analytics applications on top of it. So that said, the earliest scope of the product was quite limited. It was essentially a campaign tracking dashboard. It was built atop these Megaphone logs with some basic order delivery forecasting sprinkled in, where we would essentially look at the early delivery of the order and project forward how much we thought that order would actually deliver in the end. So you would have this early understanding of whether you were going to fulfill on time or not, essentially. It probably took us, I'm ballparking and it's a little bit rough as to where you draw the line on what's MVP versus not MVP, but I would call it 90 days from scratch to something. And we built that MVP using Phoenix LiveView. Our product has dramatically matured in the last 18 months, but we still proudly ship on top of LiveView today. day. In general, in technology circles, I really like to sing the praises of the Elixir programming language and the Phoenix web framework wherever I can. Over the course of my career, I have worked with a number of technologies, but writing Elixir has always felt like coming home to me. Part of that might be that it was the first programming language that I really learned deeply. I think it's often, not always, but I think it's often the case in engineering careers that you develop some bias toward the first language you really come to understand. But I also just find it to be a very thoughtfully designed language with a strong community around it. And we are certainly very proud to be members of that growing community. Okay,
let's stay on the MVP for just a minute. I'm curious about decisions and trade-offs you had to make. And maybe one of the big ones, and you kind of touched on a little bit, was around choosing Megaphone first. But I'm curious if there's one you want to call out, and maybe it's that one, and how you cope with the decision.
I think starting a startup is in many ways like running a search algorithm. You have this broad domain and you're essentially searching for product market fit. So one dichotomy that you find in the world of search algorithms is this split between depth first search and breadth first search, where depth first is about going very deeply down this one particular path where you invest heavily in a single direction. And on the other hand, breadth first is this exploration of multiple avenues at a slightly shallower level. When we launched Podstock, we thought that we were going to go very depth first on forecasting. So forecasting is a real problem in podcast world. Networks need to know how their campaigns are going to deliver. Liver, as we talked to more and more folks in the space, the demand that we were hearing for support for centralizing cross-platform analytics just got louder and louder. I wouldn't call it a full pivot, but I might call it a light pivot. We executed a light pivot from what was very much a depth-first dive on forecasting to entering more of a holding pattern there while we explored the cross-platform problem. So that shift from really narrowly focusing on forecasting to more broadly accommodating cross-platform was a fairly meaningful decision. There were dozens of smaller trade-off decisions that we also had to make along the way, especially back then with very limited resources. At this point, I was still working a full-time job in those early days. We would often, and we still do this, we would frame our appetites for features or initiatives in terms of weeks. A thing Michael will, would, and will often say to me is, I have appetite for one week of your time on this, but I don't have appetite for three weeks of your time on this. So oftentimes this depth versus breadth trade-off gets measured in terms of weeks of engineering. Six is a pretty big bet, whereas one or two weeks, five or 10 days, is about the minimum to get anything of quality into production. On the coping half of the equation, to commit to a decision, whether it is more meaningful company direction decision or a smaller decision like what to build this week. I have found the coping to be really the easier half of the equation. It's the commitment that's the hard part. Making that decision is the hard part. But Michael and I have said to each other on more than one occasion, our game is we're going to make the best decision we possibly can make right now with the information that we have. And then we're going to respect the other side of that contract, which is that going to play the woulda, coulda, shoulda game. Coulda done this, woulda done this. Doing that just doesn't help. And all in all, we've been pretty good about respecting that contract.
You've got the MVP, it's working, you're getting the traction that you want. You've made the hard decisions and you've pivoted from deep to more broad. I'm curious about how you've progressed the product from there and matured it. And I think to wrap it in a box a little bit, what I'm looking for is how do you build your roadmap? How do you go about deciding, okay, This is the next most important thing to build or to address with Podstock.
As far as how we've progressed the product, I would say that we've really leaned into the cross-platform promise. Specifically now, we source podcast analytics from YouTube. We source analytics from Spotify. We're adding support for a number of different ad servers. We're rapidly adding support for social channels like Instagram and TikTok. Talk, we're building out planning tools that help folks structure and schedule campaigns across these platforms. Some of our customers have their own data infrastructure, and so we've defined protocols that allow us to integrate with their own in-house systems. The question of how to build a roadmap, I think, is probably the hardest question that you will ask me. There's that old saying that all models are wrong, but some are useful. I apply that to roadmaps. I would say that all roadmaps are wrong, but some are useful? Two. Attempt and answer. First off, Michael and I share responsibility for designing our roadmap. This is a very collaborative and messy exercise. The fuel for our roadmap discussions always comes from conversations that we have with our current customers and also with prospective customers. There's just really, there's simply no way to do it without talking to customers. It's like exercising without eating. You just, you have to ingest and process customers are telling you their problems are both with their own process, but also with your product. And once you have that fuel, you have the classic simple but not easy question to answer, which is what is the thing we can do right now to accrete the most value to our customers' current and perspective? As far as how we do that at Podstock, Michael and I pay a lot of attention to the product roadmap philosophy that's championed by a guy named Ryan Singer, formerly of the software company 37signals, who wrote a book called Shape Up. One of the cornerstones of that strategy is a phase of roadmapping that's called shaping. And shaping refers to the process of carving out a feature, deciding what goes in that feature. You might sketch out some doodles with an Expo marker, but probably more importantly, deciding what does not go in that feature, what we're not going to do. This is the messiest part. So when we're at our healthiest operation, this is the point that should be the messiest. This is where most of the disagreement, most of the debate happens. It's a bad outcome for us when we're into the development of a feature and we have a disagreement about what that feature should be. So we really try to pull forward that messiness as much as we can. In keeping with the shape up philosophy, we will draft what we call a pitch. It could be lengthy. It could just be a few sentences. And sometimes these discussions are just between Michael and me. Sometimes it's just verbal. But the idea is that once we're aligned on that pitch on what to build, we build that. We give ourselves a deadline where we say, we're going to have this done by Friday and then we're moving on. So we have to fit the feature into the timeline. We don't fit the timeline around the feature. We call this scope hammering, which is verbiage that we picked up from the shape up philosophy. that feature into the deadline.
You know, I hear you saying we a lot, and I know the team is fairly small right now, but I'm curious about how you've built that team, how you went about deciding that, okay, these individuals have the characteristics that we're looking for, and they're the winning horses to join you.
We intentionally have remained extremely lean. It's a practical choice, given that we are bootstrapped. But from my perspective, it is also a very strategic choice. I really believe that hiring too fast is a very efficient way to tank a software product. I subscribe to the adage that you move further faster with one great engineer than three good ones. Engineering hiring is just extremely difficult. And the honest truth is that a lot of it does come down to luck. There's no getting around that. In past lives, I've conducted technical interviews. Nowadays, I put a lot more premium on somebody's portfolio. portfolio to review a technical interview alone, as I see it, is not a sufficient signal to make a hiring decision. Beyond just a strong portfolio, we also take an interest in people who have made meaningful contributions to the Elixir community. So that might be a newsletter that they publish, that might be a lot of activity on the Elixir Slack or the Discord channels, which we are also part of. They might have a strong open source presence. But the ability to effectively in the community and generally to participate in a community, I have found to be a strong signal, both of technical wherewithal, but also emotional intelligence, which obviously we place a high premium on.
Let's move forward then. I'm curious about scalability and where scalability has reared its head. I'm curious if there have been any interesting areas where you've You've had to fight it as you grow.
Absolutely. So I would say, first off, we take pride in having done things that don't scale, especially in the early stages of Podstock. I can give you a very concrete example. So one of the services that Podstock provides our customers is cross-platform content association. So we're really good at matching up content where we can say this episode was published on YouTube and it was also published over this RSS feed. Nowadays, we have automated systems that do most of that matching work with human judgment still reserved for edge cases. But earlier in our company's lifetime, this matching was often extremely manual where it would literally be me. I would be going one by one through thousands of YouTube videos, identifying complementary audio that had been delivered over RSS and matching them up. We even built admin UI to help a human, i.e. me, complete that process. Really nice about that, though, was when you do things manually, you really learn the ins and outs of the data. Oh, the YouTube always puts the show name in the title, but the audio never does. Oh, the YouTube gets published eight hours after the audio, like clockwork. So we would pick up these very specific patterns that could help us design our more automated systems later on. So I think the lesson from doing that was when you immediately jump to scale, the first mistake you might be making is you might be scaling something that shouldn't exist in the first place, but also you might miss nuances that would have otherwise enriched your scaling efforts had you implemented the process in a little bit more do-it-yourself fashion at the outset. So that's what we learned from that content matching exercise. So as you
step out on the balcony, you look across all that you've built thus far with Podstock, what are you most proud of?
There's so much. I'm very proud of us in general. I could draw on a cycling metaphor here. So in cycling, there is this measure of power to weight ratio, which describes the amount of output that you're able to generate on the bike relative to your mass, with more massive cyclists generally being expected to produce more output and less massive cyclists generally being expected to output less. I think our power to weight ratio at Podstock is exceptional. More than any specific feature or specific partnership, although we have lots to be proud of along both fronts. When I look back over the last 18 months, I am really proud of our track record of having been able to move software out the door, given our size, which for a lot of that time was just Michael and myself. We've recently brought on some help in the engineering front, but we're still extremely lean. And I think if you were just looking at a profile of our company on paper, I think we have really punched above what you might anticipate our weight to be. We're certainly not resting on those laurels. I actually think we're laying out Q2 2025 to ship harder than we've ever shipped. But if I were to step out on the metaphorical balcony, as you put it, I'm just incredibly proud of the amount of output that we've been able to generate relative to our size over the last 18 months.
flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.
So speaking of output, I think in general, I think when we made the wrong choice, it has been downstream of overshipping more so than undershipping. So by overshipping into a more complicated bells and whistles-ish solution out of a set of options rather than a solution on the simpler end of the spectrum. I'll give you a very concrete example. When Podstock got started, we deployed as a system of microservices. We had this little network of servers that were each running their own very specific application. We had one service for caching data. We had one service for decrypting outbound requests that included sensitive data, like an API key or an access token, so that sensitive material could be read by the destination service it was intended for. Here is the most ridiculous example. So we had a very common problem and a very widely solved problem, by the way, of replicating data from our application database into our data warehouse. The application database serves the web app. It is intended to be very lightweight, very fast. And by contrast, our warehouse hosts massive amounts of data, and that's where we perform all of our big data analysis. So we needed to get some application data, into our warehouse from our application database. So I'll get a little bit technical here, but I'll be brief. To solve the replication problem, I decided to write a completely bespoke replication service in Python. We called it Replicator. It would subscribe to all of our Postgres write-ahead logs. Write-ahead log entries, or WAL entries, as they are sometimes referred to, are basically logs that the database emits every individual change to data in your database. I literally pulled the spec for Postgres WAL and working off the spec, I wrote this custom library to decode these WAL logs. I would buffer them up to a certain memory threshold, chunk them up to a specific size in memory. I would encode them to a different data format called protocol buffers. And then I would flush them into our warehouse, which is Google BigQuery using this super optimized, API. That was just to put it very bluntly, ridiculous. Miraculously, it did work for a while. I still have that code. Maybe I can open source it at some point. But I think, believe it or not, I think we had a bug one day and I was pulling my hair out trying to fix this obscure issue along this Postgres replication chain instead of shipping a feature that would have directly created value for our customers. And I just looked up and I said, Clayton, dude, dude, you're building a podcast analytics startup. You are not building a Postgres replication startup. Stop doing this. And I deleted it. I deleted the whole replication chain. I deleted my blue ribbon WAL decoder service. And now we don't even worry about that. We actually make use of BigQuery's federated query functionality, which allows us to reach directly into our application database without having to maintain this crazy replication layer in the middle. So it's 100 times simpler. It's 100 times less error prone than it was. And it's this classic case of we sunk a lot of time and energy into making something super bespoke and super optimal that should not have existed in the first place. That was a mistake. But I would I would just I would close by saying the only real mistake is a mistake that you make twice and everything else is learning. And we certainly learned a great deal in that.
So let's look forward then. Tell me what the future looks like for Podstock, for the product, for the team, for the whole kit and caboodle.
I'm excited to learn the answer to that question. I can tell you strategically, for us, it is about platform expansion. There are an ever-increasing number of platforms on which to distribute your podcast. And not only that, not only horizontally, but the existing platforms themselves are always evolving. For example, Spotify very recently rolled out video streaming, and we are actively supporting customers who have opted into that enhancement now. To get a little bit meta, I don't love to plan out the future too far in advance. I find it constraining. And the other thing is the world is just changing so quickly, and we could talk for five hours about this, but the pace of development around large language models in particular is just so outsized. I think it's hard for people to read the quadratic on that curve. trying. That said, in the context of that change, there are principles that guide us as we move into the future. And those principles are not subject to changes in the technology and global landscape. Those principles are operating a fiscally healthy business, creating value for our customers and enjoying ourselves. Michael, one time, I remember this very clearly. It was very helpful for me. He said, I'm paraphrasing a little bit, but he said, Clayton, I want to be I want our company to be successful. I want us to generate great economic outcomes for ourselves. But I also want to enjoy this. And I want to create great relationships with our customers, with people we employ, and by the way, with each other. And that was like a tuning fork moment for me. So wherever we go, wherever the world goes, we have those stakes firmly planted in the ground as guideposts.
Let's switch to you, Clayton, Influences the way that you work. Name a person or many persons or something that you look up to and why.
I have been listening to a lot of content lately from Sam Corcos. He's the CEO of a company called Levels Health here in New York. Michael, my co-founder, actually sent me on to him. He has a reputation for being a very effective and time-efficient leader. He speaks a lot about effective delegation and building strong personal systems to optimize your usage of your time. What I really like about his philosophy broadly is he consistently underscores the point that the world doesn't happen to you. You make choices about what to prioritize and what not to prioritize. If you have any tendency to fall into any kind of, whoa is me, I'm so busy, I can't get it all done attitude, you can listen to a Sam Corcos podcast for about five minutes and you'll be cured. The other thing I really appreciate about him is that he emphasizes making the space to make progress on the things that matter that are not necessarily urgent. So I heard him recently talk a little bit about the Eisenhower matrix, which is this four quadrant matrix where your tasks are essentially grouped into four buckets. There's urgent and important. There's important and not urgent. There's urgent but not important. And then there is not important nor urgent. And making the space to step out of the urgency for even a little bit really helps improve the direction you're marching. So I have a lot of respect for Sam and his philosophy around that. And I try to act that out. I find that creating that space begets calmness and that calmness is prerequisite to good aim on where you're going. I like Sam Corcos a lot. I'm listening to him a lot lately. Really?
Last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. And can't wait to show it off to you right there on the plane. What advice do you give that person? Having gone down this road a bit.
My first reaction is I am figuring it out, too. I don't particularly feel like I'm in a position to give advice, but I can speak to strategies that have worked for me when I have implemented them. me very tactically is to be quite intentional about the start of the day. The start of the day is the most important time of day for me. It's a time when the inbox is quiet. I'm not being pulled in lots of different directions. And I have that capacity to make progress on the most important or most impactful, but also not necessarily the most urgent items. And I have that capacity to to set my aim properly. To get back to my guy, Sam Corcos, he talks about going on these quarterly think weeks, where you basically step out of whatever the immediate set of quote unquote urgent demands are. And you give yourself space to deeply process the big picture, how you're going to move the needle on the initiatives that really matter. I personally have not logistically worked out how to execute a think week yet. I do a think hour as many days as possible. So I will often go for a walk when the sun is coming up. Getting outside in those early hours, I find gives me the space to make progress on the big picture, not just for the company, but also on just the broader problem that everybody is solving, whether they are running a startup or not, which is having a good life. So that's what I would say is get outside in the morning without a screen before you go to
work. Man, I love that. Couldn't agree more. Well, Clayton, thank you for being on the show today. for telling the creation story of Podstock.
Thank you for having me, Noah. It's been great.
And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.