Concurrent Patterns and Best Practices
Selectingthecorrectconcurrencyarchitecturehasasignificantimpactonthedesignandperformanceofyourapplications.Thisbookexplainshowtoleveragethedifferentcharacteristicsofparallelarchitecturetomakeyourcodefasterandmoreefficient.Tostartwith,you'llunderstandthebasicconcurrencyconceptsandexplorepatternsaroundexplicitlocking,lockfreeprogramming,futures&actors.Then,you'llgetinsightsintodifferentconcurrencymodelsandparallelalgorithmsandputthemtopracticeindifferentscenariostorealizeyourapplication'struepotential.We'lltakeyouthroughmultithreadingdesignpatterns,suchasmaster,slave,leader,follower,map-reduce,andmonitor,alsohelpingyoutolearnhands-oncodingusingthesepatterns.Onceyou'vegraspedallofthis,you'llmoveontosolvingproblemsusingsynchronizerpatterns.You'lldiscovertherationaleforthesepatternsindistributed¶llelapplications,followedbystudyinghowfuturecomposition,immutabilityandthemonadicflowhelpcreatemorerobustcode.Towardtheendofthebook,you'lllearnabouttheactorparadigmandactorpatterns-themessagepassingconcurrencyparadigm.
·4.4萬字