A multi-user video game, website, cloud program, or networked database could have hundreds of thousands of clients all interacting while. you wish a robust, industrial-strength instrument to address the fairly demanding difficulties inherent in parallel, concurrent environments. you wish Erlang. during this moment variation of the bestselling Programming Erlang, you will methods to write parallel courses that scale easily on multicore systems.
Using Erlang, you will be stunned at how effortless it turns into to accommodate parallel difficulties, and what kind of swifter and extra successfully your courses run. that is simply because Erlang makes use of sets of parallel processes-not a unmarried sequential strategy, as present in such a lot programming languages.
Joe Armstrong, author of Erlang, introduces this strong language in small steps, supplying you with a whole evaluate of Erlang and the way to take advantage of it in universal eventualities. you will commence with sequential programming, circulate to parallel programming and dealing with error in parallel courses, and learn how to paintings expectantly with allotted programming and the traditional Erlang/Open Telecom Platform (OTP) frameworks.
You desire no earlier wisdom of useful or parallel programming. The chapters are jam-packed with hands-on, real-world instructional examples and insider advice and recommendation, and end with workouts for either starting and complicated users.
The moment version has been largely rewritten. New to this version are seven chapters overlaying the most recent Erlang positive aspects: maps, the kind process and the Dialyzer, WebSockets, programming idioms, and a brand new stand-alone execution surroundings. you are going to write courses that dynamically realize and proper blunders, and that may be upgraded with out preventing the approach. there is additionally insurance of rebar (the de facto Erlang construct system), and knowledge on find out how to proportion and use Erlang initiatives on github, illustrated with examples from cowboy and bitcask.
Erlang will swap your view of the area, and of ways you program.
What You Need
The Erlang/OTP procedure. obtain it from erlang.org.