The Do's and Don'ts of Error Handling • Joe Armstrong • GOTO 2018
Channel:GOTO Conferences · Length:45:31 · Published:2018-11-02 · Views:74324
Summary
Joe Armstrong, inventor of Erlang, gives a GOTO Chicago 2018 talk on building fault-tolerant systems. He covers what to do and avoid when handling errors, arguing for letting processes fail and recover.
Why HN recommends it
Recommended as a conceptual rather than code-heavy talk on failure recovery from Erlang's creator.
it's well worth listening to this talk, which is conceptual and not code-centric — HN, 2022
Functional programming · Distributed systems
Subtitles (excerpt)
[Music] okay so this talk is about error handling and how we build fault-tolerant systems and so what's a fault-tolerant system we'll have the thought tolerant justice system is fault tolerant if it carries on working even if things are wrong so might not do everything it's supposed to do but it won't just fall in a horrible heap on the floor and stop working okay and I've been doing this for quite a long time I was gonna say work like this is never finished it's always in progress they're always finding better ways to do this I've been doing it for about 35 years and let's don't think if we still see new ways of attacking the problem hardware can fail that is relatively uncommon Hardware attempts to be pretty reliable once it's once it's working it works quite often if it fails it fails catastrophically and you can't put it back into service software on the other hand fails an awful lot there's far more software errors and hardware failures so so if you're gonna build a fault-tolerant system you need to take account of software as rather than hardware errors and hardware errors you can you can more or less eliminate with replication you could just replicate the hardware several times and the chance is that once it's
On Hacker News
Also, if I may, recommend two videos to watch which is what got me into Elixir in the first place. 1. "The Soul of Elixir and Erlang" - [LINK] ; this fast-paced talk by Sasa Juric will highlight exactly what is special about Elixir/Erlang in terms of fault-tolerance and scalability 2. "Using the Beam to Fight COVID-19" - [LINK] ; this highlights a real-world use of Elixir and the speciality of ho… — frellus, 2022-12
Blockchains Are a Bad Idea (James Mickens) [LINK] I find almost all from GOTO 2018 very insightful. [LINK] esp ones listed below. GOTO 2018 • The Do's and Don'ts of Error Handling • Joe Armstrong [VIDEO] GOTO 2018 • Pragmatic Event-Driven Microservices • Allard Buijze [LINK] GOTO 2018 • Why Business Cases are Toxic • Chris Matts [LINK] GOTO 2018 • Unconditional Code • Michael Feathers [LINK] — raghava, 2018-12
Type checking, compile-time errors won't check if the program you wrote is correct, only that it's internally consistent. That is an entirely different thing than checking for correctness. You do need a layer of tests that actually try to prove that given some input your program actually does what it's supposed to do. That is hard to automate. Joe Armstrong(of the Erlang fame), talks about this a… — sidmitra, 2021-05
Related videos
- Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5 · Chris McCord · 17:55
- Unconditional Code • Michael Feathers • GOTO 2018 · GOTO Conferences · 44:18
- Blockchains Are a Bad Idea (James Mickens) · HBS Digital Initiative · 14:34
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Conway's Game Of Life in APL · Dyalog · 7:47
- Lecture 1A | MIT 6.001 Structure and Interpretation, 1986 · MIT OpenCourseWare · 1:12:55