Erlang 大师班 - 并发和 OTP
Erlang Masterclass - Concurrency and the OTP
- 1. Introduction
- 1. Introduction
- 2. Exercises
- 3. Course materials
- 2. Introduction To Concurrency
- 1. Introduction to concurrency
- 2. Concurrency vs parallelism
- 3. Processes and threads
- 3. Communication
- 1. Lets start with a bang!
- 2. The concept of a mailbox
- 3. Spawning processes
- 4. Introduction to clients and servers
- 5. Let there be music - a simple clientserver example
- 6. Raising the volume and adding loop data
- 7. A night at the casino - estimating pi on a multicore CPU with random numbers
- 8. A night at the casino part two
- 4. Introduction to the OTP
- 1. Introduction to the OTP
- 2. Callbacks
- 3. The gen_server
- 4. Returning to the music server
- 5. The structure of an OTP application
- 6. Rebar3 the official unofficial build tool for Erlang
- 5. Crashing into an intermezzo
- 1. The concept of a supervision tree
- 2. Linking processes together
- 3. Exit signals
- 6. Returning to the OTP
- 1. What kind of children do you want (child specifications and supervisor flags)
- 2. Combining an application, a supervisor and a music server
- 3. A night at the restaurant one million guests, one million processes
- 7. Thank you!
- 1. Outro