Asked about a time something broke at StoryGraph, Rob names the database. He says every page load hits it, and on its busiest day it handled over a million operations per second.
CodeNewbie · 2026-12-02
Permalink →
Listen →
CodeNewbie
Around 31:28 into the episode
Rob Frelow
…it comes to security stuff, I would double triple check that. Even if it's just the security side, I would want to know what's going on. Even if it's me asking an AI to explain it to me and then me verifying that it explained it properly by using a different source, I would have to say that. That's
Lauren Lee
…I build it and almost, yeah, as a back to the rubber ducky methodology. It's really smart. I want to hear more about the journey of this growth. I think that 6 million stat is so impressive. Can you tell me about a time that maybe something broke at StoryGraph and how did you find out about that?
Rob Frelow
Yes, I found out about it because my phone started beeping saying the story graph is down. And it woke me up. And the thing that went wrong, it was the first thing that ever went wrong on StoryGraph. It was also the middle thing that went wrong. And the last thing that went wrong as recently as, I don't know, a few weeks ago, it's the database. The database is the core of the app. It's where all of your data is housed. And it's also every page load needs to get the data from the database in order to present it to the user. So the story graph in particular uses a lot of data on the data. The database is very busy. So on our biggest day, January 1st, last January 1st, our database had over a million operations per second.
Rob Frelow
Per second. And that's because there's so many people they're adding new books and they want to get new recommendations for the books that they're reading. They're interacting. They're talking to their friends. They're reading books with their friends. They're writing comments.
Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
Asked how he uses AI in his own work, Rob says his rule is that AI never touches StoryGraph's code or user data. He uses it to talk through ideas instead.
CodeNewbie · 2026-12-02
Permalink →
Listen →
CodeNewbie
Around 23:27 into the episode
Rob Frelow
Yes. And we mentioned you could turn off the AI. The AI is off by default. Like we specifically made it opt-in instead of opt-out. So the people who don't like AI, you will never see it on the StoryGraph. It'll never be pushed in your face.
Lauren Lee
Cool. Yeah. Okay. You know what? So far in our conversation, we've been talking a lot about AI as a feature within the StoryGraph. And I'm curious how you use it within writing code or how you're using it today in your day-to-day life.
Rob Frelow
So I do not use AI to write any code for me. For me, AI is the best rubber ducky you could ever possibly ask for. And a rubber ducky is, it would be like a little duck. You sit on your desk and you could just talk to it and explain, this is the problem I'm having. And of course, the rubber ducky doesn't talk back, but in hearing yourself explain it, you get ideas. You can solve the problem. Now the rubber ducky can talk back to me. And half the time it says something smart. Half the time, maybe it's pushing me a different way. But just having someone, someone that I can talk to at any time at three in the morning to work through ideas is helpful.
Lauren Lee
So what don't you let AI touch? It sounds like the code.
Rob Frelow
Yeah, don't let it touch the code. And for the AI features, going back to what I was mentioning before, I don't let external AI touch our user data.
Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
The host asked how a new builder can tell when AI is just guessing. This is Rob's reframe of the question.
CodeNewbie · 2026-12-02
Permalink →
Listen →
CodeNewbie
Around 35:58 into the episode
Rob Frelow
…a spoiler-free focused on the reader description of what type of reader this book is a good fit for. And then right next to it is the personalized button, which will prompt the AI to look at all of your reading history and determine if it thinks that book will be a good fit for you personally.
Lauren Lee
…ones that are honestly stupid and thinking that they are not smart enough to learn the tech. And that's awful to watch, right? Because it's the AI. It's the platform. It's the technology that isn't yet caught up or hasn't trained the model yet. How can a new builder tell when AI is just guessing?
Rob Frelow
From a certain perspective, you might say that AI is always just guessing. It's just a lot of times it guesses right. So you might think of it that way. Maybe that'll help you. So when they guess wrong, you can recognize that just the probability means it's going to happen eventually, maybe even daily, depending on how often you're using it.
Lauren Lee
That's a great, that's a great shift of a mind. Oh my gosh, I love that actually.
Rob Frelow
Oh, I love that. When I talk to new people and give them advice on how to use AI in their coding, I like to remind them: treat AI as a person. A person can be wrong. Like I joke that people used to come to me a lot more for tech help, and now the AI is available. They don't really call me anymore…
Lauren Lee
I'm not offended. It's fine. It's fine. It's fine.
Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
Asked about the models StoryGraph runs, Rob gives the case for small in-house models over big outside APIs: privacy, speed and cost.
CodeNewbie · 2026-12-02
Permalink →
Listen →
CodeNewbie
Around 19:35 into the episode
Rob Frelow
…give all your data to big tech, to an external entity, and you don't really know what they're going to do with that data, but whatever. It's easy. You just put it together in a few minutes and now you have your answer. But I found that that doesn't really match the type of company we want to build.
Rob Frelow
Just ethically, in terms of giving our user data away when people are logging a book on StoryGraph, they're not expecting 10 other companies to know about that and farm that data and maybe build a profile on them. That's really not what they were looking for. But in addition, just the technical side, if I can build a model that can predict mood and pace or give book recommendations or whatever it's doing, that model is going to give you a response in maybe 50 milliseconds. So it's local. It's privacy respecting. It's faster. And it's cheaper.
Lauren Lee
Yeah, exactly. Why not? So last time you were on CodeNewbie, you said that running one. Of the StoryGraph's AI features through an outside service like OpenAI, you know, would have cost nearly $75,000 a month was maybe what you estimated. And so let's also acknowledge the user data piece. That's…
Rob Frelow
Yeah, I think it depends on their goal. If they're trying to have a pet project where you're just learning new technologies, don't do the API thing. Learn the technology. It's not that hard if you are dedicated to learning it. But if you are trying to build a company, if you have an MVP, a minimal…
Lauren Lee
A chase your dream. Yeah, absolutely. Well, Lukand, our AI builder from the top of the episode, he might be maybe right where the story graph was a few years ago. You know, Pipeline is UC Irvine and UCLA, and they're about to get a third campus in December. So what do you imagine he'll run into…
Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
Rob explains why StoryGraph trains and runs its own models instead of calling an outside AI API. He mentions elsewhere that one API-based feature would have cost close to $75,000 a month.
CodeNewbie · 2026-12-02
Permalink →
Listen →
CodeNewbie
Around 18:57 into the episode
Rob Frelow
…in the butt. So those three days you're referring to, I over the weekend tried to make a quick and dirty draft model that can predict a book's mood and pace. And that's really what got me started at StoryGraph because I was having way too much fun. I couldn't stay at my day job when I'm doing this.
Lauren Lee
…to play. And that is, we should all be striving to find that. And with this sort of tech, it's neat that you were able to then prove to her, like, hey, look, this is cool that you were doing it by hand. Really important work to be, you know, feeding your model now. But look at what we have.
Rob Frelow
Yes. A lot of the models that I run are still the deep learning fast.ai models that I've improved on them, but I'm still using that architecture because I think there's a big incentive because it's very easy right now to just spit everything at an API. If you have a problem, take all the data you have, throw it at an API for ChatGPT or Claude or whatever, get your quick answer, pay for that result, give all your data to big tech, to an external entity, and you don't really know what they're going to do with that data, but whatever. It's easy. You just put it together in a few minutes and now you have your answer. But I found that that doesn't really match the type of company we want to build.
Rob Frelow
Just ethically, in terms of giving our user data away when people are logging a book on StoryGraph, they're not expecting 10 other companies to know about that and farm that data and maybe build a profile on them. That's really not what they were looking for. But in addition, just the technical…
Lauren Lee
Yeah, exactly. Why not? So last time you were on CodeNewbie, you said that running one. Of the StoryGraph's AI features through an outside service like OpenAI, you know, would have cost nearly $75,000 a month was maybe what you estimated. And so let's also acknowledge the user data piece. That's…
Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
Asked what advice he'd give a student founder who shipped AI-written code he didn't fully understand, Rob says that's fine for a prototype, but his own readers would revolt. He says he doesn't use AI to write StoryGraph's code.
CodeNewbie · 2026-12-02
Permalink →
Listen →
CodeNewbie
Around 25:22 into the episode
Rob Frelow
So all the AI that is running on a story graph is running on a story graph servers.
Lauren Lee
So what advice would you give to Wukand who shared that he didn't understand all the code that shipped out on launch day?
Rob Frelow
My interpretation of the status of his company right now is that it's still small. He's still building. You're still trying to find if this is something that is going to grow to 100,000 to a million users. And if right now that is the way to get things out, I think that's okay. Now, for StoryGraph in our specific market, the book market, if they heard that we were using AI to write code, we would be canceled. Like it's a whole thing where some apps have come out in the book space who are also building a competitive app as ours. And they've said, yeah,
Mukund Ummadisetti
I don't even know how to code. I'm doing vibe coding. Look at my app. It's on the app store. I'm doing this and doing that.
Lauren Lee
There are maybe a million
Rob Frelow
comments online saying,
Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.