Mastering Elixir
Runningconcurrent,fault-tolerantapplicationsthatscaleisaverydemandingresponsibility.AfterlearningtheabstractionsthatElixirgivesus,developersareabletobuildsuchapplicationswithinconceivableloweffort.ThereisabiggapbetweenplayingaroundwithElixirandrunningitinproduction,servingliverequests.ThisbookwillhelpyoufllthisgapbygoingintodetailonseveralaspectsofhowElixirworksandshowingconcreteexamplesofhowtoapplytheconceptslearnedtoafullyfledgedapplication.Inthisbook,youwilllearnhowtobuildarock-solidapplication,beginningbyusingMixtocreateanewproject.ThenyouwilllearnhowtheuseofErlang'sOTP,alongwiththeElixirabstractionsthatrunontopofit(suchasGenServerandGenStage),thatallowyoutobuildapplicationsthatareeasytoparallelizeanddistribute.Youwillalsomastersupervisors(andsupervisiontrees),andcomprehendhowtheyarethebasisforbuildingfault-tolerantapplications.ThenyouwillusePhoenixtocreateawebinterfaceforyourapplication.Uponfnishingimplementation,youwilllearnhowtotakeyourapplicationtothecloud,usingKubernetestoautomaticallydeploy,scale,andmanageit.Last,butnotleast,youwillkeepyourpeaceofmindbylearninghowtothoroughlytestandthenmonitoryourapplication.
·14.7萬字