6min chapter

Elixir Mix cover image

2022 Frameworks - EMx 196

Elixir Mix

CHAPTER

Live View vs Live View

Live view is great for like a loading page, very lightweight. If you're running a very simple HTML, yeah, go the regular controller route. Don't even use live view at all. Tailwind and alpha. I just don't see a reason to ever use anything else unless someone forced that on me. One thing to consider with live view is not relevant for 99% of these cases, but is scale with Web sockets always something you should keep in mind. We reached 60,000 concurrent users at one point and it started giving us troubles. The load on the server started exceeding and then hence load on the database started exceeding because of the nature of how live view works. Another thing

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