Gen_server is a great way to create simple servers without having to write a lot of code at all. Here’s a brief overview to get you started. For some reason, figuring out how the gen_server behavior works in erlang was kind of a pain for me. I think it’s because I can’t just implement something, I need to know why it works. Well, now I know. So, lets get started. Gen_server is built into erlang.