In this episode of the Elixir Mentor Podcast, I chat with Ellie and Josep, co-authors of "Engineering Elixir Applications: Navigate Each Stage of Software Delivery with Confidence." They discuss their journey into Elixir development, their experience writing the book together as a couple, and dive deep into DevOps concepts for Elixir applications. The conversation covers their approach to teaching deployment concepts through practical examples, including their use of Docker, Docker Swarm, and Terraform. They explain how they made complex topics accessible by starting with project management and building up to more advanced deployment scenarios. The authors describe their book's example application - a Kanban board that demonstrates distributed Elixir capabilities - and discuss their collaboration with Ricardo Garcia on its development. The episode also touches on personal topics, including Joseph's impromptu marathon story and their shared love for gaming. The discussion highlights the importance of understanding DevOps concepts for Elixir developers and provides practical insights for those looking to deploy Elixir applications in production environments. Links discussed: - Engineering Elixir Applications (Book):https://pragprog.com/titles/beamops/engineering-elixir-applications/ - Docker & Docker Swarm:https://www.docker.com/ - Terraform:https://www.terraform.io/ Connect with the authors: - Josep:https://www.linkedin.com/in/joseplluisgiraltdlacoste/ - Ellie:https://www.linkedin.com/in/elliefairholm/ - Website:https://beamops.co.uk/ 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.
Testing what's up? I'm Jacob Litza, 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 in library shaping Elixir's future. I'd like to welcome Ellie and Joseph. They are co-authors of Now I Have Beam OPS in My Head, but
what is the actual title of your book? I'll just let you guys introduce yourselves and talk about it. Here it is. It's called engineering Elixir applications navigate each stage of software delivery with confidence. Yeah, it's it's. So good and I love I like seeing you guys coined beam OPS in my head and that's all that is sticking now. I think it's it's a great, it's a great word for it. Yeah, it's catchy. Yeah. So why don't we start with just brief introductions about each
of you, like what your background is and kind of what led to writing this book together. Who's? That so my background, do you want? Do you want me to say something about myself or just where do I come from? Whatever you, whatever you want, whatever. I want to say you know. Yeah. And like kind of what got you, what got you in the Elixir space, like all of that good stuff. Well, that that was Amita accidental we were.
We were working in a company called the Book of Everyone, named the Book of Everyone. And there was a moment everything was written in PHP. And we had acdo that was super, super bold. And he said that we needed to choose a new, more interesting technology in order to be a fantastic, a fantastic team. And we had to choose between Elixir and and and go. And we decided to to choose Elixir for the worst reason that you might want to pick a
language, which is the syntax. We thought that everyone like would be able to learn it like easier. And we didn't know anything about OTP. And then we learn while we were transitioning into, into into Elixir. And yeah, that's it. And my journey with Elixir is a lot shorter. I mean, I didn't really run into Elixir until I met Gazette.
I when I started coding, I was doing node and I only really came to Elixir maybe about 3 years ago. No, two years ago, 2 1/2 like just before we started writing the book. And that was kind of good for the book writing process because I didn't know that much and which we were trying to kind of orientate the book towards a more beginner friendly audience. And so it was quite good because Josette had all the knowledge and then I kind of contextualized all that and was able to hopefully put it in ways
that people that didn't have necessarily a senior background can understand it. Nice. There's there's a benefit to learning and teaching like in parallel, isn't there? Because you remember the pains. Exactly. Yeah. And while also to be able to teach you anything, you have to understand it really well anyway. So it kind of forces you to hit the band running and go into at the deep end. Yeah. Yeah. And the magic on the, the magic of the book is that at, at the beginning, we, we kind of shape
a journey that makes engineers to cover all the stages of, of delivering a software product. And then when we would sit together to try to convert between the two of us, it's when, when, when that magic happened. And, and, and that's why the book is, we believe is is really good. We hope it's really good. We hope we've had positive feedback. I. I'm like 1/3 through it and I think it's great, I think. Thanks. Like honestly, it's one that like I've had so many, like YouTube subscribers ask me to do dev OPS stuff and I've done, you
know, the past stuff, but I've never dove deep into DevOps because one, I have huge amount of imposter syndrome with it 'cause I hack my way through it. Like I'm a big fan of Docker compose and you know, like I use my own digital ocean droplets, but I don't know if I'm doing things right. And I don't want to just like say this is the way guys. But so I love that you laid out an entire book on how you would do it. And I like that it's Elixir
specific and I like the vast amount of topics you cover, even like node clusters and distribution and like all distributed, I should say. But like all of that. It's awesome. Yeah, we it definitely covers a lot. And like I say, we go through things like we introduce Terraform, Docker, Docker World and Docker Compose and Packer and everything kind of from a a ground level. So even if you don't understand
anything at all, then hopefully you can pick something up. And we also tried to write it in a way that if you do already understand it, the definitions aren't too long. And it's not like 2 hot chapters on what is Docker because that. So what inspired the actual book in the 1st place? Are you like a? Are you a dev OPS guy? Is that like your bread and butter? I was working in airline solutions and I was hired in in
a new position because it was like what I consider is the real DevOps because I was comfortable doing application layer, but at the same time I was comfortable doing any operational stuff. No. And then after spending spending some time, I wanted when I joined, I wanted to learn Erlang. I Erlang. That was the reason why I went there. And then after spent some time with my manager, he kept on telling me that that he wanted to be like the, the, the perfect
engineer, an engineer that is able to deliver something working in a one stop shop, something that can tackle everything. So we built a course between me and him in which you had a Phoenix like using Phoenix like you in the front end. The the business logic was done in in Erland. And then you would put on top things like Terraform for for deploying to a Kubernetes cluster, CICD with hip cap actions and many other things.
It's a super Co custodianess. You you would send like messages from the from the to the Rick Syrian. It was, it was super, super cool. No, And then one day I had a conversation with Francesco Cesarini when I presented these schools and he was like, you know, these moments in life when someone says like a silly sentence or something that makes you like take no, And he said, this smells like a book. And I was like, OK, maybe this is a book. And then we had a, a call with
Mano Rubio that introduced us to Sophie De Benedetto, who we are deeply grateful to. And we love her and she's great. And with her we shaped, we tried to shape the the journey. You mentioned before that there is one way to do things or we presented a way to do things. This is just another way to things. We use technologies to express some of the things that we believe in, but we don't think that you should get attached to these technologies.
We try to present some concepts that you want to to fulfill or to achieve when you are delivering a software product. We talk about things like environment integrity and other stuff, but this is basically the, the, the how it came through there, you know? Yeah. Yeah, I love that. I well, like, like you said, you try to teach people to like think about things and use, even if they choose different technologies. What you're teaching or reiterating is like important
things like environments and how do you deal with environment variables and what's the difference between like staging and production? And these are things that like, you don't really learn it until you're like, I didn't learn it till I was on a job where I was like kind of thrown into a fire and had to learn it, you know? And it's nice when you can learn it at your own pace and not discover the hardware, the hard way of environment variables and why you have config files and things like that, right? Yeah, you don't really want like
a massive bug in production to be the reason why you discover all these things. It's, as you say, good to know in advance and to understand what you're doing before it happens. Yeah, you don't want to learn the hard way of why you don't like put API keys directly in your repositories or things like that. Yeah, exactly. Yeah. So I kind of thought your approach was a little different. I like that you kind of started with project management like you never you wouldn't think about that, right? When you're like DevOps, why would I care about project
management? Explain like everything behind you're thinking there. Yeah, that was, well, it was twofold. First of all, we wanted to try and introduce Terraform in a way that people could understand because I don't know, it could potentially be confusing. So we wanted to use something that everybody would be familiar with, which is like tasks and like a Kanban board and things like that. Because you might not know, I don't know what and UC 2 is or something like that.
So rather than introducing those like 2 topics at the same time, so introduce Terraform using something kind of more simple. And the other one was also because I feel like in some teams, not in all teams, there's, there can be some like, I don't know, conflict between product people and developers and it can sometimes not always be the smoothest And also project planning is relatively boring. And we are about sharing the love. Yeah. And so we wanted to maybe if we can, like, I don't know, Sprint planning is never the most fun
meeting on your calendar every Friday or every Monday when you see it. So we were exactly, yeah. And so we were maybe kind of hoping that if we kind of put it into code and put it into a way that people or developers at least would like to see it, then maybe we could get them kind of more excited and get kind of create more synergy between product owners and encoders. You have inspired me to check out Terraform. Oh well, there you go. That's it. Yeah, that's it worked.
Yeah, yeah, I. Know so. I haven't used it. I've used like, you know, JIRA, click up GitHub issues directly and then like linear and all these other apps, right? But I like kind of integrating it into part of your your stack. And it's also helpful if you're a contractor and you do lots of, I don't know, shorter projects. It's also a lot easier if you already have the basis and you already know, let's say if I'm coding a website from scratch or
if I'm coding an app from scratch, then these are the like the things that I need to do. I need to, I don't know, I need to do what sit in really simple terms, do the front end, the server and the instrumentation, Yeah. And then you see ICP pipeline. Correct me if I'm wrong, you kind of have just like a config file to set up terraform, right? And so you can kind of rinse and repeat. Yeah, exactly. Yeah, that was also the idea. So you can create, if you're doing this on the regular, you can create a board, have a structure that you can use for everything. And I mean it can spin up tasks
and. Yeah, it works pretty well for bootstrapping. But then if we are completely fair, it goes against the, the, the way that the reform works because theoretically we telephone what you are doing is managing the state of these resources. But we use these conflict file just to, to, to create the issues and, and the and the milestones. Once you know, because after that you're going to be handling everything into in the UI. But we also explained that
another reason why we also decided to use GitHub is because it's like an easy step in into a, into a technology. And normally people think that it's more it push you back because you think about infrastructure. And when you think about infrastructure, it's like this is going to be a server or it's going to be a database. And Terraform is agnostic to to to cloud provider is is agnostic to. It's not only to handle cloud, big cloud. It can also handle things like
anything that exposes an API. It could be GitHub, it could be Cloudflare records and things and things like that. And I think we think that there this is something that people normally doesn't know, the first thing that that they think is OK, this is going to be like a cloud formation that handles some computer resources in Naus. No, it's more than that. You can handle lots of things. And the nice thing about this is that, for example, you can also have a provider for for shops to
handle your secrets. And then you can connect different providers. So let's say that you have a secret that it's built after creating an EC2 instance because it's the private IP or whatever. I don't know. You could use that exported attribute and then pass it to to the GitHub secret, which is super super useful. That is nice. It gives you a base of kind of structure to your overall project. Yeah, yeah. I like that. I also love so like I'm a big fan of Docker containers and all
of that. Like I haven't, I don't fully like my local environment. I don't usually have my like project project in Docker, but I've considered it. But I always have my databases and other services that run, they're always running in Docker images. And I just, and then it just makes deploying your application so much easier once your Docker files written, right. And so I think that's an awesome approach.
Why don't we talk like for people that might not know what Docker is, Do you want to kind of explain what dockerize in apps it means? Oh, yes, yeah, Dockerizing an app is kind of like packaging it. So it can be run in the same way on my machine, on reception machine, on your machine. So it kind of gets rid of that differences, what we were talking about earlier about environment integrity, it gets rid of those those differences
so that if you run a Docker image, it'll be the same Docker image anyway that you run it. And yeah, then you can create compose files or Docker compose files that allow you to run multiple Docker images at the same time. So you can have your Elixir application, you could have your database, you could have your, I don't know, your instrumentation services or whatever you want. Whatever is part of your application stack, you can run it in one compose file and have it all in one place and all neat and tidy.
Yeah. And they're all like in their own like local host cluster. I don't what do you what would you call like everything when? They're isolated. They are isolated. No, yeah, they're on the. The it's all on the same docker network, but each, each each one runs in its own little container. So it's it's isolated from everything else. But then it's still like communicating over just local host between the services, which is nice. Yeah. Yeah, so, and if you make it to the top ten and when we look at everything, I don't know if it's
in the Docker one or the compose one, but it's, it's super cool because, because we go step by step and we explain these isolations on how we build the docker. We run it. And then when we run it, we specify the the different parameters to the run command in order to work with this isolator. For example, we, we will create a network and then we would attach that container to the network and inside that and we do, we go step by step doing all the things that you would do
just by running a Doker compose. So it helps you to understand because you, you see the Doker compose, it's like, wow, this is beautiful, the magic, it works, you know, but you don't know what is happening behind the scenes. And we, when we are, we are doing those commands directly with Docker without Doker compose, which is, I believe super, super helpful. Yeah, it gives you, it gives you a lot of it gives you agnosticism. You put another layer in between, which is the Docker
image. No, But then it allows you to run everything mostly in All in all computers. There's another thing that we also taught in in the CI chapter I think it is which is building multi, multi ARC images. So sometimes when you are building with Docker, especially if you are Anna Clover, you will see that you can run that that image because someone else have built it in a in another architecture. But we also tackle things like that, which is quite cool. And yeah, I.
Think I'm excited for that though. I think it's cool that you go through so much too, like you bring in like the CI, the CD, all these things that really help you set up your project to be successful in my opinion. Because I like, I used to like when I first started like hacking my way through and like Docker was just magical and I didn't really understand what I was doing. When you start actually setting up all these systems, it just
makes your life so much easier. And then like you have unit tests in your project that can, you can run through your CI and all these things and it just puts you in such a better place with app health overall. And like I said, having a book where you can reference all this stuff, it's, it's basically like, you know, from step zero to 100 how to deploy your app and do it well. Yeah, completely. And I think this is also a reason why we wrote it is
because we would have loved to have had something like this, or especially me, because I did a coding boot camp and so I didn't do software engineering. Or anything. Me too. Uni No, you did it. You did it. Uni. No, I mean I would have loved to have this at every. Stage. I would have loved to have it, Yeah, because it just makes everything so much like, easier. And as you said earlier, you don't have to kind of discover on the job. I mean, there are obviously things that you'll still discover, like when you're working because this we can't cover everything.
But yeah, it was something that was definitely missing from my knowledge when I was finishing up studying. And so hopefully if this can help other people. Well and dev people forget like DevOps is a career for a lot of people right? Like it can get so complicated that it's it's own thing. And when when you're on small teams, it usually falls on the back end engineer, one of the engineers to be the full DevOps person. And yeah. Yeah, this is.
And if you're setting up the original structure, it's just kind of good to be guided. Yeah, I think, I think this, the person that you're talking about is the the best audience for this book. No, yeah, because I mean in bigger corporations DevOps is, is like it's all, it's all it's own role. And sometimes it's complicated from our point of view because what we are trying to do is exactly the opposite. With this book.
We are trying to homogenize the roles and trying to like have cross, cross functional teams that can touch any step of of delivery process. No, as we said before, we are all sharing the love and I, we believe that that if we all know a little bit about all the stages, we can share the pain, we can share the love. No, like like teams in, in like Phoenix library teams. We we you have access to the same domain, you share the same, I don't know codebase and it's
it's it works pretty well. Well, like I think the important thing, like why this book is perfect for the Elixir space too, is when you, when your code base is Elixir, you're going to have a smaller dev team just because I feel like you need less developers to get a lot further and to write fast code. And you're going to, you want to be the DevOps engineer on your team as well. Like and this this this gets you there. Exactly.
So. I think like one OK one question I have is did your relationship get better or worse writing a book together? It depends at what stage you probably would ask that question. Am I? Am I red? You're still alive. So that's a good sign. Yes, exactly. I mean, to be honest, it was
fine as in that makes me sound like I'm trying to, I don't know, paint roses or something. That sucked. But no, it was good. We obviously work well together, we communicate well and that was nice. And it's also like we're each other's number one fans, so it was kind of nice to have that support whilst writing it. But I mean, yeah, it was hard and. I think it was perfect. No, I. Think it was lovely. I mean, obviously we I was
thinking now when you were talking and, and it's there's been moment of tension. But the good thing about the fact that we were a couple is that we had to fix it. I mean, this is there's no we had to go to the boat. I mean there's no way out. We need to fix it. And that's always fantastic because you can only grow and obviously there's been moments of tension and there's been moments that we've been working 24/7 eating like prepared meals at home, but it's also been fantastic to live that with
someone that that you love. I also think in a way it made it better because if one person's writing a book, then that person will just be shut off in the OR if they're writing it in the Home Office 24/7 and the other person would be, I don't know, doing their stuff and whatever. And you'd kind of be like, Oh well this is boring and sucks. Yeah, you both kind of understand what you're going through. Yeah, exactly. And I think we did probably like once each chapter we would have a big argument either about because. How many chapters are there?
There's 12 so oh. My gosh. 12 existential crises yeah. So it, it was, it was good, though I think we we excel in different areas also, which I think was made it better in a way because kind of each person could kind of take their domain. She accepts in everything and I'm good with technology. You said it on me. I'm not good at anything. No, I get it.
But I always, I find the like the working relationships, when they work it, it's great, right? Like I had Parker and Shannon on from Oban and they're amazing together, right. And then like I, I think about it like I was like, I wonder if I could like build a product with, with my girlfriend or not maybe. But I could also see it add in like a lot of complications. You you don't know if you don't try it. That that's true, that is true.
But yeah, I, I find it impressive and I think it's cool. It's like, because a lot of times like work and personal life are just very separate. Like you have separate lives and then you kind of get to share more this way. And I think that's pretty, pretty cool. Yeah, no, it's good. And we also like understand exactly what the other's going through with, I don't know, everything. What. And now that we have, sorry, our company together, like it's all a lot more intertwined. Whereas before maybe like 3 years ago, we were each had our
like own separate jobs and I was working at one company and he was working at another. But yeah, it's, it's nice. We get to be together all the time. Yes. Really intense. She gets to to smack down all the time. Correct. Yes, I think we've learned that. Maybe I'm a bit bossy. No. I wouldn't think that when you go like I you started like as
you picked your like infrastructure and deployment options. What made you kind of choose like? I'm not at this part in the book, so did you you ended up using Docker Swarm, correct? What what made you choose that like over Kubernetes or like other options that you have? To be honest, we it was in the application process for the book. So you like when writing a book for Pragprog, you have to do a
like a proposal for a proposal. And we had initially put Kubernetes in our proposal and it was talking with Sophie Debenetto about our proposal. And she kind of said, I think it would be like super interesting, But Kubernetes is a big topic by itself. And I think if you're wanting to do a book that's the whole journey from start to finish. If you add in Kubernetes, it'll just be like too much. It says too much to say about it. And then kind of if you're talking about Docker and then
Kubernetes, I think it's it'll just be too much information. So we should reduce our scope of it. And then also as as you said before that you are used to have your locker composed locally, you know, and we are targeting people that want to take ownership on the infrastructure side, then you decide if you use a technology or not in your project. We wouldn't. I mean, every project is going to be different, but when explaining environment integrity to someone, look at that talk.
Yeah, he likes to make an appearance. It's a beautiful dog. So when you, when you want to explain something like environmentality to someone that is used to the socket composite in there, why don't you use exactly the same file for representing your same, the same services in, in production? That's that's was our idea. I think it came out of love and to make easy like learning this, this journey. But then obviously, I don't think there's many, many people that use Swarm in production.
We don't know. It depends it, it depends. But maybe on on premises and things like that. It might be useful if you are using things like Cortana, you might want to use it. But the, the fact option is Kubernetes or even go native stuff. So yeah, it's just to to ease the process and and thinking on transitioning or understanding the environment integrity stuff. It makes sense to me. Like honestly, I would want like as I'm choosing technologies, I would try to pick, you know, as
many that kind of overlap that I could, you know, and I've never used Docker Swarm, so I actually don't know how it works in production, but I'd be curious to try it. Like I'd be more willing to try it then not try it, you know, just because if you're already using Docker to have everything running in containers and build images, why not? The nice thing is that you can actually do Adobe Swarm in it in your machine and do a Docker stack deploy in your machine.
And then you can you can just test how it works. And that was was also something that we wanted to to to show. I mean the, the, the, the most problem that I, the biggest point that you might have when you are trying to deal with these things, the operational stuff is that eventually you're going to face a barrier and you know how to reproduce locally that that, that issue that you are having. And we are showing you that by using the same technologies across the stack or across different environments, you are able to do these things. In fact, in our proposal, when
we're talking about the Kubernetes, we would do also Kubernetes in in Docker to do the same thing locally and apply the same deployment scripts and so on. But. Yeah, that is nice about running Docker locally. You can just kind of set your environment variable and go and see how it works, right? Because I feel like that's a nice learning curve too, is when things don't work the same way in production as they did in
development, you know? Yeah. Something's always a little different. Yeah. Yeah, exactly. Yeah, that's painful, actually. Sometimes it's like, OK, and you don't know what to do. You know who to ask. It's yeah, it's it's it's sad when you face that, that one and and then you you end up like, I don't know what to do next. I just need to wait until someone unblocks me, yeah? Now you discuss handling different environments and the
difference between them and why you have them right. Yeah, kind of. I mean, we mainly focus on the development environment and the production environment. I think this may be like a paragraph on staging, but yeah. So we don't go too into too much detail about it. Well, I mean, once you know what production is, that's staging, right? Like it should match. Yeah, yeah. Exactly. Yeah, yeah, yeah. They should be the same, yeah. And you build the configuration files in Terraform to reproduce
them. Yeah. So that parallels actually I don't know if it's telling that I don't remember that parallel, but it might be saying you might be able to reproduce this environment just by changing some variables in this Terraform. Configuration is. That aside, I was thinking about yeah, which makes it super easy. And if you've got all your infrastructure defined in Terraform, you can just quickly spin up a new staging environment or a new testing environment or whatever however you want to call it. Yeah, that's awesome. That will be exactly the same. Yeah, you, you made Terraform look so cool. And I'm like, how come I've never tried?
Like I've looked at it, right. But I'm just like, you know, like when you're busy, you just, you don't want to learn anything new. You're like, I don't have time for that. But now it makes me want to use it for my personal projects. Yeah, yeah, yeah. Or you can learn open Tofu or Pollume. All of all of them work. I mean, as long as you have something that allows you to include different providers, which for in the case of Terraformal provider is like a dependency, a library. And each literary has like the
different instructions that you can do with an API. So as long as you have some technology that that allows you to have different providers and connect the attributes that expose the different resources to, to other providers and handling the state, then, then it's it's, it's good enough now. We have a question from Spaceman. Will the book be useful for me if I want to deploy my application on my servers not Amazon AWS?
And I I believe that's you don't deploy on AWS, do you? I mean we we deploy in in the book, we deploy in AWS. Oh, you do. But same concepts apply everywhere, especially once you're using Docker. Yeah, exactly. Yeah, it will definitely help you because as, as we say, it's not just the like, it's not so much the way you're deploying to. It's kind of the process of deploying, if that makes sense.
So it's not like based on the whole fact that it's just an EC2 instance. And may I ask, I would love to ask him if he sorry if they could be more specific in term of of servers. Well, which server are we talking about when when they say own servers? Yeah, like are you just talking about like an Ubuntu like droplet or something or are you actually running your own
servers in your basement? Well, if it's if it's your own servers in your investment, it's going to work for sure. I mean, obviously you need to avoid any Edwell US related stuff, but then you can deploy using Docker Swan. Because what you need to do is find a way to, for example, when we build the images for the servers and using packet instead of building them for Edwell US, you build it for your BM or something like that. And then you install, you
install aswarm and you run the, the the deploy script using the same commands. And that's why we are trying to do in the whole book to be agnostic as much as possible. Obviously we have to choose a cloud provider. But if we have, if we were asked by BlackRock to build A to write another book and say, hey, let's change the the provider and just GCP, it will be super easy for us because yeah, or let's deploy into an on premise infrastructure. It would also be easier because of the technologies that we're
using allow allow us to to switch easily. He's said to be for example VPS Hetzner, which I just yes that. Works. Yeah, that works. That works. Yeah, because you're just. Paying that works. Everyone is talking about Hetzner now, in fact one of the reviewers of the book and previous CTO who I believe is a friend of yours or you know him, Jiad Maki told me if I could help him like.
Yeah, he reached out to me and I was like, yeah, absolutely. I want them on as guests like. Yeah, yeah, He's our biggest fan. I I love him. Yeah, he's awesome. I I'm trying to get him on as a guest and he's always so busy. You should bring him. I'm going to tell you something. He's in the cover of our book and he was one of the reviewers and many of the ideas obviously
there there was something that come from my own. But I think the interest in all this journey, we were super aligned whenever we we were together and and he's been an inspiration in all of this process. So yeah, I think you should definitely take him in. Yeah, he's all like, he's, he has cool projects going on. I was like, dude, come on. And he's just like, I can't right now. I'm too busy. So he. Needs to find the time. We'll push him. We'll push him. We'll push. Perfect, perfect.
But yeah, he would be. He would be great to have on. And yeah, I randomly like, I, I met him, I've only digitally met him, but he reached out to me just to tell me how much he loves what I'm doing with like my YouTube channel. And yeah, we just became friends over that. And he's like, if there's anything I can do to help you, let me know. So like super nice guy. He's he's fantastic, He's fantastic. We recommend you to spend more time with him. Dude, I I wish I could like meet everyone like all my guests,
like at some point in person I think it would be awesome. We got to all like pick the same conference and go one year. Or maybe a ski trip. Oh, there we go. Everyone. Should come to Park City and we can have some nice skiing. I mean this year snow kind of sucks but hopefully next year the snow will be good. That's a shame because the we just come back from France and the ski and the snow is good, right? It was fantastic. Japan is getting dumped on too
right now. Yeah, we are talking about Japan this. Is so weird, I've never heard about skiing in Japan before but this year I think maybe like 15 people have mentioned skiing in Japan and. It's, you know, what's funny is so I, my brother-in-law is Australian and he goes to Japan all the time to ski because it's a lot closer than coming out to the United States, obviously. But yeah, I only heard it from him. And then like last year, all of a sudden there must have been some sort of tourism campaign because all my friends around
here are like, I'm going to Japan to ski. And I was like, how is this a thing all of a sudden? But yeah, apparently they have really awesome snow. Yeah, yeah, it's on. It's on our list. I mean, I've never been to or neither of us have ever been to Japan, so I would have to go anywhere in Japan, but. Yeah, I, yeah, I wouldn't think I was going to ski, you know? Japan's a bucket list item for sure, but I think I will make it a bucket list during the winter because, yeah, I want to ski.
You know, all these people that like their warm weather. I'll follow the powder and hang out in the mountains. I think that you'd do the same, no? Yeah, I have this dream. We were even thinking because I realized I I completely forgot how much I love to to a snowboard. I'm not a skier, sorry. And we went. I I can snowboard too. I'm just thinking I hit I hit less trees on skis. So I, I, I thought about maybe trying ski again, but I'm too,
too obsessed with, with, with the board and I enjoy riding a lot. So yeah, I completely forgot how, how in love I was with, with the snowboarding because we moved to the UK seven years ago, five years ago. And I think the last time that I went to the snow was two years prior to that. So it's been like forgotten. And then we went two weeks ago and it was like, wow.
I love this. I'm obsessed with this and we even consider the the maybe going for a season. I don't know if we're going to have Project Spony or a lot maybe being able to do that, but it would be lovely to work from from the ABS or some other nice ski resort and stay there until OK, I'm going to do it every day. I I think you. Should. I think that sounds like a great plan. Yeah. That's like I I've only gotten out once this season and I'm bummed and I just bought new
skis, but I am going tomorrow. I'm going up to Idaho. They've been getting more snow than what we've gotten done in Utah here, so it'll be. Fine, I'm jealous. In the UK. That's not all. No. Well, I think there's maybe like one not even mountain in Scotland where it snows, but that's about it. OK, I was going to ask, is there ever snow or not really? No, I mean, the further north you go, the more it snows. But I it's not like a regular occurrence. It's not like every winter it
snows. It's kind of oh wow, it snowed. At least like hopping around Europe is so easy for you, you know like I feel like travelling in Europe and jumping on a short flight or train ride is so much easier than. Yeah, exactly. I mean, you know, yeah, we, well, when we went to the Alps, we flew to Geneva and it was, I don't know, an hour and a half so. It was, yeah. That's awesome. But I love to go to the States, go skiing. Yeah. Well, snowboarding. Come on out, if you ever are here, you got to let me know We
can. Utah's a great place because there's so many resorts kind of all all nested in together, which is cool. Yeah. Fantastic. We'll put it on my list. Yeah, we had to get so an. Elixir conference in like Salt Lake City in the winter and then everyone can go skiing at like Park City, Sundance, Brighton, Snowbird, wherever you know. That is a good idea. That is the best idea ever. I don't know who we got to get in touch with, but we got to get
it. We got to get it going. Yeah. Talk to Jim. Collazo I don't know, There's lots of confidence now. But yeah, I, I don't know. Do you guys have any conferences planned because I've been trying to talk myself into going to one this year but I haven't pulled the trigger. We are going to what's it called? Goat Maya. Goat Maya. In Sweden in September. OK nice, that would be fun.
Yeah. Is it in September? Yeah, I think it's in the first week of September. Yeah, which should be good. Neither of us. Well, he's been to Stockholm once. It's not in Stockholm, it's in the West. It's yeah, I think just South of Gutenberg, which should be a cool. Place. If I remember, I think I saw a post about it. It's like kind of not around anything. It's kind of in the middle of nowhere, right? From what we've seen on maps, yes. Yes, but those are our favorite places.
Yeah. I mean, Sweden's meant to be beautiful. And I mean, hopefully we'll catch the end of summer. So yeah, it should be good. And the group of people, the speakers that have been announced. Yeah, the most important thing is the company. You know, we are super excited to, to see Sasha. We we fell in love with with Sasha at Orlando and actually he he mentioned us to Lars. That's why we are going to that conference. Nice. That's awesome.
Yeah. Sasha Sasha's great. Yeah. It was either his book or Bruce Tate's book that was like my first elixir book I picked up when I started building an elixir. So yeah, those guys, those two guys are awesome. Yeah, yeah, yeah. Yeah, they are great. Yeah, Elixir in action is. It's great, amazing. We've never met Bruce Tate, but I love to met him. Yeah, I like, I haven't met any Elixir people really in person, so it's always just been like this. But yeah, Bruce Tate and his wife Maggie, like awesome
people. And then Sasha, like all those guys I haven't had. Any you need to go to our confidence. What's that? You need to go to our confidence. I know I do. I was. I had Lisbon planned last year. I was going to Lisbon and I had to cancel the morning of my trip because I woke up, like with the worst flu of my life. So that, that was a bummer, yeah, because I was looking forward to a Lisbon trip. That would have been so much fun. And Lisbon's a great city, yeah. Yeah, have you ever had a pastel
lenata? I don't even know what that means. It's like a it's kind of like a custard tarp. Oh, OK. Really good. It's nice and sweet and it's amazing. Yeah, it sounds great. Sounds like something you want with like a cup of coffee. Yeah, you definitely do. Yeah, Yeah. So. That's awesome, yeah. So yeah, I was thinking before I don't, I forgot the name of this person that I've asked about Hitsnet.
So Spaceman. Spaceman. Yeah, Spaceman, how could you forget that? No. I'm really bad with names me. Too, and it's a random username. So just to tell him that if he wants to, if they Spaceman is a, so if he wants to reach us and we can talk about this, about how to do it with. Yeah, awesome. I think like, honestly, like read this book, I think you'll be in a lot better place than
you think, even with shifting technologies, especially if you're, like, already familiar with Hetzner, right, 'cause you can 'cause everything in your book so far I can apply directly to a digital ocean droplet. You know, it's just, it's all. Just kind of. Knowing what pieces to put together. Exactly, you just changed the resource, but the concept is exactly the same. And I also love that you do you dive into auto scaling and like all of the deployment stuff behind auto scaling and then
observability because like that stuff I don't. Are there good resources in Elixir for it? I feel like not really. There's some good libraries, but there's not really a good way to how to use them. Not really. And especially mixed with distributing the application as an Erlang distributed cluster. You know, we also focus a lot on that because we were scared
about that, writing about that at the beginning. It was Sophie de Veneto who pushed us to, to do so. And many times in the past, I would deploy something as I see with the deadline. I wouldn't know why I'm doing this. OK, I'm using DNS cluster. I'm using the cluster and I want things to be connected. I want the airline notes to be connected, but I don't know why. And we make a, a picture to understand why. You know, like for example, the the fact that when you do poop
soap, it works in the same way if you are just using one instance or you have all of them connected. Now the fact that you can just publish a message and you see in all your instances duplicating the same behaviour without doing anything else just out-of-the-box, it's something super powerful. And sometimes it's hard to to express this to, to to someone from outside the community. And I think with Donna, I would talk in terms of helping.
Out yeah, we developed an application that people deploy in the book that they don't have to like code themselves. We've already done it and we have the two Docker images for it and it's an example of why connecting all your distributed nodes is a good idea. So it's a Kanban board and we, there's A to do column. And then I don't know in progress column, I think. And if they're not connected, if you move a task from one column to the other in one of the instances or one of your nodes, it's not reflected in the other because they can't communicate with with each other and they
don't know anything about it. But as soon as you connect the nodes, then as soon as you move one task from one column to the other, it's all, it's reflected in all of the nodes in, in in your system. So we tried to kind of create a tangible example and a visual example of how you can see why that's a good idea. And all all through like message passing I'm assuming right like. Yes. Yeah, the power, right? It's so cool, it's almost magic. Yeah, yeah. And we also hope to make operational people understand that it also simplifies
operating beam applications because in this case, if you wanted to have some similar behaviour with other technologies, you would have to have a Redis, you would have to pop sub subscribers to to all these messages and all your applications subscribe to this, to this queues. And this is out-of-the-box. You just connect your notes, you deploy Elixir and with the nodes connected and it just works. Yeah, and with Alexa, you don't even really. You don't even have to. You don't need Redis anymore,
really. I. Don't there's. Not many like 'cause you can do it all with Erlang and like ETS tables or whatever you need to do right? Yeah, yeah, we are obsessed with that table that. Yeah, that table in Sasha's book and Elixir in action. I think it's maybe in Chapter 1. And then there's a table and it says all these different things. And with other technologies you need 1 technology to do this and other technologies do that, another one to do this. And then the column and it's just Erlang, Erlang, Erlang, Erlang. Yeah, yeah, yeah. Yeah, yeah, yeah. By the way. Such a good book, I should reread it just because I feel
like it's one of those books that it's just good to like. Brush up on your elixir skills. I mean, I'm currently reading it and I'm currently like, wow, yeah, good. Yeah, yeah, yeah. Alex. Alex Kotmos's new book, The Shoot. Elixir patterns. Elixir patterns. It's like so good 'cause it's like. Yeah, it's really. It's kind of like less about patterns, but like more about like little tricks you should know as a elixir developer. It's just so good.
I mean I shouldn't say it's less about patterns, but like there's just so many good development tricks that you might not know as a an Elixir developer. I think it's a sexy book. Yeah, it's great. Have you read it? I haven't read it. I should read it. Yeah, yeah, yeah, I, I have it. I, I bought it and I started reading it, but it wasn't F in beta and then I stopped and I don't know why I did that. I should be on top of it because it's, it was fantastic. I remember one really cool thing about how to enable this Evergen service depending on the on the
environment or be an environment in Barriales, which was super, super useful. And there are lots of little things like this that are that are super cool and things that I didn't know. Yeah, a lot of like the. Process stuff and Jenserver stuff from his book are like, there's just so much valuable information there and I think. It's like the world is valuable. It's officially out of beta. They just released like one point O or maybe even one point something just really recently. Oh nice.
Oh well, I'll definitely read it. Yeah, yeah, I we definitely recommend it. You didn't know about this one, but I'm obsessed with this book, so yeah, I definitely recommend it. And one thing that I wanted to mention earlier, we said that we created this app and Ricardo Garcia was a, a big contributor for this app. He created all the, the Kanban stuff. And then we kind of go out for the, the stuff related to the infrastructure page, which is the tool that we used to, to actually teach some of the
concepts now. But we, we couldn't have done this without him. So thank. You. Yeah. Big shout out to him. Yeah, the stats or the infrastructure page that Giuseppe was mentioning is a it's a page where you can visualise your infrastructure. So we let you visualise all the different containers in your Docker swarm and everything that's running and all the different nodes in your swarm. And when you get to the auto scaling chapter, there's a button that allows you to stress your application. And so if you, when you press the button, you can see the logs of your autoscaling group and
then you can see your group scale up. And so you'll visually see the nodes go from 3:00 to 5:00. And then once the CPU comes down a bit, you'll then see the CPU level go down a bit and then you'll see it descale. And so you'll then see it go down from 5 nodes to three. That's. Awesome. Very cool. Yeah, which was something that, again, we would have loved to have had when we were learning about these. Kind of like to get your hands on like a real project like that too and like make it so simple to test. That's really cool. I love that. Yeah, I'm excited.
To get, I'm excited to get through your book, I feel like. I'm an it's it's that long book. Yeah. I know that's why I'm not as far as I wanted to, because I'm reading it and like the problem. Like with me, at least when I read technical books, I always try to like read it once through without doing anything right. I try to just absorb things and then I read it again and do like the examples and follow along. I mean, I don't always do the examples. Sometimes I'll do it like in my own projects, but you know,
apply the same concepts. So it takes me a long time to read technical books. No, me too. Me too. I I didn't, I could never read a technical. It takes me like a whole day to read a chapter and like implement everything properly if I'm not like skimming it. So yeah, I don't know how people read books in a day. I I can't even read a fiction book in a day. No, me neither. But yeah, I don't know. I think it's like, I don't, I
like to fully understand something, so like I'll brush through it, but if I'm like, what did I just read? I'll read it again and then it's like, OK, I think I got it. And then I go on. And then I have to read it again to apply my knowledge. Yeah, exactly. Yeah, same happened to me. So I'm. Glad to know that I'm not like, you know, the slow one it we all have the same process it sounds like.
No, definitely not. No. Yeah. Well, it's also a lot of information that you're taking in, so. It is, and unfortunately it's really hard to read technical books before bed because I'll fall asleep in like a paragraph. No, Yeah, either that, no. Offense to you guys, I think your writing is great, it's just subject matter. No, yeah, it's not. Well, also you kind of need to be taking notes as well, because I learn. I don't really learn. If I just read something, I
don't learn. I have to read and then take notes. Or I'll go through examples and implement them. No, no. But even if I do that, I still have to take notes. I see. Yeah, like I have a markdown file for each chapter I read and then I have to take like physically write out this is what I don't have a Gen. server does or whatever I'm reading about. Otherwise I don't understand. I have to take notes or I don't retain it. It's like in in one ear, out the other. Yeah. Sometimes like so like I like my, I'll like handwrite notes on my iPad, which is good, but that slows me down because
handwriting is so much slower than like typing it up, you know, but I don't know, I feel like I return retain better if I handwrite versus typing. And then I don't know, it takes me a long time to learn guys. It's just, you know, it's a slow process. I was thinking that I also take lots of notes, but then it's messy because I take it in markdowns and in different places. There is no order, there is no pattern. And then I think it's being useful, but then I don't know if
it is just because it's messy. I started looking into like research platforms, like like made for like research documents and like, what do they call the like thesis stuff, you know, where you have a lot of research and sources and lots of things that you cite. I started looking into different platforms like that because it like mind maps, your notes, right? All based around a subject.
And I'm like, I wonder if I could apply this to just my own learning, like, OK, I'm learning DevOps. That's like the main thing, right? And then you like take all your snippets. So you take your, I don't know, Docker Swarm, you have your notes and all your references. And then you can like easily like take your mind map and find things again. So I might like try to apply that. And then you organize your notes a little bit instead of like, what is the app that I like right now?
Obsidian. So like, I just have all my markdown notes, but they're scattered all over the place and not really connected. So I don't know, I'm always looking for better ways to organize my stuff. Yeah. That's a good one. Yeah, mine. That's a good idea because then you've also got, I'm a very visual kind of, well, I'm a visual learner, but also a visual rememberer. And like when I was, I don't know, revising for my exams when I was at school, I would always be able to, if I did like a
really pretty diagram, I could then recall that in my brain during the exam and like see, like, right, this piece of text is on there over there on the page. It's not that I, I don't have a photographic memory, but I could just kind of visualize what info was where. So maybe a mind that is a good idea. Yeah, I'm jealous of people with photographic memories. I wish I had that power. And they lost people with memory. Memory alone would be nice yes. Like I don't remember what I worked on yesterday.
I had to like take notes exactly so I can tell people. What is my name? Vitali recommended Consensus AI. It's an AI search engine for research. So that's kind of cool. See, I think like this might be good for finding information, but I'm trying to remember here. Let me pull it up. I think I have it in my browser on my iPad. There's like a no.
You mentioned Obsidian. I like Obsidian. That's like it's kind of just like a markdown notes though. Like you can have things in folders and different files. But now it's going to, yeah, I think the issue with all these tools, and it depends if it's for lettering something, OK, use something like Mermaid maybe and put it in a markdown and just try to render that somewhere. No, you can do flow tabs and things like that if it's an IMAP.
My problem is I try to avoid. I try to avoid subscriptions because if you're not careful you'll end up having like 100 subscriptions to tools you barely use. Yeah, yeah. Yeah. I think our business has like 1,000,000 others. No, we haven't. We have Kathy. Well, now we are. Oh, Zotero looks interesting. So yeah, that one's kind of cool. It's kind of like it allows you to like kind of write, like
write, organize chapters and then have all the references to all your research. So, but I don't think that's the mind mapping one, but I don't know. I won't waste time, but there's some cool some cool options out there. Yeah, But for, for me, the, the, the only problem with all these tools is the transition between the others. Because in the end, you want to have these things somewhere that you can reach easily, but then you want to apply them somewhere else, you know? So switching between the tools and maybe the, the actual
implementation, or it's what I struggle with because then there's a lot of context switch and I, I get distracted. Yeah, you need you need the one all the solution that you the perfect solution for your process. Exactly. Exactly. Yeah. But yeah, one thing I am really thankful for is I've been in Elixir now full time for like 4 years and I don't have to contact switch between node back
ends. Elixir, iOS development and all that. Like it kind of helps me maintain my sanity. Yeah, having everything there, you're yeah, you're right. And not having to go from 1:00 to the other. Are you working now if we can ask? I'm working at a company called Collects and it's pretty cool. It's like a, it's a trading card app where you can like take a picture of your trading cards or like Pokémon cards, whatever it may be and you can store it to a collection. It can get connected to other
ones and it kind of like it helps you like know the value of it so you know how much it's worth and then you can sell it on our marketplace and connect with other buyers and sellers. It's a, it's a pretty cool app and their whole, their whole back end is like absinthe and elixir. And so it's, it's, it's fun. They're they're in a, they have a lot of users. So I'm learning a lot about scaling and like efficient database queries and things like
that. Like stuff you don't have to worry about when you only have 1002 thousand users. They have something a lot like they they're at the point where they're having like almost 300,000 active users a day, so. Wow, that's. It's big. Interesting. Yeah, yeah. So I'm learning a lot and. Are you are you looking for for engineers? You are looking. For contracts? Oh, I don't think currently, I think I I'm their last hire for a while, but it's a cool company. I'll I'll definitely keep you
guys in mind. It sounds cool. It sounds cool. Did you trade Pokémon cards when you were younger? No, but I used to trade Pokemons and I, I used to play and I with a big Game Boy and it was a trick to clone Pokemons. I don't know if you remember that you you have like Ausb kind of USB wire and you would use the Game Boy and then when the transfer was happening you 2 would like turn off the Game Boy and you would copy the clone the Pokémon. Oh that's awesome. I remember like I had the old school Game Boy, like the the
big grey one, the green screen, you know? Yeah. Yeah, but yeah, I remember all the wild attachments you could get for it. Like I had an external battery pack and like all these crazy things. We've come a long way. Yeah, it was. Everything was more physical. Yes, it was. Yeah, you had you had to blow the cartridge. It really wouldn't work. So yeah. I will take it out, blow on it. Yeah, yeah. I'm not actually sure if that
worked, but it seemed like it did. I believed it. So that's. What I wanted well, and then like like Nintendo, Nintendo and Nintendo 64 were like my big gaming systems and then I kind of like I stopped gaming after those, but I remember golden I I don't know if I should be proud of this or. Goldeneye. But Goldeneye, So I still have Nintendo 64 at my parents house. So like when I'm back there on
vacation and stuff, if I play Goldeneye, I am still awesome. And I remember all the spawning, all the spawning points. It's it's ridiculous. I don't remember them, but I would love to play again. To all that I I I was a fan of the Golden Gun. You would kill with one shot, no? Yeah, yeah, yeah. Oh man, that was such a good game. They had to and they tried to like remake it so many times and it just never hit the same way. That's.
My favorite game of the 64? Say again. Sorry. Oh no, go ahead. I was going to say the 64 just nailed it with Goldeneye the but no other system could do it again. Yeah, it was fantastic and I remember playing multiplayer, but my favorite game was OK. Enough time. It was my first Zelda and I've been all my life obsessed with Zelda. But then lately I can't play so whenever we get any of Zelda Rain, no. I play. She over takes it.
Sounds like you need just a water. You need 2 switches or whatever platform you're on. Yeah, yeah, definitely. Well, no, I think you played Breath of the Wild before I did, and you completed it, and then I completed. It yes, that's true, but that's the only one I mean. The what's what was the new one? Called the The Links Awakening. Oh yeah, I played you. You completely I was playing the story and and and she she took corners she took took. The control and was like, you know me. Poor guy. Yeah. Yeah, I know. Bless. No, I, I, I, I love to watch.
Yeah, yeah, I like, I like to watch people playing video games and especially with with someone that you love. I don't know. We spend a lot of time with the sweets and I think it's fantastic to play games like like New Super Mario Bros. We are obsessed with Mario. Yeah. In fact, we were super excited to go this year to Orlando Elixir Comp. You should go to Orlando Elixir Comp because the New Super Mario World theme park is going to be open I think. Oh nice, maybe I'll that's in the summer at some point, right?
Is it in June? I think it was in August, no? Last year it was in August. I don't know what it is this year. Yeah. That would be a good one. I have a sister that lives in Florida so it's a good excuse to get there and visit. Yeah, we still need to think if we are going to be able to make it, but we we really wanted to go because of the reason. Yeah, now I'm a bit sad because I don't know the last time that we play a game. No, we should try to find one.
You sure do. I think we are. Well, I don't know if there are any good ones up. There is one new Mario that she doesn't like. I don't know why. I like the switch does the multiplayer games so well like the couch Co-op games. It's it's fun. Yeah, exactly. Exactly. I've told myself I was like going to relax and start playing video games again and I got a Steam Deck and I don't have any time. I never played the thing. It is a commitment also because
I think once you start playing, you don't don't stop playing. Right, exactly. And it's hard. Like I'm lucky to have like an hour to put aside where I can do it. And then it's more just like I get like 20 minutes into a game and I'm like, I have to, I have to get back to the real world. Yeah. There are two games that I'm struggling to finish and I packed them completely and it's painful when you do that. It's like you are about to kill the final version. You can't do it, Yeah. That's funny.
Yeah. So your your book is completely out or is it in beta right now? It's completely out. It is completely out. It was. Especially released. You can get physical copies. We got our the first ones in the post last week. Yeah, it came out in the 18th of December. It was our. OK, because I couldn't remember because I picked it up, I picked up the E version and I couldn't remember if it was beta or not. But so that's exciting.
It's officially out. No, not too many changes will happen anymore. No. Well, if any changes that happen, that'll be version 2. But no, it's all the content is locked in. No, I think it was in beta for about 7-8 months I think. How's the writing process like? Would you do it again? Was it hard? I mean, obviously it's hard. I couldn't imagine writing a book like recording content is as far as I go. I don't know if I have the
patience to write a book. But what was it like for your perspective? It was a long process. I mean, we started it. So you first made the application in October of 2022 and. I think we need the application together. Well, the first call I need the. First call, Yeah, was in October 2022, and then the book was finally published in December of 2024. So from the beginning of the idea until the finished version, it was just over two years. So it's a long process. And you're right, you do kind of
have to be, well, you do have to be patient, but also not because there's so much work that goes into it that you kind of just go. And yes, I think we would do it again, maybe not straight away because I think we both want to breathe a bit first. But yeah, I think we probably would write another one. And it, no, it was, it was, it was, it was a good experience. It was very full on, I would say for the 1st, maybe 18 months, and in the last six months we're
way more relaxed because it was then going backwards and forwards with the editor or with our editor going through final revisions, whether this word is better than this word or making sure the code fits nicely inside the margins. It was kind of more aesthetic changes rather than actual content. Writing yeah, it was, it was great. And I think Pragbrock has a fantastic process in place to, to help the authors and they,
they, they are on top of you and they help you with all the, the stages of, of, of these processes. And it's, it's really good also they, they give you freedom to, to actually change some stuff. And they've been super understanding with us. And then obviously there are some technical complexities that you need to just navigate. But I think we, we, we did the right thing, which was choosing NICs for, for building, for, for sharing all the tools that you
use to, for the writing process. Like for example, when you wanted to, to build the book you use Ruby to in the book. And we shared all this, this tooling and all the things that we needed to do with the book and hooks for, for checks before committing anything and other stuff. We would share the, the everything with Nicks. And I think it was, it was great. We are planning to write A blog post about that process too. And it has written A blog post about all the building process.
But we are the writing process. But we are also planning to to write another post about all the technical aspects that that we have to to follow that would. Be super beneficial for sure. Yes, yes and yeah. Because when you think I was writing a book, maybe there are lots of things that scare you and then that push you back. No. And the idea about sharing this this blog post and even giving give some talks about it is to try to remove any unknowns so
more people write more books and. Yeah, then then everything is easy. Yeah, I think about writing a book. The most daunting thing is handing in your proposal or thinking that you had something interesting enough to say that you could write a book. The 1st jump no. Yeah. So it's jumping in, but once you've made that leap, the book writing process is. I mean, I'm not going to say it's easy because it was a lot of work, but it's easy. Ish. Yeah. So yeah.
You need to follow the same practices that we explain in our book. You need, you need to be able to set yourself in a in a position in which you can actually iterate on the things that you need to do, which is writing chapters, and write the code for the chapters that you use in your book. And you need to test that code and you need to have ACI in place for those chapters, which is something that you can do while you're writing a book and things like that. And we follow exactly the same approach that we, that we show in the book.
We have, we have ACI for each of the chapters. Obviously, we were not, there were some things that we would have loved to do, which would be like creating the infrastructure with a reform in the CI and things like that. We didn't do that. We evaluated that the code was formatted and and and other stuff, but yeah, you need to put yourself in a place where you can have that in place as soon as possible. And then you only focus on on on the very very dates and the chapters. I'm curious, do you start with like the coding project and
right along that like how you took like for instance, the the Kamban app, did you kind of start with that and then deploy it and right each step of the way or how did you how do you plan content as far as that goes? We had the idea. Yeah, it does. It doesn't make sense. We had the idea of the of an app. We knew that we wanted to deploy an app. We didn't know what said app
was, and then it was. So when we did the proposal, we already had split it into Chapter 2. We'll probably be about this then Chapter 3 about this. And it did roughly kind of, I think maybe one or two things changed for when we actually started writing. But it was, I think you kind of sat down and thought, right, what are the steps that go into deploying an application and kind of wrote those down. And then it came from there naturally. So you were thinking, Oh, well, you have to package the application and then you would
want to do your CI pipeline and then you'd want to automate your infrastructure and you'd want to do this and you'd want to do that. So it wasn't necessarily we already had the app and we just went through, but we did like to sit down and go from start to finish. I think, I think the answer is that there were a lot of unknowns. And if you are planning to write a book, there will be a lot of unknowns. And we are and you are working a project, there will be a lot of unknowns. We, we, we knew roughly what the
application had to have. No, we needed, we wanted to show the why it's beautiful and why it's useful to have a distributed headline cluster. And we knew also that because that was in the proposal. And we also knew that we need to stress the application somehow because we need to show how the auto scaling works and how the cluster grows and shrinks. That those were the things that we that we knew, but we were already writing chapters and we still didn't have the, the, the
application and we, we were talking with friends and colleagues and saying, hey, do you have any ideas about the application We need this. What would be a nice thing? And in this case, Ricardo Garcia, I mean, he's a really good fan of ours and he said, wow, we can just do the camera application. I implemented this in, in, in React and Phoenix in the past and I've been wanting to move away from that and just Phoenix like you do that and that would make super easy to explain distributed Telang. So it was his idea and then we explained to him and we, we
built together the other stuff in that application, which is the thing that lets you stress the the cluster. By the way, we do that by spawning, by also using distributed Telang and we spawn lots of Fibonacci processes in all the nodes in the cluster because we needed to stress the application evenly in order to trigger the auto scaling in a way that would make sense visually. So yeah, we didn't know all of that and the outcome now, I
think it's, it's beautiful. We wanted to have something deployed for today and maybe share it with you, but we we missed that. But maybe we can try to create a video and, and, and share it later with you because it's, it's, it's really cool the outcome. And we didn't plan it extensively beforehand. We knew what you wanted. Like anytime you guys want to come back on, just reach out and we'll we'll do it. Maybe we can come with Z and also with Ricardo.
Drag him, That would be amazing. I'm going to get him on. He can only avoid me so long. Yeah, and what about Herman Velasco? Have you ever had him? We are completely obsessed with him. No, I don't think so. What? What was his name? Herman Velasco. Herman Velasco. You spell it like German. Yeah, German Velasco is how you spell it. Oh yeah, yeah, yeah. He just booked.
I have him coming on. Oh, he's great. Let me look at my calendar. When is he? Yeah, he. I love his content. He's a good dude. Yeah, I love his soul. Yeah, he's super nice, super generous super. Kind. I think he's coming on in March. Nice. March 14th. Oh well, we'll definitely TuneIn. Yeah, yeah, I, I, he, he took a while to get booked because he
was really busy too. And then, like, you mean to circle back, I need a better way to organize my life because I'll just do. I'll usually just find people on Twitter, right? And I'll DM them and then like, if I don't hear back, I'll usually, you know, bug him one more time and then I leave him alone. But like he responded, he's like, oh, I'm so busy. Let's reconnect in like 2 months. I dropped the ball and like reached out back in like 6 months. But we finally got it booked. So yeah, it'll be good to have. It's German.
Is that there is a germane? Herman. You pronounce it Herman, so it's like. Oh, Herman. OK, that's good. See, I'm horrible. I'm like, I butcher everyone, like everyone with a foreign name. I just Americanize it and butcher it and I feel bad but. I I think, I think he's used to it. I think everyone when they first make him calls in German. OK, that's how it's spelled. But now I'll remember and I'll do it right. You're on the podcast, you know. Yeah, but don't worry, I but this one I I about said English
all the time, so it's fine, yeah. And he just, he just started a podcast that looks a lot of fun, like Elixir friends, I think. Yeah, Yeah, yeah, yeah, yeah. That's a good one. It's less, I would say kind of elixir focused and it's more just a general chitchat. Yes, I like that. Yeah, which is which is pretty cool. It's very relaxed. Yeah. Yeah, he's great. And we went there. He invited us. And yeah, I just remember the story about the marathon.
Yeah. Yeah. It's funny. You don't know this story. I. Don't. Oh no, because we we explained it in Spanish, that's why. Of course, of course you. Go on then. Yeah, so I went on. I went on a marathon but it wasn't like a proper marathon. I just say said to Ellie. I'm I'm going for a run and then it 4043 K and she thought I was there. Yeah, I thought, well, I thought he died, but there's a lot more contact behind that than just, I
don't think he can run. So the day before he he's done 50 kilometres on his bike or cycling and then he went on a 10K run and when he got back from his run the day before he'd said I felt really dizzy on my run. I had to stop and go to the supermarket and eat. Like some chicken. Yeah, I had to get some chicken and I was eating chicken on the side of the road with an energy drink, blah, blah, blah. And then he finished the run and then he came home. And so the following day he said I'm going for a run. And I thought, cool. I assumed he'd be back in like an hour, an hour and 15 minutes,
if that's how long he would do, like 10-15 K And about 2 1/2 hours later, he hadn't said anything and like, hadn't come back. And I was thinking, where is he thinking wow, has he like fainted somewhere or has something happened again? And so I called his phone and it went straight to voicemail. And I felt, and that's a bit weird, didn't think anything of it. Then about half an hour, 45 minutes later, I called him again and he didn't pick up again or it went straight to voicemail. I was trying to save battery. His phone was off but I obviously didn't know that. And then about 45 minutes later, again I texted him saying are
you alive? And then he didn't. And then on WhatsApp it had the one tick rather than two. So I knew that there was something weird going on with his phone. And about an hour after that, I was then like, wow, I think he's died. Like, I don't know why he's not, no, why he's not responding. I don't know where he's gone for a run because I wasn't thinking that he was going to do a marathon because I don't think you've never gone on a marathon run just for fun before. No, no, no. So then I panicked you. Just did you just did a marathon for fun or was it an event? No, it was for fun. It was for fun.
I mean, I wanted it was a New year resolution and I didn't want to wait for a competition, things like that. I just want to see how I would feel. Whereas I would only run a marathon if I got a big fat medal at the end. But he was. I used to. I used to do that stuff. I haven't ran a marathon in a long time. Well I still haven't run on but anyway. So he was out and he wasn't replying to my call. I'd messaged him saying that you were alive. And then when he didn't come home after probably about 5 and
a quarter hours, I was then starting to get worried. And I thought, wow, I'm going to have to go to the police and tell him that my boyfriend's got lost, that he's probably died. And he was running next to a canal or a river. And I had just had this image of him falling over his own feet or because he was so tired, falling like face down into the river, being like. Can you imagine? Like couldn't breathe obviously, then drowned. I mean that. Would be horrible. It would be horrible and. Then I was thinking, if I go to the police and then like, ask him, ask them where is he? Are they going to think that I've like killed him?
And then I've made a joke because I've texted him saying, are you alive? And then they're going to think that I'm like some sick person making some like weird joke. I don't know. But anyway, he came back. Half an hour. Yeah, Yeah. And is alive after this day. Yeah, 4 hours it took me, it was a really bad. Bad. It was longer than the. One, yeah, yeah, it was a really bad Yeah, yeah. It was a disaster. Five or five hours. It was almost five. It was really, really bad time, bad pace, but I did it. You did it and now you have a you. Now you can get APR and when you do it again you can get a
better. Time, yeah, exactly, exactly for sure, for sure. I mean I did it without I had some water with me but I didn't have any like supplements or anything like that. I think I stopped at halfway and I had like a short of breath and an americano, but I didn't have like any caffeine and things like that. So and I I. There was Americana was not going to help you in a marathon. No, no. And I remember when I started feeling the pain in my in my joints and things like that. Wow, I've never felt this before because I think I never did like 30 K before.
Yeah. And I think the pain starts after 3030 K. Well, they say you hit a wall at like 35, Yeah. Yeah, I don't know. I so I'm bad at kilometers but yeah, like between 16 and 18 miles is that wall? Yeah, that's probably about then, yeah. 18. Miles. 18 miles is probably like 30K. Yeah. 'Cause yeah 'cause a marathon in miles is 26.2. Yeah. But yeah, I.
Yeah, I'm into leap again. I did an Iron Man once and I won't, I probably won't do another one 'cause it was just like, it was fun, like I'm glad I did it right, but it was like a it was another job 'cause I woke up before work. I would work out for two hours, I would work out for two hours after work. And then my weekends, one day, like I think Sunday was my rest day, but Saturday I was out, you know, half the day doing 2 of the sports, two of the three.
How long was the cycle in a lineman? It's 112 miles. Oof. That's long. No stabile. That's long. How how long it took you to do those those. I did the whole Iron Man in 12 hours and 26 minutes. We'll be in. 112 miles to kilometers? I'll ask Google. It's like 180 kilometers on the bike.
That is long. I think it would be really, really bad at swimming. The swimming is like a, it's a very, it's a mental game because you're swimming in a group of people. So you have to kind of be defensive because you're like in a swarm of people. So like you feel like you're getting drowned, you know, because everyone's splashing all around you. There's people that are trying to swim between your legs and like it's wild, but. Wow, where did you, where did you do it? Is it in a river or in the sea?
I did it in a lake. It was in Wisconsin here, yeah. So I did it in a lake and it was just like to a buoy, around a buoy and back. And it was what is that? I think it's like 2.1 miles. I can't remember. So like a little over three like 3.3 kilometers. Wow, that's a long swim. That's that's a lot, yeah. But 12 hours is a long. Time, yeah. Well, I mean, I'm sure it's a good time, but that's a long time to be well. It's not like it's. Not an amazing time, but it's like good for like a random
person I think you know. Yeah. 'Cause there's crazy Like what? Let's like what is the world champion best Iron Man time? 7 hours and 21 minutes. Like that's wild. So someone is twice as fast as me, pretty much. Yeah, and it only took me two hours less to do the marathon. Well, but next time you'll do it
way better and honestly doing doing an event is like you're more amped up when you're running with other people. So you. Probably. And you have water stations. And like when I do, when I, well, I, I haven't done any of these events in a while, but I would do, I would set a timer on my watch to like remind me to take electrolytes and like eat something and 'cause you don't want to ever like have that, that crash where you feel ill and have to go eat chicken in the middle of your run.
Yeah, yeah. Or. Or a shortbread in an americano. Exactly, Yeah. Next time I'm going to say that I'm in for an Americano. Like, I think coffee does what you don't want it to happen on a run, you know? Yeah. But well, guys, this was awesome. I really appreciate you guys coming on. And for everyone out there, go read their book.
And I'm spacing on the actual title. You should hold it up and say the full title again. Yeah, Engineering Elixir applications, Yeah, there. You go. Go. Get your physical copies now. Yeah, and because you don't contact us if you have any doubts or you want to talk about anything, we'll just reach out. Yeah, if. You have any questions about anything? Yeah. Where can where can people find you? Because social media. I tried to find both of you but I think Ali doesn't. Exist on. Social media.
And I know I, I really thank people on. LinkedIn, yes. Yeah, you have Twitter, but we never already use it. Yeah. So yeah, probably LinkedIn. LinkedIn is the best. LinkedIn or through the website there is a there is a form to send us an e-mail we can. Perfect. I'll I'll share all those links in the show notes when I update them so everyone can find both of you. And yeah, I highly recommend this book. It's it's good. It's honestly it's, it's what, you know, your typical bootstrap startup Elixir developer needs
to like get their app in production. So I think it's awesome. Yeah. Thanks, I hope anyone that reads it enjoys it. So yeah. It's awesome. All right, guys, thank you so much and thank you everyone who tuned in. I don't know if X, so apparently on X we have 126 people watching, but I don't know those numbers are right. But yeah, All right, guys. Thank you. 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...