Mastering Concurrency in Python
Pythonisoneofthemostpopularprogramminglanguages,withnumerouslibrariesandframeworksthatfacilitatehigh-performancecomputing.ConcurrencyandparallelisminPythonareessentialwhenitcomestomultiprocessingandmultithreading;theybehavedifferently,buttheircommonaimistoreducetheexecutiontime.Thisbookservesasacomprehensiveintroductiontovariousadvancedconceptsinconcurrentengineeringandprogramming.MasteringConcurrencyinPythonstartsbyintroducingtheconceptsandprinciplesinconcurrency,rightfromAmdahl'sLawtomultithreadingprogramming,followedbyelucidatingmultiprocessingprogramming,webscraping,andasynchronousI/O,togetherwithcommonproblemsthatengineersandprogrammersfaceinconcurrentprogramming.Next,thebookcoversanumberofadvancedconceptsinPythonconcurrencyandhowtheyinteractwiththePythonecosystem,includingtheGlobalInterpreterLock(GIL).Finally,you'lllearnhowtosolvereal-worldconcurrencyproblemsthroughexamples.Bytheendofthebook,youwillhavegainedextensivetheoreticalknowledgeofconcurrencyandthewaysinwhichconcurrencyissupportedbythePythonlanguage
·10.6万字