官术网_书友最值得收藏!

Preface

Recent C# and .NET developments involve implicitly using asynchrony and concurrency, even when you are not aware of them. This can lead to further problems since many details are usually hidden inside the C# language infrastructure and the .NET base class library APIs. To avoid problems and to be able to create robust applications, a developer has to know exactly what is going on under the hood of asynchrony in .NET.

Besides this, it is important to understand your goals when writing a concurrent application. If it is running on the client, it is usually a good thing to use all the computational resources available so that the application becomes as fast as possible. This involves effective multiple CPU cores usage, and thus requires parallel programming skills. However, if the application is running on the server, it is more important that the server supports as many clients as possible, than the performance of a concrete client request processing. This requires a programmer to distinguish asynchrony from multithreading and have an understanding of scalability.

All these topics will be covered in this book, providing you with enough information to achieve a solid understanding of asynchronous and parallel programming in C#. We will start with basic multithreading concepts, review common concurrent programming problems and solutions, and then we will go through C# and .NET support for writing concurrent applications. Further in the book, we will cover concurrent data structures and patterns, and we will review client-side and server-side concurrency issues. At the end of the book, we will outline the basic principles for creating robust concurrent programs.

主站蜘蛛池模板: 库车县| 黄平县| 临漳县| 宁海县| 白玉县| 阜南县| 呼图壁县| 璧山县| 武川县| 曲靖市| 武川县| 巫溪县| 垫江县| 吉木萨尔县| 喀什市| 普兰店市| 平武县| 昌宁县| 蒙自县| 遂溪县| 成都市| 冷水江市| 清涧县| 习水县| 清水县| 南开区| 卓资县| 吉林市| 宣化县| 洛南县| 云梦县| 滁州市| 思茅市| 中方县| 班戈县| 防城港市| 达孜县| 许昌县| 莲花县| 枣强县| 重庆市|