- eBook:Designing Elixir Systems With OTP: Write Highly Scalable, Self-healing Software with Layers
- Author:II James Edward Gray, Bruce A. Tate
- Edition:1 edition
Designing Elixir Systems With OTP: Write Highly Scalable, Self-healing Software with Layers by II James Edward Gray, Bruce A. Tate
Elixir is gaining mindshare as the programming language you can use to keep you software running forever, even in the face of unexpected errors and an ever growing need to use more processors. This power comes from an effective programming language, an excellent foundation for concurrency and its inheritance of a battle-tested framework called the OTP.
If you're using frameworks like Phoenix or Nerves, you're already experiencing the features that make Elixir an excellent language for today's demands. This book shows you how to go beyond simple programming to designing, and that means building the right layers. Embrace those data structures that work best in functional programs and use them to build functions that perform and compose well, layer by layer, across processes. Test your code at the right place using the right techniques. Layer your code into pieces that are easy to understand and heal themselves when errors strike.
Of all Elixir's boons, the most important one is that it guides us to design our programs in a way to most benefit from the architecture that they run on. The experts do it and now you can learn to design programs that do the same.
Part I. Do Fun Things...
2. Know Your Elixir Datatypes
3. Start with the Right Data Layer
4. Build a Functional Core
5. Test Your Core
Part II. ...with Big, Loud Worker-Bees
6. Isolate Process Machinery in a Boundary
7. Customize Your Lifecycle
8. Summon Your Workers
9. Assemble Your Components
10. Test the Boundary