- C# 7 and .NET Core 2.0 High Performance
- Ovais Mehboob Ahmed Khan
- 92字
- 2021-08-27 18:47:15
Multithreading in .NET Core
There are many benefits in using multithreading in CPU and/or I/O-bound applications. It is often used for long-running processes that have a longer or infinite lifetime, working as background tasks, keeping the main thread available in order to manage or handle user requests. However, unnecessary use may completely degrade the application's performance. There are cases where creating too many threads is not a good architecture practice.
Here are some examples where multithreading is a good fit:
- I/O operations
- Running long-running background tasks
- Database operations
- Communicating over a network
推薦閱讀
- 公有云容器化指南:騰訊云TKE實戰與應用
- PyTorch深度學習實戰:從新手小白到數據科學家
- 算法競賽入門經典:習題與解答
- Google Visualization API Essentials
- 工業大數據分析算法實戰
- Hadoop大數據實戰權威指南(第2版)
- 大數據時代下的智能轉型進程精選(套裝共10冊)
- 數據庫原理與應用(Oracle版)
- 信息學競賽寶典:數據結構基礎
- 辦公應用與計算思維案例教程
- INSTANT Android Fragmentation Management How-to
- Python 3爬蟲、數據清洗與可視化實戰
- Scratch 2.0 Game Development HOTSHOT
- Kubernetes快速進階與實戰
- Oracle 內核技術揭密