Tags
Language
Tags
September 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5

Erlang Masterclass: Concurrency And The Otp

Posted By: ELK1nG
Erlang Masterclass: Concurrency And The Otp

Erlang Masterclass: Concurrency And The Otp
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 689.74 MB | Duration: 2h 31m

Master concurrency and the OTP

What you'll learn

Erlang

Parallell programming

Concurrency

OTP

Functional programming

BEAM

Design patterns

Clients and servers

Requirements

Basic skills navigating the shell (e.g bash or zsh)

Erlang fundamentals

Recursion

Description

You have probably heard about WhatsApp by now. And you might also have heard that it handles a fair amount of users each day. In fact, they managed to grow their user base to millons of users with an engineering team of only 32 persons using Erlang, before being acquired by Facebook. But WhatsApp is not the only success story. You would be surprised if you knew how many of the things you take for granted in your daily life are in fact powered by Erlang. It all started with the telecom business, but Erlang has since then gained popularity in many areas, including fintech, IoT, Healthcare and gaming. Just to name a few! There are two main paradigms of the Erlang language. The functional paradigm, and the concurrent paradigm. In this course, we will put our focus on the concurrent part of Erlang. Not only will we talk about concurrency, parallelism and design patterns. We will also talk about the OTP, supervisors, and how we can make our programs truly fault tolerant.If you are new to the language, I suggest you start with my other course, which will lay the foundation for this one, and provide you with all the tools you need.So, if any of this sounds interesting to you, give it a try and tell me what you think.

Overview

Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Exercises

Lecture 3 Course materials

Section 2: Introduction To Concurrency

Lecture 4 Introduction to concurrency

Lecture 5 Concurrency vs parallelism

Lecture 6 Processes and threads

Lecture 7 Exercises

Section 3: Communication

Lecture 8 Lets start with a bang!

Lecture 9 The concept of a mailbox

Lecture 10 Spawning processes

Lecture 11 Introduction to clients and servers

Lecture 12 Let there be music - a simple client/server example

Lecture 13 Raising the volume and adding loop data

Lecture 14 A night at the casino - estimating pi on a multicore CPU with random numbers

Lecture 15 A night at the casino part two

Lecture 16 Exercises: Let there be music!

Section 4: Introduction to the OTP

Lecture 17 Introduction to the OTP

Lecture 18 Callbacks

Lecture 19 The gen_server

Lecture 20 Returning to the music server

Lecture 21 The structure of an OTP application

Lecture 22 Rebar3: the official unofficial build tool for Erlang

Section 5: Crashing into an intermezzo

Lecture 23 The concept of a supervision tree

Lecture 24 Linking processes together

Lecture 25 Exit signals

Lecture 26 Exercise: Music non stop

Section 6: Returning to the OTP

Lecture 27 What kind of children do you want? (child specifications and supervisor flags)

Lecture 28 Combining an application, a supervisor and a music server

Lecture 29 A night at the restaurant: one million guests, one million processes

Section 7: Thank you!

Lecture 30 Outro

Programmers with basic Erlang knowledge ready to step up,Programmers learning about concurrency and parallelism,Programmers learning about client/server behaviors