More On Multiprocessing | Learn You Some Erlang for Great Good!
Additional concepts about multiprocessing in Erlang. Includes examples on how to keep state, avoid locks with timeouts and how to handle selective receives.
More On Multiprocessing | Learn You Some Erlang for Great Good! Learn you some Erlang for great good! Home FAQ RSS Code More On Multiprocessing State Your State The examples shown in the previous chapter were all right for demonstrative purposes, but you won't go far with only that in your toolkit. It's not that the examples were bad, it's mostly that there is not a huge advantage to processes and actors if they're just functions with messages. To fix this, we have to be able to hold state in a process. Let's first create a function in a new kitchen.erl module that will let a process act like
saved by
related reading
- The Hitchhiker's Guide to Concurrency | Learn You Some Erlang for Great Good!learnyousomeerlang.com
- Designing a Concurrent Application | Learn You Some Erlang for Great Good!learnyousomeerlang.com
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- Elixir, A Little Beyond The Basics - Part 6: processesopenmymind.net
- A half-hour to learn Rustfasterthanli.me
- Understanding actor concurrency, Part 1: Actors in Erlang | InfoWorldinfoworld.com
- The "Basics" | Putting the "You" in CPUcpu.land
- Queues Don't Fix Overloadferd.ca
- Inter-process communication in Linux: Shared storage | Opensource.comopensource.com
- Get better at programming by learning how things workjvns.ca
- A practical introduction to functional programmingmaryrosecook.com
- Understanding and expressing scalable concurrencyaturon.github.io