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

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.

主站蜘蛛池模板: 兴义市| 交口县| 翼城县| 精河县| 兴业县| 海安县| 福贡县| 海城市| 德保县| 且末县| 建瓯市| 浦北县| 景泰县| 林州市| 陆川县| 大埔区| 定南县| 邵东县| 喜德县| 疏附县| 五常市| 东阿县| 连州市| 平远县| 郁南县| 满城县| 西城区| 临泽县| 会同县| 鄂托克旗| 汉源县| 弋阳县| 黑龙江省| 龙泉市| 广灵县| 广西| 米脂县| 高要市| 罗田县| 江都市| 佛坪县|