omgneering

omgneering

I made the next video in the OTP series to help get started with Supervisor methods and syntax. The video goes over the init methods like worker and supervise and explains supervision strategies and restart options.

Showing Posts 13 to 4

satb

satb

@jwarlander - Wish someone translates this to Elixir for many folks getting started :wink:

jwarlander

jwarlander

For me, the hardest part about OTP is not the syntax (how to use it), but understanding why and more importantly when to use it.

When you feel ready to really go down the rabbit hole, Designing for Scalability with Erlang/OTP thoroughly explains the how and why of OTP behaviours, how Erlang messaging / distribution works, and plenty of other things that are useful when building “distributed, fault-tolerant, scalable, soft real-time, and highly available” systems.

It’s an awesome book, but does require that you learn to read some Erlang if you want to follow along with the examples.

davearonson

davearonson

Thanks! Good stuff there. Quibble: the audio level is a bit inconsistent…

omgneering

omgneering OP

This is the entire play list so far: Elixir OTP

It’s three videos covering GenServer basics, callbacks syntax and this supervisor video.

davearonson

davearonson

For those of us who tuned in late, can you please link to the older ones that “next” implies already exist? Thanks!

omgneering

omgneering OP

My plan is cover process registration in a similar format first. After that I want to go over creating an entire elixir application with a supervision tree a few layers deep. Sticking with package delivery is not a bad idea!

omgneering

omgneering OP

That’s great to hear. Thank you!

zimt28

zimt28

Just watched your videos and they’re great! Please keep making them :+1:

For me, the hardest part about OTP is not the syntax (how to use it), but understanding why and more importantly when to use it. So I really liked the package delivery example, as it helped me understand how everything works. Maybe you could go back to that example in a future video and show how it would be done correctly? Or maybe also show some other use cases for GenServers or even what a full supervision structure could look like?

Thanks again :blush:

omgneering

omgneering OP

Thats awesome! Thank you

brightball

brightball

Good work on these. I like the style of the videos as it walks through exactly what I would do if I were experimenting with these to better understand them myself.

Where Next? Top

Trending in Screencasts Top

Potions
Sooner or later you’ll need to run a one-off or recurring task on a deployed app, and if you deploy with releases the usual answer, a Mix...
New
ElixirCasts
Plotto is a 100% Elixir charting library with no NIFs or external dependencies. In this episode, we’ll use it to add interactive SVG char...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews