In this episode, I chat with Alex Koutmos, author of Elixir Patterns and creator of numerous open source libraries, about building EagleMMS - a SaaS platform helping collision repair shops accurately calculate consumable costs for vehicle repairs. Alex shares his journey from two failed startups to building a profitable business with nearly a thousand customers. We discuss the outdated methods insurance companies use to calculate repair costs, the brutal reality of door-to-door sales, and how Alex's brother (a licensed auto body technician and appraiser) became his co-founder and sales partner. Alex explains why customer support load is heavier than expected when dealing with insurance company pushback and how they coach shops through negotiations. On the technical side, Alex walks through his evolution from a Vue SPA to a full LiveView application, building PWAs that work seamlessly on mobile, and why Elixir has never been a bottleneck for his business needs. We cover ETS caching strategies for performance, database backup lessons learned the hard way, and why he refuses to do standups. Alex also previews his upcoming books on financial analytics with Explorer and Scholar, plus a Nerves book entering beta soon. Connect with Alex: - X: https://x.com/akoutmos - Books: https://akoutmos.com/top/books/ - EagleMMS: https://eaglemms.com/ SUPPORT ELIXIR MENTOR - Elixir Mentor: https://elixirmentor.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Hey, I'm Kimberly with Elixir mentor Jacob recently added recruitment services to help companies hire pre bedded Elixir devs. I help with company outreach, so if you're hiring, I may be reaching out, or you can connect with us anytime at elixirmentor.com. Secure your Elixir apps with paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO testing. What's up?
I'm Jacob Litzow, your Elixir mentor, and welcome to another exciting episode of the Elixir Mentor Podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the community, to innovative projects and libraries shaping Elixir's future. Alex is back and this time we're diving into Elixir from a product and tech founder perspective. We're going to be talking about his SAS platform, Eagle MMS and you know, real world challenges, lessons learned, etcetera. Welcome back Alex, it's good to
have you back on. How are you doing? Doing well, doing well. Thanks for having me. Yeah, I'm excited. I have like a handful of guests now coming on from more of like the the technical founder perspective. And I think like, obviously like talking about code is important, but I also feel like knowing how to create a product and like what it actually takes to be successful is so awesome to know because I feel like engineers struggle with that a lot. Well, in that case, I don't
think I'm qualified, he said. They were successful. We better end this then. See you guys have a good day. Before we dive into that though, like what's what's been going on in your world since we talked last? I feel like you and Peter were on 4. Months ago or? So was it maybe even longer? I was like. I think it was like a year ago it. Might have been. I think, I think I was down in Florida at the time, so that
must. Have been. That sounds about right. Maybe that was this year. Yeah, I was down in Florida in February, so maybe it was this year. Excellent. All right, so you're not making me feel too crazy. Yeah, not, not too crazy. No, it's been, it's been a bit busy. It's been a bit busy, which is unfortunate because I've kind of fallen behind on my blog posts, falling behind on my open source work. But I think in that time, like Elixir patterns fully shipped, which is nice. So that's that's in print and and completed. I think we're actually running
a, a Black Friday sale. You should go check it out everybody if. Everyone should go grab that book because I know I've said in the past like it's one of those books that just has so many like little Nuggets of gold to make you just step up your elixir game. So. Yeah. And actually a lot of what's in that book, it definitely came about as I was working on the business. Like a lot of the things I've put in there are things that I actually use day-to-day in my in my app. And we can. We can talk about that, yeah. That's how I learned about like, well, I didn't learn about, but
that's what got me first. Using like a an AT's table and stuff was your book. Yeah, yeah, yeah. That's, that was one of the the patterns in the book was what was it? It was creating a debts table and then loading up the deaths table on application start and in, in Eagle. So we're in the automotive space. So there's a lot of static data that kind of changes, you know, maybe quarterly. So it's not something I want to stick in Postgres because it it doesn't change that often, but I want it to be fast, right? Like if I'm doing your make model car look UPS, there's,
there's no reason to go back and forth over to the network to, to Postgres. So all that stuff is actually inside of a, inside of a debts file. And so it gets bundled in with the, the docker image. And then on application start, you know, you take the debts file, you read it and you, you load it into ETS. And that that was one of the patterns and Elixir patterns and it worked out well for our product. You know our our year make model like drop down filters essentially. Instantaneous. How does that work with like distribution like popping up new
nodes and stuff? Because are X tables distributed? Do they or they're just to? No, they're not. They're to one node, yeah. So every node would have to spin that up. But given that it's, given that it's static, you're not synchronizing, right? Yeah. Yeah. OK. That makes sense. Cool. Yeah. So can you just kind of go through from like a macro level what Eagle MMS is and like what got you into the automotive space to begin with? Yeah, Sure, sure. OK, so we'll rewind to like
2013. I think I was starting my first start up around 2013. I think I was trying to do it in Node JS and that one failed that not not for that. That one didn't fail for technical reasons. That one failed 'cause, you know, I thought I could just build something quietly and then. Build it and they will come right that's. Not true. Yeah, That, that that is. Yeah, that's not true at all. That's the the first one failed. Nach started another business probably like 20-16 something
like that. It was actually kind of like Uber book for logistics. And my Co founder was me and him were working at the same company here in the states. He was originally from Senegal, Africa. So you were going to launch this over there. But you know, I was the technical side of the house. He was business side of the house, but it just kind of petered out after a little while. You know, I think he got a job, I got a new job and just things kind of fizzled out and we never really launched. So I had like 2 failed startups under my belt and I've always
been into cars, but I never thought about making an actual business in, you know, the automotive space. But I was taking a road trip with my younger brother, who is actually a auto body technician. And I was, you know, I was kind of complaining to him like, oh man, you know, 22 startups deep, both failed. I, you know, I, I just itching to start another one because this was like 3-4 years after the previous failure. And so I just asked, you know, what's, what's going on in your, you know, automotive auto body space collision, what's going on there? So he told me about how like how archaic it is to tabulate the
consumables costs in a repair. So, you know, after, after cars like into, into an accident, you're obviously going to use a ton of sandpaper or body filler. If you're welding things, you're going to be using a bunch of, you know, MIG wire, TIG wire, whatever. There's a whole bunch of consumables that goes in that goes into the repair. And the way it's been done for 30-40 years is they take the amount of hours that it takes to fix the car and they just multiply it by like 35. And that's what the insurance companies have been doing for, you know, 30-40 years.
And, you know, maybe it worked in the 90s, maybe it worked in the early 2000s. But after, you know, after COVID hit, you know, inflation took over, we had the petroleum crisis, you know, in the middle of COVID, you know, all the supply chains got out of whack. So things that you could buy for, you know, 4-5 dollars before COVID are now $20 a piece. And, you know, insurance companies like, no, no, no, the old model works fine. You know, we can collect all of our customers, you know, monthly dues or whatever, you know, bi annual dues and then we can keep
paying the body shops what we paid them back in the 90s. So they make a ton of money on the front end and then they distribute nothing when it comes time to file a claim. So there's a bit of friction in the industry where we're now providing software that like very, very accurately calculates how much consumable cost goes into every repair. But the insurance companies like, no, no, we want to keep the old model because it it's financially beneficial to them. Of course. So like, like we're, we're able to track down to a single piece of sandpaper how much, how much
the job actually costs. And we have this humongous database of, you know, sandpaper from three M from Norton from, you know, sand makes some, some sand for like all these manufacturers. We've aggregated all of their, their price lists together and we can tabulate how much 1 sandpaper, you know, one piece of sandpaper costs for one, for one job. We have this nice diagram that people can click on so we can calculate how much paint that they need, how much clear coat, primer, sealer. So we've built a very, very accurate estimation and
invoicing model for, for how to repair vehicles and how much it costs just for the consumable side of things. So we don't touch labor, we don't touch, you know, operations that you need to perform on the vehicle if you're like pulling A-frame or whatever. But the, anything consumables related we take care of and also environmental impact cause a lot of these, a lot of these chemicals are volatile. So they need to be dealt with separately than just chucking it in the trash bin. So we also provide invoices for the insurance companies that say, hey, this is how much volatile compound was discarded.
This is how much it costs to pick it up, you know, stuff like that. So yeah, it's, it's fun. We we're on the phone with insurance companies. That sounds horrible but also awesome. I feel like there's probably so many industries that need similar solutions like this too because I feel like anything, I don't want to say like I guess more like manufacturing or like in this case, like auto repair. I feel like everything is just estimated at a very high level. Yeah, yeah.
And a lot of it's a lot of them on the front end, right. So if if your car gets wrecked and you're, you know, taken to a shop, the shop will write a giant estimate. And then that estimate goes to the insurance company. Ideally, insurance is not part of this process at all. But I think they've kind of finagled themselves into the process. Ideally the shop would write a an estimate, they'd give it to the vehicle owner, the vehicle owner would get the repairs to go to their insurance company and get reimbursed. Like ideally that's how it works. Insurance should actually have no no say in the process. But I think they're socially
engineer their way there. But this? Is weird how companies that don't do anything make money off of other people doing things. Yeah, yeah. Well, that's the problem, right? Like think about how many movies are out where it's like evil insurance company won't pay claim right like but that narrative is is as old as time. It's out there. And yet, and yet here we are. And to be fair, there are a few insurance companies that are actually quite nice to work with, but there are also some that, you know, just atrocious where like to the point where
it's it's the, it's the vehicle owner safety at risk, right? Where if a car gets into a certain kind of risk, into a certain kind of accident, you're supposed to measure the frames and measure and like make sure that everything's the spec, right? Because if something is off, alignment is off, you know, shoot, maybe, you know, if maybe your, your steering column is bent, like there's a whole bunch of measurement that needs to be taken into account to ensure that after the other cosmetic repairs of the vehicle, it's still safe to drive after the. And a lot of times the shops will write an estimate and the insurance company be like, yeah,
you don't need to do that, You don't need to do that, don't need to do that. And it's like. Dude, I do. You do you want your customer to drive an unsafe vehicle. I don't. Yeah, they don't care how cute. When I was in college, I got T boned by a drunk driver and like relatively like it was like a year old, maybe a year and a half old like Jetta and it I remember being so pissed. It was like $500 away from being considered totaled and so I had to get everything repaired.
It was a black car. They painted it horrible like so you could see like orange peel and crab like. Did you did you go to the the shop that the insurance company suggested? Yep. OK. So those are called, those are called DRPS. Those are direct repair partners and like the whole agreement between them and insurances, insurance will send them volumes, but they're repaired as cheaply as possible. So what are you describing? I learned my lesson. I was young, dude. I was like 22 years old and I learned my lesson the hard way
and that sucked. Yeah, yeah, that I, that is, that is not a unique story. If you go to the, if you go to the shop, the insurance company suggests it's ADRP and it'll be like, the goal is keep it as cheap as possible. So things that should be replaced versus repaired, they'll repair it because it's cheaper. You know where where they should be getting OEM parts like like stuff from Volkswagen. In your case, they'll probably get aftermarket stuff, which is, you know, thinner metal.
Maybe it's not even to tolerance. And maybe they can't even paint a car. Usually you'll like you'll see the difference. So it's like the OEM black, you know, you'll have a new panel here. It's like these are two different shades of of black. That's that's not the same. It's not on them, doesn't shine as nicely as the other. So I'm curious, like I talk about this a lot with like building products. How did you like validate the idea of what you wanted? What did that like? What did the MVP even look like 'cause I always talk about like
you can't, you launch a product with as few features as you possibly can add and then you get some validation or feedback. Like what was your approach there? What did you? Yeah, so it, it definitely helped where, you know, my younger brother's the, the domain expert, right? Like he's in auto body. He's been, he's been fixing cars for, you know, 10 years now. So he had, he had very intimate knowledge about the, the industry. So he was actually, you know, essentially customer #1 So he helped me like, you know, I
would, I would build stuff, he'd, you know, iterate with me and say, yeah, this is a little clunky, this doesn't work the way I want it, stuff like that. And our our first iteration of the product was everything in the shop would have AQR code and you would just go around with your cell phone as you're grabbing things and scan them. And we're like. This is perfect. You don't need any app beyond this. Yeah, Everyone's just going to go get their piece of sandpaper and scan it out. Like in an ideal world, that's it. That's it. Like final, final stage app. You don't need to do anything else.
And it, you know, it works for his, you know, his little, his little operation, you know, he was working out of his, out of his home garage, repairing stuff on the side. And he's like, yeah, this is perfect for me. I go up, I get my sandpaper, I scan it out and I, you know, I go in a sand and it's all done. So after we got that whole flow down, you know, got it deployed, there's a whole bunch of, you know, technical overhead of getting the CICD pipeline, deploying it the you know what, not, you know, fighting with, fighting with Chrome to generate PDFs like once, you know, once that heavy lift was done and. And wait, didn't you build a
library for PDFs? No, actually I got. I got a shout out to Was it chromic PDFI think is the name of the. Oh, OK. That is a phenomenal, phenomenal library. Yeah, it's the yeah, Chromic PDF by Bitcrowd. If like if you need to work with with PDFs, that's probably the best one that's browser based, so it's Chromium based. Very cool, I'll check that one out.
Like nowadays there's also types, which is that Rust library. I think there are Rust, I think there are Rusts are binding bindings for it now, I think from a few, few different authors, but you essentially type your your markdown and pass it through types and I'll generate APDF for you. Like if if types existed when I started this business I probably would have used types, but chromic PDF does the job as well. The only bad part about chromic PDF is getting is getting
Chrome. Chrome. Window just asked, did you say bit crowd? Yeah, bit crowd. OK, cool. But yeah, so yeah, got all the, you know, the technical kind of overhead stuff done, got it deployed. My brother was was using a day-to-day at his home, you know, his home shop. He loved it. And we're like, all right, it's time to it's time to go out on the road and sell this thing. So yeah, he he, he was going
door to door at the time, I was living in Connecticut. And so is he. So, you know, he just hopped in his, in his car and we just go shop to shop. And like, that's, that's when reality hits you is when you, when you try to sell something and you know you're trying to take someone's money and offer them a service like that's, that's a reality sets in and everyone's like, get the heck out of here. What do you want with this, this nonsense? The. The door to door, like dude, feet on the ground, That's,
that's the hard work right there. Building the products. The easy part. But don't tell him that, yeah. I, I, I, I tell everything I tell, I tell everyone that. Well, here's the thing though. I feel like it's easy for like someone that has like the engineering architect brain like that wants to just build solutions, right? And it's really easy to like lock in, don't talk to people and just build something. But then they like actually get people to use it. Like it goes against like I don't want to go and socialize
and talk to a bunch of random strangers all day long to grow. Like that's the hard part. It's like, not that it's hard, it's that I just don't want to do it. Yeah, yeah. And I think like this is where knowing yourself is, is important, right, Because I'm kind of the same way. Like lock me in a room, I'll program for 1012 hours straight. I'll even skip a couple meals in the in the process. Like no problem. I enjoy that. I could, I could even do the sales stuff. Like if we go to a trade show, you know, we all, you know, me and my brother, both coasts, we're Co founders and I'll sell that.
I don't mind it, but like, I definitely don't. I definitely don't enjoy it. Let's put it that. Yeah, I'm more of like dark room programming. I'm more of a, you know, send me a warm lead and I'll like gladly like close it like because then it's just like having a good conversation with someone. And if you believe in your product, the it's pretty easy to close. But like the the cold knocking outreach, all the hang ups and door slams, that's what I don't like, yeah. It's really like it, it, it tears you down.
It does. And like, that's, that's what the first, I don't know, 6-7 months was where I was like he'd go door to door. He actually, he did make a sale his very first day. And I think that gave him like a false sense of, you know, confidence like this is going to be easy. Yeah, I can make a sale a day. It'd be phenomenal. I think like if he hadn't made that, that that first sale on that first day, Like I don't know if we'd have a business to be honest. I'm curious like. The next six months are just
depression. Yeah, yeah. What is like and you don't have to like disclose exact numbers, but like what is like the, the rough like monthly cost to use your service like and then like how many users do you actually have on your platform to make it like a profitable company? Yeah. So we have, we have our pricing page that's I think we got rid of our yearly plan and it's just, it's just a monthly. So it's 99 months to use our to use our, our software and we're, we're just under 1000 customers,
right? Now, OK, awesome. I always, I tell so many people now like just like and I'm I'm really grateful. Like I work at Colex. It's an awesome company. We're doing really cool things, but like the user base and like the amount of queries and stuff coming in, it's like at that scale where things become very difficult, you know what I mean? And I tell everyone like, dude, if you can build like micro products and have, you know, just like 1000 users, 2000 users on it and like make a good living, that's the way to go. Yeah, yeah.
I mean, I can definitely tell you even on 1000 customers, the and, and maybe this is just specific to us because we deal with insurance companies, but the the customer support load is, is pretty heavy. Like, yeah, a lot of shops will use our software. They'll get an invoice. That's right. This is back here and I'll give it to the insurance company and the insurance companies like, yeah, we don't recognize invoices. Yeah, right. I could see the shops are the shops are stopped. They're like, I don't know what to say or do. So we we have to touch them and
walk them through. OK, this is yeah, these are the laws in your state because we're we're, you know, we're, we're nationwide actually, we're actually international. We have shops in Canada and I think that's awesome. Maybe starting in in Australia as well. But yeah, I don't know what to tell them. They said no and I'm just. I just froze. Do you have like low level? Do you pay for customer service? Because I feel like that's the first thing I would want to outsource and pay for. And I would I would 100% agree. Like once you start making some money, customer support is
definitely a good investment because it frees it frees you up to do more of the stuff that drives more revenue. Like obviously if things are like escalated it can land on your desk, but for a low level I feel like outsource that immediately or higher higher immediately. So that, that was our first hire was a, a customer support guy and he, he was responsible for onboarding all the customers, you know, making sure that they attended training sessions, you know, making sure their accounts were all configured. And he's, he's phenomenal with that stuff.
But once it's once it comes into like negotiation territory. My younger brother's also licensed appraiser. So he actually used to like really, really early days worked at insurance company and after I think 3 months he was like, this is the miserable existence, but he got all like his licensing and everything like that. So, yeah, any time it becomes a topic of how do I negotiate with insurance companies, my brother takes that on. And then if it's like a technical thing, you know, I, I kind of take that on. Yeah, yeah. So as as the customer base has grown, yeah, like supporting them and making sure that
they're successful with the app is like that, that time effort has also grown. Well, that's important, especially like you're not locking people in under contracts, right. So you have to worry about churn and like churn is like a, you know, a new thing to have to deal with in in like a SAS product, right? Oh yeah, yeah, It's not like that. That part of it is definitely depressing, right? Like if you, if you see, if you log into your strike dashboard, you know, a number go up, you know, you're happy. It's just like sometimes you'll go through like a wave.
You know, it's usually like summertime when people are out of office and like, oh, OK, time to cut expenses because we're not using these things type of stuff. You'll get a wave of churn. It's just like demoralizing to the extremes. Yeah, I can imagine. Yeah, that would be a little sad. Like what would what would you say like as you're building and like obviously since you're a Co founder, you know, you care about the success of this company. What's your day-to-day look like like between writing new
features and, you know, boring office work, tax stuff, whatever. Yeah, yeah. Customer support, whatever it may be. Yeah. So we, we are getting close to that tax, a tax party here. So I'm actually like CTONCOO of the business, OK. So like anything, anything paperwork and like compliance legal accounting that also falls on my on my desk as well. So we're getting into that season where I'm going to have to shift a lot of my programming
and technical stuff into making sure we're, you know, all of our stuff is ready for the accountants, all of our stuff is ready for our lawyers and all that, all that fun. Yeah, if you guys didn't know, Alex is a really big nerd and didn't you just or or you are writing a book with like financial math and stuff with Elixir? Yes, yeah, actually my so my, my younger brother is auto body technician. My older brother actually teaches at Texas A&M. He teaches finance and economics. So he's, he's got his PhD in in
finance. And yeah, like very similarly to like the conversation I had with my younger brother, I was like, I don't know what to build, you know what, what, what problems do you have in your space? In your space? Yeah, I just finished up Elixir patterns. So I was like, I kind of want to write another book, you know, like, is there, is there stuff we can talk about in finance? And yeah, he does everything in Excel and a little bit of Python And a little bit of R but like, Excel is where he lives. And yeah, he's like, oh, I'd love to take a lot of this stuff that I do in Excel and make like an actual streaming data
processing pipeline. And I was like, oh, I can write a book about that. That's awesome. Yeah. Is that book released yet or is it out? So the finance book is is actually about like, I don't know, 2025% of the way done I can actually share, Can I share a screen? Yeah, you can. I'm just gonna have to grab a URL real quick and yeah, we can do that. OK yeah I'll show off the cover for that one cuz then since I'm
also a workaholic, I also have another book that means. I call it abuseaholic dude. You abuse yourself and take all your time away because I do the same thing. I don't have any free time anymore because I just pile things on. Yeah, I, I just, I just love building stuff. And it's, it's a problem. I yeah, I probably should talk to somebody about. This Oh man yes, if you want to share your screen, you got to do it through video and then I just I can grab and then once you do
that I can grab the streaming link and I can display it. Here we see SO share. We got Owen on here saying Elixir patterns is great. I agree. Dude, it's such a good OH. Thank you. Appreciate it. Such a good book. All right, I'm gonna. Let's see. Now I just have to guest one. Oh, wait. I'm guest. Wait. Am I guest one? No, you're guest one. I don't even know how I label things. Oh, wait. Hey, do you see the like Infinity? Yeah, I'm about.
Well, everyone's about to see that. Oh. Everyone's about to see OK. Here it goes. All right, now everyone sees the Infinity view of us chatting all. Right. So this is the, this is the finance book. This one's about 20 to 25% done. Oh, I like that. Cover Oh, I thank you. Dude, something about data and graphs it just it, it hits me like I love it. It's my special place it. It is fun, it is fun. And like, like writing this book has been a lot of fun for me 'cause like, I've always wanted
to dabble in, you know, Elixir of Scholar and Annex. I just didn't have anything that I wanted to do with those things. And this, like this topic fits so nicely with all these tools. Yeah, I love that. I'm excited for this 'cause I like NX. I feel like it's like so over my head and I feel like this might be a good like. Yeah. So that's what they're. Using it that. That's kind of how I felt with like explorer and scholar as well. I was like, these are, these are really cool tools. They have a lot of, you know, nifty, you know, modules and functions in there.
I just, I just don't have anything to do with them, which means I'm not going to learn it because I'm like, I'm not, I'm not actively exploring these, these libraries. So Wendell said, oh, this will be a fun one. I'm excited to read this one. And Owen goes, damn it, I need to buy another book. Yeah, well, there's also another secret coming out. So I'll, I'll, we'll talk about this one for a second, but. We'll we'll save the secret for when we're about to close off to make people like sit at the. Edge of it we could, yeah. OK, we can.
We can save it to the end. Yeah, yeah, guys, there's another secret. But I was. Actually pretty exciting. It, I think it's, I think it's great. I actually, I actually have some of that, you know, secret to show off here on my desk. You can do some show and tell. All right. But yeah, this has been great. Explorer's a phenomenal library. Like if you're, if you're doing anything with, you know, large data sets and you want to still have the, the ergonomics and the developer experience of Elixir. This is Explorer's phenomenal
'cause under the under the hood he uses Polar's, which is a data frame library written in REST. But you know, you have nice bindings to those via via Rustler. And so with the, the financial analytics side, you're doing a lot of time series analysis. And like when I first got things set up, I was like, there's no way it's this fast. Because I was analysing like from the beginning of time, Amazon to now and I was doing a whole bunch of like overlays of simple, simple moving averages, exponential moving averages and stuff like that. And I was like, is, is it really
done in, you know, 50 milliseconds analyzing all that time series and re plotting it in live book and and whatnot. So, yeah, explorer is, is great. You know, I'm just getting into the, the scholar portion of the book now. It's yeah, this, this has been a fun one. This has been a really fun book. Awesome. That's cool. Yeah, I'll we have. Carl Amazing serious computing. Yeah, yeah, yeah. Big data analytics. Who said it wasn't? Who said it wasn't possible? I love it.
That's cool. I'm excited. I'm excited for that one. Yeah, guys, I buy. I will buy all of Alex's books after I read Elixir Pattern. Did you did you have a book before Elixir Pattern? Yeah, I did. I can't, I can't remember the name of it, actually. I think it's building a weather station with nerves. I own that book but I have not read it. I need to. Yeah, there we go. Build a weather station with with Elixir nerves. Visualize your sensor data with
Phoenix and Grafana. I forgot the name of it. I'm terrible, terrible. Dude, I what's really bad now is I will like forget who I've had on my podcast. It's. The same thing, OK. Yeah, yeah. And I'll be like, shoot, I'm like 90% sure I've talked to him and I'll have to go look at my podcast list and be like, Oh no, I haven't. But like either way, like I'll have them on or have people back on. Like I think my favorite are my favorites having returning guests, to be honest.
Because then you're like, you don't have like the awkward couple minutes of opening it up. You're just like, good to go. You just dive right into it, yeah. I'm going to put you on hold a real 2nd and just run an ad and then we'll be right back. Hey, I'm Kimberly with Elixir mentor Jacob recently added recruitment services to help companies hire pre vetted Elixir devs. I help with company outreach, so if you're hiring, I may be reaching out, or you can connect with us anytime at elixirmentor.com. And we're back.
I play little timers now to remind myself to play ads. Nice. It's a pretty pretty nice setup you have. Dude, it's just like the Stream Deck and then OBS and it's just it's good except I accidentally like one of my OBS updates like checked that I want to do beta updates, like automatically do beta updates, beta testing. And one day I feel like it was like it was like when I was
having Jose on or you know, like someone who I'm like nervous about talking to a little bit, you know, and it broke everything. I my stream deck didn't work all because of this new update and I didn't have time to fix it. So I was like manually clicking as we're doing this. And yeah, it was rough, but. Doing it live. Yeah, doing it live, but yeah, other when it works, I love my setup. It works well. Nice, nice. Yeah, See, sometimes it pays not
to be on the bleeding edge. Like sometimes you don't want to update. No dude, especially like I don't know that much about audio and video streaming. So like when it's working, I just want to keep it working. Yeah, yeah, because I. Remember, like I try to like manually set like streaming settings and things from like video and things and I would just screw up video quality or audio quality. Like if you go back to some of my like first episodes, I always was having issues and knock on wood, I got it pretty dialed now.
Nice, nice. Yeah, I keep mine pretty simple. I just moved the so all my like actual stuff is in is in boxes. So I'll just settle for the the Airpods for now. I mean honestly Airpods are pretty good mics. Like I use a beacon for a beacon mic which I feel like it's the best like USB style mic you can get out there because I don't want to deal with all the other crap the I forget what you call the audio plugs and like the amplifiers and things. Quarter inch Jack or whatever. Yeah, yeah.
Like, no, thanks. And then I use these to hear you and to talk to you because I found, like, if I hooked up through my Beacon mic, it would be like delayed to my guest. And then I feel like it's just weird conversation. Yeah. Yeah, yeah, yeah, I think I have El Elgato was a wave three, I think is my my mic that's. A good job. I like Elgato stuff. I just got there there one of their key lights and that's really nice. Oh, OK. Because at first like, yeah, like the light I have up over
here, I manually turn it on, but I was like, I need like my recording setup to just all turn on with a push of a button. So. Like now I turn on, you know, the mood lighting behind me, my key light and my camera all with like 1 button and that's nice. Nice. You're well organized. Dude, I just am a nerd. I like, I like to like automate things that I manually do, you know? Yeah, yeah. I think everyone can relate. That's listening. Oh yeah, yeah, gear is half the fun. I know something new. And yeah, it's especially like
Black Friday. You can probably get a whole bunch of nice stuff on on discount. I already my big Black Friday purchase was I bought one of like a vertical bike rack for my my trailer hitch so I can get a bunch of mountain bikes stacked across like a six bike rack. It's pretty dope. That's pretty slick. That's nice. No gear list here. Like I, I laughed. I I'll pull up my like YouTube analytics and be like lifetime, right? Like which is pretty cool, right?
Like I've made like $1500 in like views lifetime on YouTube. I was like, Oh, I almost paid for my gear. You're you're crossing that point in the graph. It's like and then how much time? Minus time like like so if you guys want to get rich, ignore. That. Yeah, yeah, if you guys want to get rich, don't start a YouTube channel with Elixir. Yeah, like, yeah, unfortunately it does not get as as many views
as like, you know, chasing the latest JavaScript LED framework. I dude, I don't have the energy for that. I'm already like worn out with just doing electric content and I enjoy doing it. I couldn't imagine like staying up to date on JavaScript anything. Yeah. Like. It's a, it's a tough ecosystem, but like, yeah, I said that I started my first business in Node and like even there like just the course of trying to build a product, like stuff changed from the day I started, like the day I ended, I was
like, this is ridiculous. I started with express, then I went to it was a cola was like the wrap around express and I was like, yeah, but cola uses promises, Express doesn't. It's all callbacks. Everyone should switch to cola. And I'm, I'm going off of like a decade worth of memory here. So maybe I'm, I'm misrepresenting the two libraries, but if I recall correctly, that's what it was. And yeah, for the second, the second start up, I switched to Elixir and like that's when I actually learned how to use Elixir was 20/15/2016. And it was with that start up
and even the course of just, you know, building a product with 0 Elixir experience. Yeah, I was like, all right, this makes sense. This is a well thought out like this is what Phoenix, well before Phoenix 1.0, I was like, this is a well thought out framework. It's doing exactly what I want it to do. It's performance. I was like, yeah, I'm going to be building apps with this from now on. That's what I did too. Like I came from like a node JS background and then I had my like fitness marketplace. I started building and I was like I had a buddy that kept
telling me to check out Elixir for like 2 years and then I finally checked it out. I was like, oh this is actually a like on paper it's a really good fit. Like I didn't actually know anything about it and I just started writing my back end in Elixir. Like horrible. Like my learning curve was oh. Yeah, my first step was. Bad. Like I wrote like I was an object oriented programmer and I wrote like just a REST API in all the wrong ways. But then like I kept rewriting it and fixing things and I was
like, I need to make video tutorials because I came from like originally. Like when I first got into tech, I was part of like a learn to code platform and I was like, we need more Elixir video tutorials out there. And I was like and that that's what started Elixir Mentor and it was called back end stuff back then 'cause I didn't want to do any front end dev. Well, that's that first, you know, that second app I wrote, I got, I still kind of hold in some of my, you know, preconceived JavaScript notions.
So it was a it was a Phoenix back end. So it was all Restful API and then it was a a view single page app. And like of all the front end frameworks I like view the best. If I had to write an SPA today, it'd still leave you. I feel like View is pretty good. I don't know it well enough, but that's what like my business partner and I was perfect for him. I wrote the back end and Elixir and he wrote APWA in View and. Yeah, yeah. Like it's, it's still, it still seems like one of the more sane front end frameworks.
But like even that, there's still a lot of friction where it's like, you know, I had to write one app, deploy it separately, you know, write the back end app, deploy that separately. Oh, you know, I was an idiot. I, you know, I named something incorrect, like, you know, an endpoint had a typo. So I tried to make it a rest call and it didn't work. So like there's, there's a lot of overhead involved. Where are your? Tests, Alex. What do you mean? Where are my tests? What tests? Your unit tests or anything, come on.
No, that was the other thing right? Where like the front end would have its little and back then the unit tests for JavaScript are just was it Mocha? I think was. Mocha sounds familiar, but it's been a while. For me, that's a 10 year old testing framework. But like even that just, it felt it was so bad. It was so bad versus like my, my, you know, Elixir controller test from 2015. Those, those felt quite nice. And then, you know, the fact that it was not necessarily like a unit test by the definition of
it because you hit the database, but with, you know, all the transact the, the repo exo repo transactions per test. Like it, it acted like a unit test because it was, you know, it was deterministic and it always, it always, it always execute the same way, but it was more of an integration test because you're, you're hitting multiple layers of the app. But that that just felt so nice where it's like, all right, I can test multiple, multiple things simultaneously. It's still deterministic. I'm not going to have any flake.
And it was it was just such a godsend. But that that migration from, you know, view single page app Phoenix back end to my current business, which is all live view. It's a live view app like that felt even even better. Yeah, that's my my goal is just, you know, mobile first responsive live view apps now like I don't want like it, it sucks dealing with app stores and things unless you absolutely need to. Yeah, yeah, yeah, absolutely. And even there I think, I think there are a couple people that have made like Pwas in the App
Store. Yeah, they have. I believe I. I don't think it's common, but I think there's like 1. Why am I blanking on Thinking Elixir podcast? I'm why I'm blanking on his name right now. Eric. Yeah, no. Is it Eric? I hate? I forget people's names way too often. Mark Erickson.
Mark Erickson, he's building, Yeah, yeah, he's building a PWA with. I don't know what he's building it with, is it? But anyways, and it seems to be working pretty nicely, so. Yeah, Eagle's actually, so Eagle Ms. is actually APWA because I, when I first built it, I wanted to put the effort into making it APWA. So you could put like the, the, the desktop icon on your phone. So when you're scanning out the materials with your QR code, you
don't have to, you know, go to the browser or go to your camera app. You could just stay inside of the the PWAI should do. That for kill switch. That would be nice. Yeah, it wasn't too hard if I recall correctly, just like some some XML files and like Apple needed its own file in there, like at the root of your your static assets. There's like a few things. I probably should just write A blog post about it. I'll add it to my my blog post queue. Yeah. Can you write? That in three years can you write that?
Soon because I need it. But yeah, it wasn't too bad if I recall correctly. The funny thing is like we don't even advertise that feature anymore because the app has evolved, has evolved since then. But yeah, you, you can write Pwas with, with live view and they they work quite nicely. You get full screen experience on the phone as long as you build it with responsive design in mind. Yeah, like it looks like a like it looks like a mobile app. Yeah, that's awesome. I love that it's nice that you can just add the shortcut and then you can have like your logo
and everything right there. But I was always surprised like so when I was doing perfect for my fitness marketplace thing, so many people did not understand how to use APWA They're. Like. Why can't I find her in the App Store? And like you can send them a video how to use APWA and it's like. Then like Android and iPhone are like getting the desktop icon is a different flow for each and like Apple's weird, I think you have to like visit the site three times in order for it to
be unlocked as APW. There's some weird. There's some. Weird dude, Apple tries to block PWA as every chance they can. Like you can't do native notifications or anything, they lock you out so. Yeah, yeah, it's yeah, I again, this is the early days Eagle MMS site. I might be speaking with like, you know, five years old Safari knowledge because you know, when we started going to customers and showing them this, they're like, yeah, I don't want to use those. That's that's garbage. Like the QR scanning, not the
PWA and the you like the, the the initial interactions that we had with customers were like, yeah, my technicians it barely show up to work on time. I'm not going to have them scanning stuff in and out to build it properly. And so, you know, the app evolves from there and it went from scanning stuff with QR codes to like a full estimating platform where you can click on on diagram components and will automatically allocate things depending on your profile and
your inventory and stuff like that. But yeah, like this is this is one of those cases where I I built something cool from a technical perspective, like, you know, building APWA live view, like you can install on your desktop and, and nobody cared. Yeah. No one appreciated all the cool work you put in. Yeah, yeah, yeah, it was. Cut me deep, Cut me deep. What What made you pick Elixir when you first started? Like for for this business or just in? General for just like in general, when when you first
discovered elixir, what made you like want to try it for your product? What was what? Or was it just like, you know, fault tolerance all like you know, all the. Yeah. So I think the go to, I think the first the exposure I had to Elixir was what was it? It was like this, I think it was on the Phoenix blog. It was a 2, was a 2 million or 1,000,000 socket connections with. Phoenix, yeah. I think, I think I was on Hacker News one day and at the time I was doing Java, I was, I was
probably at Amazon and I was doing Java full time, which I mean the gosh, I don't want to ever touch Java ever again. Dude, I yeah, I actually was getting my masters in software engineering and it was all Java and I dropped out because of it. Yeah, yeah, that was, that was that was me too Back, back I think 20, 2010, 2009, I was doing my masters. That was all, that was all Java and it was, it was, it was horrendous. But I think I came across that that that blog post the 2 million soffit connections and
like I read the whole post. Very interesting. Bleacher Report or a discord? I remember reading that one, I can't remember what it. Was I don't even remember. I don't even remember like I think it was just like a generic stress test that. Chris Record. Ran like. I don't think it was a case study with any particular company. But you know what? You're right. It's yeah, yeah. 2015 The Road to 2 million. Yeah, that's, that's, that's part, that's part of the one. Yeah. And then, yeah, I read that blog post and I was doing, you know, Java at Amazon.
I picked up, I think Elixir in Action came out maybe later that year. Was it 2015 or early 2016, like the first edition of of Elixir in Action? But I, I ended up picking a copy of that and then read that book cover to cover. Thought I like thought I understood what I was reading and then, you know, picked up it was a programming Phoenix. I think it's like the first copy of that book where maybe it was co-author between Chris McCord and Jose. I don't remember.
I read read that book as well and like like what I was reading. I knew it was important. I knew that this is how apps should be built. I don't think I necessarily understood everything that I was reading or the implications of it. But at the same time, you know, I was working on Amazon doing Java switched jobs, did went to a PHP shop, you know, internally there, I think they were doing PHP and node after some time. So like I had exposure to quite a few things, Java, PHP, Node, there was even some Python services out of that other
company. And like the problems that I was coming across, like they seem like they shouldn't happen in a production system. For the Node one, I think we're using PM 2 at the time. I think PM 2 is still popular in the node ecosystem where you can, you can run multiple node instances on a single box and it'll kind of like round Robin and load balance. And I remember we'd hit these problems where for whatever reason, one of the instances would be like the event event loop would be blocked.
It was CPU bound some tasks. And then the round Robin would hit that instance again and it would just cascade like every time it would round Robin like request would just keep stacking up on this one process that just just couldn't get through through the workload. And you know, Python, same thing, you know, we had, we had to contend with the GILI can't remember how many bugs we had as a result of like white space issues where like something wasn't part of a for loop because of a tab. And I was like these, these don't seem production ready And like even PHP didn't seem too
bad compared to where Node and and Python were at the time. And, and maybe, you know, to to be fair, maybe those have changed in the decades since. I've never been a fan of PHP, but I've actually heard that it's it's gotten a lot better in the last couple of years and it's like quite delightful to work in. Yeah, that's, that's what I hear as well. I think there's a lot of effort put into the interpreter. I was like PHP eight, I think had like a huge bump in performance. I think Laravel has done a good job on the developer experience side of things. Like it seems like they're
moving, they're moving the ball forward on the PHP side of, you know, of things. But either way, across all those, like I, I just wasn't happy building ads. And then, you know, I read, I read the Elixir action read program in Phoenix hadn't actually built anything yet. And then I think it was with that second start up that I was, I was attempting built all that in Phoenix. That was. That was the Phoenix back end Wrestle API and then the view front end.
OK. And from the back end perspective, I was, I was extremely happy. I was like, this is this is great. And I, you know, I did a whole bunch of things that are frowned upon with Elixir. Yeah. But still, even in that setup, in that configuration is still a. Function, just the functional aspect and immutability just makes things so much nicer. I remember once I wrapped my head around that completely, I was like, this is amazing. You don't have any sync problems
with state or like weird bugs that can be introduced because you have a freaking Singleton hanging out and you're doing. Weird. Yeah, yeah, it's, yeah, there's some weird stuff. And then there, yeah. And you get that with Java, You get that with Python, you get that with PHP. Like, you know, all your, your primitives, they get passed by by value, but you know, all your objects are passed by reference. So it's like, yeah, you always have to keep track of, you know, what you're passing around. Do you mutate the state of this object in this, in this, you know, method You not like there's so many things that you
have to keep in your head versus yeah, like you said with Elixir, like you have these guarantees. If you if you, you know, pass a map or whatever or a list, it doesn't matter what you do in that function since you come back to the the calling function, it's whatever was there. You just transform and it is what it is, right? It's amazing. That's it. It's. I remember dude, I, so before I got into Elixir, my, I was just like an iOS developer for like a music streaming, like social media thing.
And we had this weirdest bug that we, it was so hard to track down. And then I was like, I need to like see what's all running, what processes are going on, like how many threads we have going on. We were like when you inherit code base and something is a Singleton, you like assume it's a Singleton. Well, I discovered it wasn't acting as a Singleton and. It was. It was a Singleton in name only. Yeah, yeah, we had hundreds of freaking copies of this thing
all running. And that's why, like we were getting all these random ass like, because we were like synchronizing basically listeners, they could listen to a song together and we kept them In Sync, right? So like, yeah, yeah, we had to do, we had to do some like trickery there, but we were getting all random shit all over the board. And it's because we had like all these instances of the Singleton out there and it was, it was a nightmare. I got a Dang fly in here. Oh no. But yeah, like things like that you don't have to worry about at all when you're using an
immutable language. Oh yeah, and, and like, even when you need to lean on things like singletons, yeah, the runtime will help you, right. Like if you, if you have a Singleton Genserver running and you try to start another one with the same name, it'll complain, it'll say hey, and it'll, it'll, it'll die gracefully. But yeah, I just, I just wasn't happy with what was around at the time. I think. I think like I was also looking at Go and I think I read a book on Go as well, but it just, it just didn't do it for me.
I think their their package manager solution at the time was non existent. So I think everything was, yeah, just, you know, you clone everything into a vendor's directory, like right next to your app. I've only like this is terrible. I've only used Go and like Python in like small hobbyist scripts. I've never like written a project, so I don't really have much experience there, but I find things like that are always enjoyable when you're at a small script level. But then yeah, when you start expanding a larger code base, I
don't know. Yeah, I really didn't like the fact that. And again, I don't know if Ghost still does this or not. Like if it had compiler warnings, it won't even let you run the program because like while you're building something, yeah, you might leave a variable that you're not using. It's like might, you might just do something that you're not supposed to, you know it and you'll, you'll clean it up later type of thing. But goes like, no, I will not compile. I will not run your code unless it passes the the the winter. It's like, that's too annoying. Yeah, that's too annoying to
deal with. Then I I didn't like the implicit. I can't remember it now. It's like if, if the if the first letter of the function name is capital, it's it's public or private. And then that's lower case. It's the invert, it's the inverse, if I recall correctly. Yeah, like I just don't like these implicit things. Yeah, yeah. No, I wouldn't like. That anymore, but yeah, so yeah, God didn't do it for me either. Like I, I understand it's place, you know, it makes, it makes, you know, it makes for a great,
you know, CLI language and stuff like that, but that's just not my cup of tea to be. Honest. So as you're building this, what we're like, like what was the most like unexpected like hurdle that you ran into? Like as once you have a product out there, you have a good user base, you have a product, you don't need a a second job anymore. But like what are some of your biggest like growing pins that you hit? I would say none of them were technical. And again, this might be this might be just because we, you
know, I picked, you know, elixir to build on, but like. I mean, I don't think people realize how lucky they are if they start with elixir. You know it, It really is wonderful. Like, especially like if you don't need to make the jump to a single page app and live view covers all your, your, your use cases, I would, I would highly encourage it because then, you know, you, you have the ability to test all your stuff, you know, right from, from X unit. You can ship stuff insanely fast.
Like, like, yeah, like Elixir was, was never ever a bottleneck. And like we do some very interesting stuff in the app, right, where we have like our desk, look up tables, you know, we have interactive SVGS that you can, you know, click on all live view driven, you know, we're, we're parsing, you know, PDFs because people can upload things and kind of consolidate their invoices across different, different products. So like we're, we're doing a lot of different stuff in the app. There's, you know, we're reaching out to, you know, Java jars because we need those for
parsing PDFs. Like any time where, where Elixir doesn't fit the bill, it does give you phenomenal escape hatches, you know, via ports or Nifs or, or whatever. So there's a lot going on there. Never ever felt limited by the, the technical side of things, even even live view, if we ever needed, you know, real time charts or graphs or, you know, or what have you, live view is always capable. Yeah, and it's definitely way more capable now than when I started, because when I started the app, it was it was all
leaks, leaks templates. You didn't even have like HTML validation or whatever. So like if you forgot to close the forgot to close the division, like you know, live view is more than happy to be like ship it. Ship. It, but yeah, like live view nowadays is, I mean, I think the, the use cases for single page apps is, is shrinking. Whereas yeah, maybe 5-6 years ago what you needed a single page app for was like it.
It might be more justifiable, but now it's like, I don't know, unless you're building Google Docs, I don't see the I don't see the point of doing it in in a single page app framework. Yeah, yeah, I agree completely. So like biggest hurdles are things that you just haven't experienced before. More like. It's more business side. Business side. It's more business side, yeah, like technical. Yeah. I think Elixir covered my, my needs 100%.
And if it didn't, I, I, I wrote libraries and open source and then they helped other people. Yeah, yeah. But yeah, I'd say that the biggest challenges were definitely business side, you know, like you would talk to, you'd talk to customers, you know, maybe what we had out at the time wasn't fulfilling all their needs. They would ask for certain features or, or capabilities of the app and it was really just figuring out, OK, they're, they're asking for like a button here. What do they really want? Like what, what problem are they actually trying to solve? Yeah, maybe the button that
they're proposing here is, is actually the best way to do that. But maybe there's a deeper problem that we need to we need to fix or or come up with a solution for. Dude, one of my favorite books at the moment is the SAS Playbook by Rob. Wall. Yeah, yeah, yeah. I'm I'm actually reading that one as well right now. Oh, yeah, it's good, dude. I'm having him on as a guest. I'm really excited. But like, he kind of, yeah, he talks about things like that. Like you have to interpret. Like, are they actually asking what they need solved or are they just giving you an opinion of what they think is the
problem? And like I feel like he puts a really good perspective on building a product and what features you should take on versus the noise that you get in feedback. Yeah 100% and I actually recommend reading his other book, Start Small, Stay Small I. Ought to add that one too. That was about 10 years ago I read that one that got me on this whole journey. Dude, but that's like that's what I'm saying. You avoid the the scaling headaches when you do that because Elixir, like you don't, you get away with a lot of bad
things until you start having, you know, hundreds of queries a second or thousands of queries a second where you're starting like pushing the performance of things and like you can get away with so much having a small user base. Yeah, yeah, even. I mean I don't know if 1000 customers is considered the large or small but like people use the app every single day. Yeah, yeah. I would say like 1000 is something to be really happy for, but I feel like it's still like a small enough number where
you're not stressing. Any like you're not stressing any services like like do you operate on a single node or do you have multiple nodes? How do you do that? So for the main app it's a single node, but even still like I have prom X running there and I think we can handle 10X to load. And that's what I'm saying. You don't. You don't even have to worry about like distribution or anything like it's just like such a good spot to be in. Yeah, and, and I'd recommend most people start like with a single node and most
importantly, get an MVP out and start start putting it in front of people like do not, do not jump for Kubernetes on day one and be like, all right, I got to, I got to build the scale. Like your biggest thing is going to be scaling your user base, not like scaling your app. You can throw more money at Amazon or Digitalocean or whoever and just run on a single VM and you can probably service, you know, 10,020 thousand customers. And if and if you have that many customers, you can pay for their, you know, 64 core machine
until you need to. Right, I agree. To on multiple instances. I'm on that page. Oh, I I think I got a package and not my dog's going nuts so OK. I didn't hear anything. Oh, good. But yeah, I agree. Like you don't have to overthink scaling at the beginning. Like you'll run into the problem when you need to handle it and at least like you're relatively set up to do distributed nodes out-of-the-box. Kind of. I mean, you have a little work to do, but. Yeah. And even in that case, it's
still pretty easy, like if you spin up an EC2 instance or a droplet on Digitalocean and you find that okay, it's time for 2/3 nodes, you just spin up more droplets and then you do very basic IP clustering just. Yeah, you. Don't need to do anything fancy. You don't need to do dynamic up and down. And then just. Keep it simple. You can use their built in data loaders and things and. Yeah, yeah, you use their built in load balancers and whatnot. The load balancers, Yeah, yeah. What did I say? I don't even know what I said, but it wasn't it wasn't load. It said sound balancers, but it
sounded like load balancers, so yeah, go with that. That's what I meant. Yeah, but no, keep it simple. I mean, I've been in a few start-ups where they didn't even have the product out and they were like, you know, we got to use, we got to use. Over engineering DevOps already, yeah. Yeah, yeah, yeah. They had a DevOps department. They had to put them to work and you know, they had they had to do, they had to do Kubernetes and and the problem is there are a lot of foot guns in in Kubernetes. Like it's a great, you know, maybe it's a great tool for people that are, you know,
servicing millions and millions of requests a second. But they use doesn't come, they use them for. Flex and it works well. Like, I think it's a good thing for us. But yeah, it does add, it adds a layer of complexity to your DevOps, especially when you're a small team. You're the DevOps. Yeah. And it's like you're, you're going to come across something stupid in in Kubernetes. And like, maybe it's obvious for the people that have been doing it for 3-4 years, but it may not be obvious to newcomers. I struggle like I can like get my dev OPS stuff done right, but
it's it doesn't come easy. Like I struggle every time I set up a new server there's a little struggle fest with it. Yeah. I think that like one of the biggest ones was, yeah, I was at this other company and they were, they were using the Kubernetes and they had a whole bunch of like services running in the cluster. I think one of them is Prometheus and maybe and maybe Grafana as well. And they forgot to attach a persistent volume claim on the service.
And so while the service is running like it was writing stuff to, you know, to the hard disk, no problem, service disappeared and went to like another node. And since they didn't have a persistent volume claim, all the data was gone. So it's like it was like 2 weeks of like metrics and analytics. So like that sucks. The configuration for Grafano's lost. It's like. I'm gonna pause this for a second and we'll be right back. Hey, I'm Kimberly with Elixir mentor Jacob recently added recruitment services to help companies hire pre vetted Elixir devs.
I help with company outreach, so if you're hiring, I may be reaching out, or you can connect with us anytime at elixirmentor.com. You know, I got to push that recruitment service, you know? For sure, for sure. I recently just, I had the weirdest issue and I normally don't run it and I'm not I I use docker compose for most of my my stuff and I'm no expert. Like I, I get it set up, I get it working. I had the weirdest thing happen
on one of my droplets where I had these ghost containers. And so it was like conflicting because I was like trying to spin up like an update or something and it was conflicting And I like, I trusted Claude too much, right? I was like, dude, how do I kill all these containers? Yeah, yeah, yeah. Well, it was. Just the machines. Yeah, I trust the machine and I, I killed every, every process running, but I also wiped out my, my database persistence and everything.
So I lost all my data and I wasn't doing daily backups yet because it wasn't like a big enough product that I wanted to do daily backups. I'm doing daily backups now. So I lost about four days of data and like 10 new users and I had to like manually reconstruct all this data. You gotta find them on Stripe. Yeah, yeah, that's what I did. I wrote I literally wrote a script to basically check my data with my subscriptions on Stripe and created new users and then sent them password reset emails.
Databases is one of those things like I would like if, if if you're making some money because the managed databases are really expensive. AWS, Google Digital, it doesn't matter. They're really expensive. So yeah, definitely start with like, you know, docker compose running the the you know, the database may be Co located with the app. There are a few Docker containers actually or images that you can pull down that do the daily backups for you. Well, that's nice, I should do. That and so like you can, you can encrypt them and write them to like a protected S3 bucket or even attached like another was
like ebsi think is like a last. Yeah, like I have like AI just run like a why am I blinking? Well anyways, I just run like a daily script that will like take a database dump and then push it to my S3 bucket. Yeah, OK. They're really nice. Yeah. Yeah, those aren't too hard to set up. But then, like it's manual when you have to recover your database, there's a lot of work in. It yeah, yeah, there you lose some some convenience, but like
it definitely saves you some money in the early days cuz like if you're, if you're running your own VM and a managed database, like you're 100 bucks a month, like you add in the load balance or add in the DNS management, what do you all that stuff. What do you do right now for databases? Do you use a managed database? So. It's still Co located with the app, but it's it's it's backed up, backed up elsewhere. Then we also have like it's not actually in the VM. It's an attached volume on the on the VM and then that volume
is backed up regularly. And then I also have a bunch of ansible and terraform stuff so if anything ever happened I can be up and running within an hour again. Do you do anything? Do you use read replicas or anything like that for speed or do you not? Really not yet. Don't necessarily have the need. Yeah, lean on that's caching. Like especially for stuff that rarely ever changes, like that's just amazing. Yeah, that's awesome. And like. And if you're a single node, that's even easier. But even in your case with static data like you said, you
just have a copy on every every node anyways. Yeah, yeah. And it's not too bad to do, especially like if you do like a PG notify and all your nodes are, you know, subscribing to the PG notify. If it's not data that really always needs to be up to date, you can, you can, you can deal with that latency and just wait for the PG notify, fetch the latest data, update your apps table, and then you're, you're good to go again. Like this is especially useful for like stuff that you're going to be reading on every single request. But that doesn't change, right? Like a user's not going to change, you know, his or her name, e-mail and password
frequently or whatever. So you can always just keep a cache copy of that. And that's same with like if they're part of an organization, the name of the org is not changing, you know, like the the IDs are not ever changing. So you can keep a copy of that. And that's and if for whatever reasons ever change, yeah, you because with every request you're making in in live view or Phoenix, you're probably always validating is the user authenticated. So if you if you use the Phoenix Gen. auth, like do they have a token and like users tokens? OK, now fetch me their user so I
can display their name up at the top. Now, you know, give me all the orgs that they're associated with so I can allow them to account switch. Like you're going to be doing those checks every single time. So the only time those things change is if like somebody gets booted from an org or or they. And then you do it. You can do a write to the the ads table anyways. Yeah, yeah. Then then your PG notify is, is more than sufficient. So if you could, if you could offload all the boring stuff that you do every single request
to like an ads cache, what you can now lean on the database for your ceiling just goes way higher. Go lay down South. Go lay down. You're gonna have to wait like. He wants to play outside. Oh yeah, He's like, he thinks it's time. Dude just comes and puts his chin right on my armrest and he's like, it's time to play Frisbee. Yeah, yeah. He's like, I know this podcast is coming to an end. Come on, let's go. He's trying to get, he's like, come on, 15 minutes early.
Let's roll, bro. I like that idea. Actually, I never really thought about that and I should have because I've read your Elixir patterns book. But I'll because I'm, I'd like with my ash, my ash project I'm building right now. I'm doing like multi tenancy stuff. And yeah, you're constantly just looking up and adding organization ideas and everything. Yeah, it's the same. It's the same series of requests every single time.
Like if you look at your Phoenix Gen. auth like plugs, they're fetching the same user, you know, the same org that they're associated with. If you've added some kind of like org functionality, it's you're doing the same stuff over and over and over again. What? Do you think like there's a good way for this? The performance saving is like querying your ATS table versus like a Postgres query. Oh, it's, it's significantly higher. Is it? Yeah. Yeah, yeah. Even if you're Co located with your with your database it's significantly higher. Yeah, OK.
Because you know, you know, underneath to deserialize and serialize between Postgres, it's all, it's all native. Yeah, that makes sense. Yeah, that makes sense. Look at see this is like these are the conversations everyone building a product. They just have to like hear these ideas, right. And it it'll save save them. They're. Absolutely. So much more performant. Well, then I feel like people are like they're sold a false set of goods where it's like you need to immediately start with like Kubernetes or some sort of
like container management system. It's like you could build a pretty simple app on a single node and just just focus on the product. Like that's if there's one take away from this, this whole this whole episode, it's focus on the products. At the end of the day, you can make millions of dollars with the PHP app. You can make millions of dollars with the Python app and there's plenty of companies that have proven that millions of dollars with Ruby. It doesn't like the language. At the end of the day, doesn't matter. The customer does not care. But now what they care about is the experience that they receive
with that app, right? And maybe I'm biased, maybe I'm not biased. I think Alexa provides one of the best experiences for for for users. It's it's insanely fast. You don't have to worry about load balancing to to other instances that are caught up in their event loops or whatever. Like I think Alexa is probably one of the best platforms you can build on. I agree. Like, at the end of the day, like languages are tools, right? Like, yeah, yeah, you can make any of them work. You'll have different headaches with each tool you choose, but yeah, you got to build your
product. Yeah, I, I think the headaches you go with Elixir are far fewer than the other ones. Like the fact that the fact that you have the, you know, a runtime that fairly balances across all processes running in the runtime is something that you don't get in Node or, or Python or anything. So yeah, yeah, maybe maybe you have to learn about, you know, immutable data structures or the fact that X isn't copied between nodes. But like those headaches are far easier to deal with, in my opinion, than the the other, the other headaches, right? Because like, if you're reaching for S, you kind of know what S
is versus with with with node, you're like, I'm just programming. Why is my whole app just stopping now? And it's like, oh, you didn't, you didn't realize that you're using the event loop and you should have put something on like the, you know, the the callback queue. Instead. It's like what? I'm just trying to. Yeah. This is just Rudimental problems. I also think like a big saving grace now my dog's drinking water like just choosing like Phoenix live view and Elixir as your stack.
You move a lot faster as like a solar solo developer too. So you don't need, you don't need to hire people to do things you're not good at because you kind of can do it all really easily. You could. You could move really fast. Like with that stack that you just laid out, you can move insanely fast. And I even like even Eagle, I'm I'm, I'm like, I'm still the only full time developer. Actually, Peter Ulrich works with me. He's he's still part time. So 1 1/2 engineers. Yeah, that's awesome, this whole
thing. Yeah, that's amazing. Like and like I just like thinking about that. Like I started building kill switch and honestly like I am less than a week worth of like heads down work and I'm like ready to do beta testing and I did it all myself, you know? Yeah. And like, especially if you know how to pay for things that speed you up, right? Like if you pay for, I'll say like Tailwind UI, which I think was a good investment for Eagle or there's a few.
Dude, honestly, I've been, I've been. Stoked. With Daisy UI like it, it's amazing. Yeah, Yeah, that too. Yeah, that's free. It's like the things that you can outsource like definitely like you don't need to build your entire UI from scratch. Yeah, I heavily rely on clawed code as well for my front end, my UI at work, but at the same time like I, I just use it for speed because I'm slower with like tailwind classes, whatever it may be, and it allows me just
to focus on the heavy lifting code in the back. Yeah, yeah, for sure, for sure. And then I had to write these things and components definitely easy up to. With kill switch I had to write way more JavaScript than I wanted to because I'm doing so much front. I'm doing client side encryption stuff and. So. But like, it still works so nicely. Like everything just works so well together. Yeah, yeah, but the the JavaScript hook API is not. It's not like it might be a
little annoying at 1st to get your like your, your brain around it, but once you get it, it's not too bad. And like we've, we've done some pretty complicated stuff where it like in the front end, like in the, the front end of our app, you could actually, you know, use the camera and that's all done through JavaScript hooks. And then it's making calls to live view and like it's actually doing all that processing, you know, front end and all the way to back and via hooks. Yeah, yeah. I don't know. It's just perfect, really.
I, I, I I do think it's one of the better ways to build a like if if you're bootstrapping a business, I think Alexa provides you some of the best tooling out there to do hey. Speaking of that half of developer, that part time developer, Peter is in the chat. Oh no. What's up, Peter? I I have to. I feel like it's been ages since I've talked to either of you. 2 I got to bring Peter back. Yeah, we can. We can do another. We should I honestly like people love the the three of us just chatting Elixir, so we should do
another one. It's funny like that is like one of the most requested like guesses is just you and Peter together. So I think that's funny. I was like, dude, those are good guys. I'll talk Elixir with them all day. Yeah, yeah. Well, we chat pretty much every other day so. Nice, that's awesome. We could just, we could just invite you as well. We could record it. There we go. Yeah, there we go. We'll just broadcast your your Eagle MMS developer meetings, you know.
Yeah, there you go. Yeah, I refuse to do stand ups, so we don't do that. Oh dude I hate I hate me. Like I understand meetings like when teams get to a certain size right, but I hate them. Like if it can be done in like A2 sentence e-mail, send me the e-mail. Yeah, yeah. Or, or just like a we, we can't remember what company was. We have a, a Slack channel for like stand up messages. And it was like, this is the perfect place for it. Like you fire it, you forget it, you're not going to read anybody else's message. And it's just like a regular stand up where it's like I'm
just listening to like the cue of my name on the Zoom. Right. Like I don't actually care what you're working on, but I care if it involves me. Like like there we go. Like sometimes I'll like zone and be like ah crap, I probably should have been listening. Yeah, yeah. I mean, the only the only people that really care are the product managers. And it's like they're going to read all the Slack messages or they're going to be paying attention in the Zoom call. But like everybody else is like I just. I just want to finish the stuff you're mad at me for not having done yet. Yeah, exactly.
Did you have any like major pivots or features that you thought would like hit better or flop vice versa? Like did you have any like, unexpected outcomes off of feedback? Yeah. I mean, we our our original kind of like our core feature, the QR scanning. We thought that was going to hit, you know, and that was the major flop, which is why I'm telling like I'm telling people, just get something out there. It's going to be wrong. You need the feedback like you
need that. Like that's what you need the best. Yeah, yeah. Like that's, that's what you need the most. Like luckily what I built upon like for the QR scanning, all that stuff was still valid. Like all the data structures for dealing with like, you know, different classes and materials, whether it's, you know, something that you build by time or by volume or by length. Like all those kind of like fundamental constructs were still valid, but how people interacted with them, IE the, the QR code scanning just that just flies. I mean, we have customers today
that still use that flow, but I think it's like two, 3% of our customer base actually like scan stuff out as they use it. Everybody else uses like the automated calculator. That's like, all right, I'm performing all these kinds of operations. I'm I'm interacting with these parts of the vehicle tabulate me everything I need. Yeah, I mean, that sounds better than picking up a device and scanning over and over. Well, I always joke like I'm an app developer that hates using apps, you know?
Like it has to be a very useful tool for me to like, be all on it, all on board, you know? Yeah, yeah, for sure. I'm the same way. Like I'll I'll download something after like a lot of thought and hesitation. Like I think the last. Two, I want this digital clutter on my phone. Like is it worth the commitment? Yeah, I think the last app I downloaded was when I was moving because I'm in Texas now. So I wasn't Connecticut, moved down to Texas. When I was where in Texas are you? I'm in Houston or just outside
of Houston. But when I was moving down here, I had I had a 26 foot box truck and I was trailering my race car and like Google Maps is just taking me to like every side road. And I was like, I'm gonna, I'm gonna kill either myself or somebody else with this like giant collection of stuff. And so like I pull over to a, a parking lot and I download like a trucker's GPS app. So it's like fine-tuned GPS. But if you're driving a tractor trailer, which essentially that's what I was driving. And that that was the last time I downloaded an app.
Like I had a very specific need and I shield it and I believe in the app since the move was over. That's funny. Yeah, well, like the only apps that I use are like hiking apps, mountain bike apps, and like snow condition apps, and that's all I care about. Was it trail forks right? Yeah, it's trail forks. It's amazing dude. Yeah, I use that too for for mountain biking. Yeah, dude, I just got a mountain bike this summer and I was like, what? I've been sleeping on this
sport. It's so much fun. It's fun. It's fun. There used to be a lot more mountain biking in Connecticut than like Texas is pretty flat so. Yeah, Texas is flat. That's a bummer. Do they have? Like any decent like. AI haven't gotten I haven't gone exploring yet. Oh my mountain biking so like in the garage with like flat tires. They're totally, yeah, I'm I'm still living out of I've I've positioned the camera perfectly, but like from here on it's all boxes. Yeah, move in's the worst, but
you find out what you really need in your life and you don't need, because if you keep it packed up, you don't need it. Yeah, yeah, exactly. Yeah. And yeah, some, some boxes that are like from the previous move. And it's like, see, we didn't need all these things. We can like either donate them or or sell them. Yeah. All right. I think like one more like product question, How do you balance like feature requests versus like what actually goes into like your product, like your product vision versus feature requests and feedback? When do you decide that it's
like noise versus actually something useful that. Yeah, yeah. I mean, while you're going to take feedback from your customers, like QR scanning sucks, you, you do need to have kind of like a high level goal in mind for your app, right? So our, our goal for our, our app is invoice stuff as accurately and as quickly as possible, right? That's the high level goal. So, you know, pivoting away from QR code scanning to clicking on, on diagrams and, and creating, you know, operation kits and
stuff like that. That's still, that's still fit within the, the end goal. So we could pivot away from QR codes and do that kind of stuff if we get some feature requests that kind of you can go outside the scope of that. They need to be like really scrutinized, right? Like if, if somebody wants a feature that just simplifies that process of creating an invoice and estimating a job as quickly as possible, we'll find a way to make it happen. But if it's like, hey, you know, you guys, you know, do materials estimating and invoicing. Can you also add, you know, how
long it takes to take like a front bumper off of a Kia? That's like, no, that has nothing to do with our app. Is there like data you could access for that? Like I feel like that would be a very hard system to. Like. Acquire information on. So that, that's a lot of money because you have to go to like the, the actual OEMs like, you know, Honda, Kia, Junda and, and get, get those book times from them or you have to get cars, you know, like R&D cars that you can take apart and you know,
book time. Assemblies. Yeah, that changes the game. Yeah. But The funny thing is like, we've done such a good job with the materials estimating sign of things. We have a pretty loyal, loyal customer base. Like hey, you should also write these other things. So like we, we don't have the time, we're going to stay in our lane. You got to, I think it's important to know what lane you have, like what product, like where you should focus, where your product goes, right? Like it's easy to grow into like these nasty products that are just Swiss army knives in the industry.
And then I feel like everything like that's when the companies start like acquiring small startups and cookie cutter these features into their app and then things just get bloated and start working like garbage. Yeah, yeah, yeah, you do. You do need to protect it, like will you get requests that you know, serve one particular customer's needs? Yes. Now are they paying you proportionally for that, right? Like as an enterprise customer, it's like, hey, if, if we do this one thing for these one guys and they're like 50% of our MRR, you kind of have to do it.
Yeah, fair. And it's like there are ways to deal with it, right? You could use like fun with flags for for feature flagging where it's like hey only for this business only put this button there and then everybody else's experience is kind. Of that's a that's a SAS playbook tip right there too. Like if you're adding too many features that would overwhelm your most your new users, you feature flag it and you hide it. Yeah, actually, if Peter's still here, he probably remembers this feature request for me.
But like we had this one enterprise customer and for whatever reason, they just, they just didn't like the, the words that we were using on the like the website. It was like invoice versus like open job, like something trivial like that. And then we just, we just can't understand this. And, and Peter implemented something where like using get text, you can like you have different translations depending on the customer. And it's like, like features like that, you know, if it's an enterprise customer, like you have to do maybe something
that's a little dirty or sloppy or, you know, antithetical to what you would normally do. But at the end of the day, they're keeping the lights on. So yeah, you think too much. They got their own custom copy. Yeah, yeah. So Peter. Peter probably still hates me for that one, but. That's hilarious. All right, I know I said one more question, but I feel like this is one that engineers struggle with. I know you were like boots on the ground, especially at the beginning, knocking on doors. What's your main like?
How do how do you acquire new customers at this point? What is your main focus? Yes, I think it really depends on your demographic. So body shops are like they're not going to be bleeding edge technological, you know, operations. So they're not going to be you're reading Hacker News for the latest ways to invoice and build things and the CICD. So you need to go where your customers are. So if, if you know, like, let's say, maybe you're doing websites for restaurants and stuff, maybe
you need to actually go and, and see some of these restaurants and talk with the owners there on the ground. Like go where, go where the the customers are and try to interact with them there. You know, nowadays we don't do as much, you know, on the on the foot sales. You know, we've kind of transitioned to hanging out in the various groups on social media. So we've kind of found where where people kind of kind of collect and hang out. OK, nice. Yeah, I've heard that's a good one. Like Facebook groups and things, especially for your. Yeah, yeah. Your niche, Yeah, yeah.
Yeah, like LinkedIn, Facebook, I think even like Instagram are are pretty good for like for these kinds of. Customers, do you run ads or anything or no? No, we do not run ads. We, we did do like some cold e-mail campaigns and mixed results there, but I, I think I haven't, I don't think I've gotten to this part of the SAS playbook, but there's a few other books was like traction. I think there's another one where like it lays out a whole bunch of different ways you can, you can reach customers and it's
like, you know, paid ads or social media or, you know, trade shows. We, we, we'd still do a lot of trade shows because that's a good way you like, you go once and talk with hundreds of people, But again, you know, maybe that's applicable to your industry. Maybe that's not necessarily applicable. I'd say like don't go into a preconceived notions like I have to do online marketing that might be a total dud for your customer base. Like see see what works for your particular demographic and then really like double down on that.
Yeah, right on. Well, awesome advice. And oh wait, we can't forget about the the teaser. Like. Oh yeah, exciting. The exciting news. I I almost like closed out and everyone we've left on the edge of their seats at the beginning would have would have been so angry. Yeah. All right. Here. Do I need to share your screen? Yeah, you're all I'll find. All right, so I shared the the window here. OK.
And they're back up. So that is another book that Hugo and I are working. On all right. This one is about like 50 percent, 60% of the way done and I'm. Excited for this? This like my my weather station book that I Co wrote with with Bruce and Frank like it was very single track like let's build that weather station and the goal is to get it like to about 100 pages. I think it was like one O 5 or
something. Oh, for people that are just listening, by the way. So Alex is sharing a screen and it's programming nerves. Learn how to build production ready embedded systems with Elixir and nerves. So that's pretty exciting. Yeah. So the the goal of this book is it's going to be a much larger book, probably like probably like 400 pages, but this one is going to take you from like just booting up the nerves device and getting live live book on it. We got the chance of more books to buy. Yeah, you're going to be
building a whole bunch of of different projects throughout this. I think that's. Awesome. 12 or 14 and it varies from like just getting LEDs to blink to like here, I'll just show you guys the one I'm working on now for the book. But you're building a an etching sketch. So you have the two potentiometers here that act as knobs and then eventually you're going to upgrade it to a joystick. You can draw, you can draw, You can draw in Live Book with your nerves device. That's awesome, very cool.
This is like, you got to hurry up and get this published because after my Ash Framework course I was thinking it'd be really fun to do a nerves project on my YouTube channel. Yeah, nerves is fun. I I really enjoy nerves and if you're just like in the proof of concept space Live Book is phenomenal. I think Frank actually maintains like an official like live book release that tracks the the the live book release schedule. So you got a pre built firmware,
you just write it to the SD card, you stick it in and boom you have an elixir environment on your on your eyes right by. That's awesome. That's cool. Yeah. I kind of have an itch like for like before I got fully into like software, I did a lot of like fat like manufacturing automation and like I kind of miss being able to program something and physically see something else move and be timed. And I was like a nerves project would be really fun. Yeah, no, it's, it's been fun. This has been my good escape from like dealing with taxes and accounting. It's like I just, I just, I turn on some music, you know, I, I
play some play some music and just the nerves programming and, and write. Some stuff when when do you think this book will be at least like in in beta or are you doing full release only? So this will be in beta probably next month. OK, dope. Hugo's doing a bunch of review work and getting things hooked up with Convertkit, which I think is called Kit now. He got the website put together. So yeah, Hugo's busy. Busy getting all the like stuff ready for for sale all.
Right. That's exciting. So you guys, you heard it here first, I think, right? Yeah, this is the first announcement of this book that's. Right, The Elixir Mentor Podcast is where you hear all the new, exciting things. Breaking news Breaking news. In the elixir world. Yeah. But yeah, I'm really excited about this one. This one's been a lot of that's and I think I think the projects will be a good gambit where it's like you'll learn how to do touch screens, you'll learn how to to interact with like pre built breakout boards.
You'll be able to learn how to, you know, work with hardware primitives. So it'll kind of give you the whole spread from I know nothing about hardware. So I can probably build something and and actually sell it. Awesome. That's very cool, man. I'm excited. I'm excited to. Yeah. I'm going to be on that, that beta list for sure. I'm going to. Yeah, yeah, for sure. And hey, if you want to do another live stream with like actual like nerve stuff, I'd be down. That would be fun. I would I would love to do that. Let's let's do that. Yeah, we can do it. After I get some knowledge or wrapped around it though, I want
to build a project or something. I got to, yeah, for sure. I got to get back into the hardware nerdery. Yeah, Going that was it. Sparkfun.com has like a whole bunch of sensors on there and like input things and like, you know what? Yeah, I'll spend 5 bucks on this, 5 bucks on that, 5 bucks on this, a $100 cart. There we go. Well, you have to get over $100 to get free shipping. Yeah, I mean, of course.
Right on all right cool. Well, Alex, thanks again for joining me. It's always it's always a pleasure having you on and chatting and for everyone, everyone that tuned in thanks for joining and hanging out it's always fun to have the chat going and I hope everyone has a good weekend and I'll see you guys next week. I have Jose coming on, so I'll be fun. I'll be watching that one. Yeah. All right. See you guys have a good weekend testing.
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...