- C# 7 and .NET Core 2.0 High Performance
- Ovais Mehboob Ahmed Khan
- 209字
- 2021-08-27 18:47:15
Multithreading and Asynchronous Programming in .NET Core
Multithreading and asynchronous programming are two essential techniques that facilitate the development of highly scalable and performant applications. If the application is not responsive, it affects the user experience and increases the level of dissatisfaction. On the other hand, it also increases the resource usage on the server side, or where the application is running, and also increases the memory size and/or CPU usage. Nowadays, hardware is very cheap, and every machine comes with multiple CPU cores. Implementing multithreading and using asynchronous programming techniques not only increases the performance of the application, but also makes the application more responsive in nature.
This chapter examines the core concepts of multithreading and the asynchronous programming model to help you use them in your projects and increase the overall performance of your applications.
The following is a list of the topics that we will learn about in this chapter:
- Multithreading versus asynchronous programming
- Multithreading in .NET Core
- Threads in .NET Core
- Thread synchronization
- Task parallel library (TPL)
- Creating a task using TPL
- Task-based asynchronous pattern
- Design patterns for parallel programming
- Building Computer Vision Projects with OpenCV 4 and C++
- Python絕技:運用Python成為頂級數(shù)據(jù)工程師
- Access 2016數(shù)據(jù)庫教程(微課版·第2版)
- 使用GitOps實現(xiàn)Kubernetes的持續(xù)部署:模式、流程及工具
- 揭秘云計算與大數(shù)據(jù)
- 商業(yè)分析思維與實踐:用數(shù)據(jù)分析解決商業(yè)問題
- 城市計算
- 數(shù)字媒體交互設(shè)計(初級):Web產(chǎn)品交互設(shè)計方法與案例
- Flutter Projects
- Hadoop 3實戰(zhàn)指南
- Python數(shù)據(jù)分析從小白到專家
- Access數(shù)據(jù)庫開發(fā)從入門到精通
- Scratch 2.0 Game Development HOTSHOT
- 區(qū)塊鏈應(yīng)用開發(fā)指南:業(yè)務(wù)場景剖析與實戰(zhàn)
- Kubernetes快速進(jìn)階與實戰(zhàn)