Description
What actually happens after your AI-built app goes live? Host Lauren Lee talks with two builders at very different stages: a student founder who just launched, and a founder who has scaled to 6 million users. We cover what AI costs to run, when to run models on your own machine, what an IP address really is, how to think about security from day one, and how to stop blaming yourself when AI gets it wrong. Plus, Rob was CodeNewbie's original editor, so this one's a homecoming!
Show Notes
Transcript
Lauren Lee: Welcome to the CodeNewbie podcast, where we talk to people on their coding journeys in hopes of helping you on yours. I'm your host, Lauren Lee, and this season will give you the foundational knowledge, practical use cases, and stories you need to partner with AI to bring your ideas to life. Today, you'll meet two builders at very different stages.
First, Mukund Ummadisetti, an MLH commit fellow who used AI to build a job board for tech internships. And before I sat down with Rob Frelow, co-founder of The StoryGraph, the book app that's grown to more than 6 million users, I filled him in on Mukund's story so that he could share what to expect as his project grows, from AI costs to keeping student data secure. And we get into so much.
What AI actually costs to run, when it makes sense to run AI on your own computer instead of in the cloud, what an IP address really is, how to think about security from day one, and what Rob learned scaling to 6 million users. He also shares how he'd learn to code if he were starting today, and why you should treat AI like a friend you can ask anything, and just stop blaming yourself when it gets something wrong. Here's a little taste of what's ahead.
Mukund Ummadisetti: Now that it's a lot easier to ship code, the bigger concern is figuring out what problems to solve, identifying a gap in the market, and from there taking that and creating production level code. So AI is very good at streamlining the process of creating websites, but it's still important to take the time to make intentional design choices, identify a problem worth solving, and then going about it that way first.
Rob Frelow: Using AI as a builder when you're just getting started, instead of putting the monetary pressure on your business to quickly generate revenue when you're not even sure if you have something that people want yet. I think using AI for that is okay. Control your company for as long as you can without giving up either equity to investors or by hiring people.
And now you're really giving control away of your business decisions to bring in money or not bring in money yet. 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 can just talk to it and explain this is the problem I'm having and in hearing yourself explain it, you get ideas.
You can solve the problem. Now the rubber ducky can talk back to me and having someone, someone that I can talk to at any time at three in the morning to work through ideas is helpful.
Lauren Lee: And now a word from our sponsors.
Welcome back to CodeNewbie. Welcome to the CodeNewbie podcast. I'm so excited to be chatting with you today. Tell me, what is Pipeline?
Mukund Ummadisetti: Yeah, thank you, Lauren. Thank you so much for having me on the CodeNewbie podcast here today. I'm very excited to be sharing Pipeline.
So Pipeline is a platform and organization meant to help undergraduate students navigate their tech journey. So currently we have our own platform called PipelineCo.org. It's a platform where users and undergraduate students can explore different job opportunities, interact with the community, and learn a little bit about how to explore the tech landscape today.
Lauren Lee: Cool. Yeah, I saw you have some language about, you know, the best postings are gatekept and that the ones most people never see are on your site. What do you mean by that?
Mukund Ummadisetti: Yeah, absolutely. So nowadays, there are a lot of programs called direct consideration programs. And these are programs that companies specifically have for students that attend their programs or attend their seminars or webinars and whatnot.
And a lot of programs send out specific links and job postings to these students. And with Pipeline, we're creating this space where students can share these links and help support others in the community to help land these internships and join these programs and kind of get a step up towards landing internships. So this is a platform for all UC students currently.
They just simply have to create an account using their UC email, they can log in, they get access to the Discord, they get access to the job postings, and they also get access to the community, which I believe is the biggest component.
Lauren Lee: Okay, now you are studying computer science in school, and you've shipped production code. You know, why build this one with AI? You know, what did you hand to AI? And what are you keeping for yourself?
Mukund Ummadisetti: Yeah, absolutely. I'd say one of the biggest things that I still keep to myself and my tech team is the design choices. So we still did our mock-ups on Figma.
We still were very intentional about how we structured the website, because although AI is very good at creating websites, I'd say in terms of design choices, humans are still very good at seeing what other humans would like in a website, what features they would look for, and how to best structure it so that's useful to actual human beings and undergraduate students. However, AI is very useful in shipping code and shipping features, And it makes it, there's a lot less overhead in terms of shipping production level code, which makes it a lot easier in that regard. And it makes it a lot more important to first identify the problem.
Now that it's a lot easier to ship code, the bigger concern is figuring out what problems to solve, identifying a gap in the market, and from there taking that and creating production level code. So AI is very good at streamlining the process of creating websites, but it's still important to take the time to make intentional design choices, identify a problem worth solving, and then going about it that way first.
Lauren Lee: You said that AI set up your deployment and your domain. Walk me through the day it went live.
Mukund Ummadisetti: We went live shortly after my MLH commit fellowship. Shout out Jon and Swift. They were very supportive in the journey of me creating this product.
But yeah, it went out early August. And yeah, that was the first day that we launched. We didn't have any users at this point.
It was our very first iteration. So on our website, we have various different features, but the biggest feature when you click on the website and you sign in is our job board. And that job board has a bunch of different postings pulled from various sources.
But the biggest thing that separates it from other job boards is that it also sources some of the links and job postings from directly from our community. So kind of like I mentioned earlier, there are a lot of direct consideration links from our community that they receive from different recruiters. And having those direct consideration links on our job board sets us apart from other job boards because we have access to specific programs, specific recruiters, as opposed to just like a general job post and internship link.
Lauren Lee: And be honest, I think there are a ton of folks who are pushing production code that is written, you know, not 100%. No, I'm just going to ask it. Did you understand everything that was pushed out that day code wise?
Mukund Ummadisetti: Absolutely not, I would say. But we made sure to make good architecture design choices. So before we even built the website or used AI tooling, we designed exactly how we would want to implement it. And then we made sure that the AI was creating it as we envisioned. In terms of the actual code itself, we don't look through every line of code, but we ensure that the design at the high level is solid and structural.
Lauren Lee: Smart. No, I think that's super honest and good to say out loud because I think some people have embarrassment or fear that they should be, but then they're not. And so is there a judgment that they're not and that they don't know what it's saying?
So I appreciate you even explaining here's how we work through that. Even the question of like thinking, how long would this have taken us, you know, without AI is an interesting thing to ponder. And it probably would have taken a lot longer, right?
Mukund Ummadisetti: No, absolutely. I think code development in general is a very long and iterative process. But yeah, with AI tooling, it's much quicker.
There are definitely other concerns. There's like security concerns. And there's also like design choices that matter a lot more now, which is like where our time is being spent as opposed to like, yeah, it's actually writing the code line by line.
Lauren Lee: Yeah. Yeah. Well, okay, let's take us there. Can you tell me about a time that something broke?
Mukund Ummadisetti: Yeah, absolutely. One of the features that we have on our job board is an AI query feature. So users are able to look through and parse through the different jobs based on the filters that they want.
So if I'm a new grad, I'm looking for jobs in quality assurance, for example, I can ask the AI agent, OK, give me new grad job postings within quality assurance. And one thing that we quickly found is that we were running out of credits very fast. Like with users using that feature, there's a lot of queries, right?
So we have to be very intentional about rate limiting and ensuring that users aren't just spamming that feature and making sure that there's a limit to the number of queries they can send out so that we're not just blasting credits.
Lauren Lee: Okay, hypothetical. If, let's say twice, three times as many fellows join tomorrow, what would worry you the most?
Mukund Ummadisetti: In terms of technology, I don't think we have a lot of concerns there because we built this platform to like address the scalability issues.
Lauren Lee: So if I were to say, you know, what breaks first, the software or you, it's you.
Mukund Ummadisetti: It's probably going to be me. No, but I think it's just, it's so important to have like a strong team behind you of builders and founders because it makes the process so much easier of kind of navigating the ins and outs of scaling across campuses. People around you when you're starting a startup or organization of any sort is going to be crucial.
Lauren Lee: Okay. Well, what would you tell someone who's never written code or wants to build what you've built, wants to be a founder?
Mukund Ummadisetti: I'd say the biggest thing is just start building. You're not going to know everything day one, but as you build, you'll run into issues, you'll troubleshoot them, and then that's kind of how you're going to resolve them. You're inevitably going to have issues regardless of what you're building, what platform you're building, whether it's an organization, whether it's a website. But once you get started, you're going to run into those issues, you're going to learn how to overcome them, and then you're going to go on to the next step. And that's how you progress.
Lauren Lee: So don't wait, don't let the fear of it or intimidation stop you from achieving what you want to do.
Mukund Ummadisetti: Yeah.
Lauren Lee: Tell us where can people learn more if they want to get their UC school to be a part of it? Hopefully more than just UC, let's, you know, the limit does not exist on what school should be a part of it, right?
Mukund Ummadisetti: Yeah, absolutely. They can find us in social media. We have different chapters. We have pipeline.ucurvine, pipeline.ucla, pipeline.ucr.
Well, obviously our main platform is pipelineco.org. That's our primary website. And then, yeah, There's contact information there.
If they're looking to extend into whatever university they attend, they're looking to join the team or even just join the community, there's information out there on our website to join.
Lauren Lee: Mukund, well thank you so much for joining us today. And yeah, really appreciate you being a part of this and the CodeNewbie conversation.
Mukund Ummadisetti: Of course, Lauren. Thank you so much for having me today.
Lauren Lee: And now a word from our sponsors. Welcome back to CodeNewbie. Hi Rob, welcome to CodeNewbie.
Rob Frelow: Hi, thanks for having me.
Lauren Lee: You are the co-founder and the chief AI officer at The StoryGraph, is that correct?
Rob Frelow: Yes, it is.
Lauren Lee: Oh my gosh, very cool. Tell me about that.
Rob Frelow: Yeah, so The StoryGraph is an app that helps you find new books you want to read, helps you read with your friends, helps you get stats on the last, maybe the last year or the last five years of reading so you can see what type of reader you are. Yeah, our entire goal is helping you read more. And we do that in a lot of different ways.
Lauren Lee: That's very cool. I love it. And fun fact is that this is not your first CodeNewbie episode.
Rob Frelow: Oh, no, actually, I used to be the editor. I used to be the editor. I've been the host. I was the host for one episode.
I interviewed Saron. I was the guest maybe one or two times. I don't know. Yeah, it's been fun.
Lauren Lee: Yes. Most recently it was season 27, episode four. It was living the dream with AI. And that feels so fun to now be able to have you back. Thank you for joining us.
Rob Frelow: Awesome. Yes. Thank you for having me. I am still living the dream.
Lauren Lee: It's still going well. Excellent. I'm so happy to hear that. Yeah. On that episode, you shared your story into tech and how you fell in love with AI from first taking a ride in a Tesla with your friend.
Rob Frelow: Yes.
Lauren Lee: And are you still in love with it? I hope.
Rob Frelow: Still in love with AI? Yes. It's shocking to me how different things are now that AI has gone mainstream.
Lauren Lee: And maybe kind of are we all still AI newbies because it's evolving so quickly? I mean, you probably are an expert, but I mean, just because it's progressing so fast, there's always something to learn.
Rob Frelow: Every day I'm online reading the latest news, surprised about what's coming, getting ready for what's coming next. If you are standing still in AI, you're falling behind.
Lauren Lee: Last time you were here, you told the story of the three days that you spent building The StoryGraph's mood and pace model. That was even before and you had a dozen users. So what does StoryGraph look like now compared to that first week, you know, when you were working on it?
Rob Frelow: Oh, yes. Now we have about six million registered users.
Lauren Lee: Congratulations. So people who have.
Rob Frelow: Thank you.
Lauren Lee: Hell yes.
Rob Frelow: Yes, people who have signed up, who have an account, and a good portion of them actually use the app at least monthly. And I say monthly because people in general read a book about once a month. So that's our benchmark of how often are you signing into StoryGraph.
If it's about every time you finish a book, then we count you as an active reader, an active user. So yeah, we have over 6 million, but you can use the app without having a username and password. So especially during the January timeframe where people are looking up new books, they're excited about reading again for their New Year's resolutions.
Lauren Lee: setting goals. Yeah.
Rob Frelow: Yeah. We might get 20 million unique people visiting our site in a month. So, yeah.
Lauren Lee: Okay. So how many models though are you running today, for example?
Rob Frelow: Ooh.
Lauren Lee: Cause we, cause I only asked that because, you know, you were talking, you told that great story and listeners definitely go back and hear that story because you talking about building that mood and pace one. Yeah. I mean, it's, it is OG model building.
Rob Frelow: Yes.
Lauren Lee: It was great.
Rob Frelow: Yes, I was talking to my friend Nadia, who was already working on StoryGraph, but it was not, it was still an alpha product that wasn't really released yet. And I was just casually asking her, what is the biggest problem that you're having with StoryGraph right now? And she said something very interesting. She said, well, Rob, the biggest differentiator that we have in the market right now is that you can look up books by mood and pace.
But it's very hard to get data on mood and pace because the authors don't give it. The publishers don't give it. It's almost like if you haven't read the book, how can you know what the mood is? You can't just read the description because a lot of books, they change things up. What you think the book is going to be about is not actually what it's about.
So Nadia by herself was doing hours and hours of research almost per book to add it to the site. And when she said that to me, I said, oh my gosh, I remember, as you mentioned, I went for a ride in a Tesla about a year earlier and it got me really excited about deep learning. I took a deep learning class from fast.ai and I stopped after a few months after I finished the course because there was nothing for me to do with it. There's no real world data that I can actually use to do something fun. And I didn't feel like spending hundreds of hours making a model for my day job was really going to be fun or fruitful for me.
So I just sat on that skill set until I heard Nadia say, oh, this mood and pace thing, it's a big pain 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: I think that's, I mean, I love like fun, curiosity-driven development, right? When it is just, it feels exciting and interesting to play it. 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.
Lauren Lee: Right.
Rob Frelow: Just ethically in terms of giving our user data away.
Lauren Lee: Yeah.
Rob Frelow: 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're 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 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 one factor, but then also cost. You know, when should a new builder... how do you help them make that decision, if they're making maybe a matrix or matrices to evaluate that?
Rob Frelow: 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 that 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 viable product, where you're just trying to see if the idea works, and maybe you're going to iterate 10 or 20 times, you don't want to make each iteration slow down because you need to learn 100 hours' worth of tech first. I think keeping the tech simple is one of the staples at StoryGraph.
And I think when you're building a new company, that's very important. So if I were building a brand new company from scratch, where I'm not even sure if I'm going to have a lot of user data because I don't even know if anybody wants my app. Sure, at that point, maybe just do the quick API thing.
I think it's easy enough to learn how to host it locally just once. And then maybe you can apply that to different ideas and iterations that you have moving forward. But I've seen way too many people say, yes, I have this amazing business idea.
I just need to do X first. And X will take a year of their time, if we're lucky. And then they end up never doing their idea.
I talked to them five years later and they've never started it. So I think starting and doing something fast is important if you are trying to start a company.
Lauren Lee: Chase your dream. Yeah, absolutely. Well, Mukund, 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 first as he starts to grow and onboard more and more users?
Rob Frelow: Yeah, in my experience, it's never the scalability issues that you expect. So for an app like this, I expect scaling technically probably won't be cost prohibitive.
Lauren Lee: Okay.
Rob Frelow: Unless the app changes its structure in a way that does cost more money. But the things I expect to be problems are probably involving the community. So if you have 100,000 people who are posting a million comments a day, sure, AI can help ensure that the page still loads. And that's probably what most people are thinking about when they talk about scalability.
Lauren Lee: Sure.
Rob Frelow: But what is that experience like for the user? How do you handle spam bots or fake links promoting people to apply to jobs by sending them their personal information, which leads to identity theft? Or even like think of the Binance hack.
$6.3 billion was stolen from customers. And when they figured out how it happened, it's because one of the engineers was contacted through a legitimate job hunting platform and invited to do a bogus job interview with a fake company representative, and they downloaded malware that was masquerading as an assignment, a tech assignment, and $6.3 billion were stolen.
I think that's the stuff that you need to worry about most or I expect they're going to have to worry about most when they scale. It's always the things that you don't expect. But for me, I'll think that they might have already thought about some of that.
What you might not expect to be a problem when you scale is the pressure to hire people. That is a big thing at StoryGraph that we focus on. We want to keep our incentives aligned with the users.
So people ask us commonly, they say, hey, Nadia, hey, Rob, we've asked for this feature three years ago. It's still not out yet. What's going on?
Can't you just hire people and get this out faster? And I say, okay. The fact that we are only two full-time people means that we do not have the incentives or we do not have the pressure to try to generate revenue very quickly doing things that are not in your best interest.
StoryGraph has no ads. We never plan on having ads. StoryGraph does not sell your data.
We never plan on selling your data. We have competitors, or I've seen some competitors in the book space, where they have 10, 20, 30 employees. And what are they doing?
They're doing ads. They're probably selling user data. They're doing all the things that people don't like.
And most of the companies, even if they only have five employees, after the first year, they quit. Because people want to eat. People have rent to pay.
So when you're hiring people, it's putting a lot of burden on yourself. And especially in the age of AI, in my opinion, using AI as a builder when you're just getting started instead of putting the monetary pressure on your business to quickly generate revenue when you're not even sure if you have something that people want yet. I think using AI for that is okay.
I think control your company for as long as you can without giving up either equity to investors and then you lose control that way. Or by hiring people and now you're really giving control away of your business decisions to bring in money or not bring in money yet. At StoryGraph, we went without a salary for three years.
Lauren Lee: No way.
Rob Frelow: Three years. That would have been a lot harder if we had six employees.
Lauren Lee: Yeah, it would. Yeah, it would. And so with it being the two of you, you're able to really think about and have conversations thoughtfully about the roadmap then too when people are requesting features. I imagine. Yeah.
Rob Frelow: Yes, definitely. I've seen companies where they want to do something and the process to get on the roadmap requires talking to six different people before he even gets on the roadmap.
Lauren Lee: Oh my gosh.
Rob Frelow: If Nadia and I want to do something today, it'll be out live tomorrow.
Lauren Lee: That's so cool. Yeah, I was even, while I was researching more about StoryGraph and learning about it, and I saw people lauding the fact that I could even turn off the AI. Like, those who love it and those who don't, you know, you're able to please so many different folks. It's really cool.
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 for the people who don't like AI, if you will never see it on StoryGraph, it will never be pushed in your face.
Lauren Lee: Cool. Yeah. Okay. You know what? So, so far in our conversation, we've been talking a lot about AI as a feature within The StoryGraph, but 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 can 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 pushed 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.
Lauren Lee: Yeah.
Rob Frelow: So all the AI that is running on StoryGraph is running on StoryGraph servers.
Lauren Lee: So what advice would you give to Mukund 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. He's 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. 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, 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. There may be a million comments online saying, cancel, delete the app.
Oh, my gosh. We hate AI. Oh, the books. AI has no place in books.
Lauren Lee: The librarians came for them.
Rob Frelow: The librarians came for them. And that is, we feel so strongly about that in the book community. On StoryGraph, we don't call it AI. We call it SGAI because the word AI has a bad connotation.
Lauren Lee: What is that? StoryGraph AI?
Rob Frelow: Yeah, that's The StoryGraph AI.
Lauren Lee: Okay, so I was writing it down like, I need to look this up. Yeah, SGAI.
Rob Frelow: Next to every AI feature, there's a little icon that says SGAI and you click to learn more. And I can just read it here. It's a complete in-house solution.
All processing is done on StoryGraph. So your reading data is kept private and never shared, as we said. Regarding the environmental impact, the entire feature uses the power of a single gaming PC and runs on 100% renewable energy.
Lauren Lee: Yeah.
Rob Frelow: And it is opt-in and off by default.
Lauren Lee: I see.
Rob Frelow: So if I could read through all the angry comments about AI and I hit every single one, make sure that we're doing it in an ethical manner that is aligned with what our users want.
Lauren Lee: I see.
Rob Frelow: I think most industries don't have that problem.
Lauren Lee: Going back to our builder, the area, I suppose, maybe that I would like for him to... The lines of code to know well would be security, maybe, or the lines that could hurt someone. data, the user data, the emails that he's holding on to, or maybe the information that they're submitting.
Otherwise, you're right. If you're still proof of concepting, go for it, right? Yeah.
Don't let it slow you down.
Rob Frelow: Definitely. And there's an argument to be made that some AIs can be better than us at security, if you're new. But I would personally, when it comes to security stuff, I would double, triple check that. Even if it's just a 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 I explained it properly by using a different source. I think that's totally acceptable, right?
Lauren Lee: I think that's a really healthy way to interact with AI. In fact, as a explain this to me, teach it to me, and then 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 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 StoryGraph 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, is 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 StoryGraph in particular uses a lot of data.
The database is very busy. So on our biggest day, last January 1st, our database had over a million operations per second.
Lauren Lee: Wow.
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.
Lauren Lee: Yeah.
Rob Frelow: Every single one of those things is a database operation, maybe 10 database operations. So scaling the database has been the biggest struggle at StoryGraph. I think I have it down now.
Lauren Lee: Okay.
Rob Frelow: We'll see next. You can ask me in a month and a half when January 1st comes.
Lauren Lee: January 1st is coming.
Rob Frelow: Yeah, I know. I know.
Lauren Lee: Talk me through what happens step-by-step when someone opens a book page on StoryGraph.
Rob Frelow: Yes. So let's say you're typing in app.thestorygraph.com in your web browser. The first thing that happens is it hits your DNS or it hits a DNS server because it needs to figure out what the IP address is.
So that whenever you're typing something in, your computer does not talk to other computers directly via app.thestorygraph.com, the text you type in. it has to be translated to an IP address. That's how computers talk.
An IP address might be 192.168.1.1. Whatever those strings of numbers are, that's how it connects. Actually, I love talking to or showing new people this because I actually can put in an IP address in my URL browser, in the browser, in the URL bar, and it'll bring me to the website.
You don't need to put in google.com. You could put in the IP address and it'll bring you there unless they block it. I block it.
A lot of people block it. But anyway, Yes, app.thestorygraph.com. It gets the IP address for you in the background and your computer starts talking to the web server of The StoryGraph, which is running on Ruby on Rails.
And when you hit that book page, the web server first needs to determine what book page you're hitting and what data it needs from the database to populate that book. So, for example, it needs the title and author. It needs the book cover. It needs the tags, whether it's a fast pace or slow pace, what are the moods of the book? Is it a tense, mysterious book or is it something more relaxed?
The description of the book, literally every single piece of information that you see on that book page is a database query. So when you hit it, it might do 10 to 15 database queries back and forth to the database between the web server. And then it gets, we have two AI features that are on the book page.
So the first AI feature is called Who's It For? And that gives you a very brief one-sentence description of the type of reader this book is the best fit for. And my favorite thing is there's no spoilers there.
I hate reading book descriptions because they almost always give up a spoiler. I'll read a science fiction book and the description will say, yeah, so when they travel to another world, it meets aliens and the alien is the best friend. I'm like, I didn't need to know that.
Lauren Lee: I didn't need to know that at all. No, no, no.
Rob Frelow: No. So I wanted 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: So I've seen a lot of developers, students building on brand new languages and getting confident yet wrong code from AI. And those students or developers are unfortunately assuming that those mistakes are their own. They're internalizing it and thinking that they're the ones that are honestly stupid and thinking that they are not smart enough to learn the tech.
And it'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?
Powered by Froala Editor
Thank you to these sponsors for supporting the show!