5min chapter

Elixir Wizards cover image

Kate Rezentes on GenServers at Simplebet

Elixir Wizards

CHAPTER

Is There a Use Case for Gen Servers?

The most common use case that you see for somebody having to write their gen server is in a lickser application. The only time I've ever built one was for an application that needed to handle state for when the application went down and when it came back. That's kind of like an edge, not an edge case, but if you're trying to flow a lot of data through a gen server concurrently, that can kind of slow down your application. But yeah, I think owning an S table is how I've used it primarily.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode