- Hands-On Microservices with C#
- Matt R. Cole
- 70字
- 2021-07-23 17:25:21
Considerations when writing the subscribe callback delegate
As messages are received from queues subscribed to via EasyNetQ, they are placed on an in-memory queue. A single thread sits in a loop taking messages from the queue and calling their action delegates. Since the delegates are processed one at a time on a single thread, you should avoid long-running synchronous IO operations. Return control from the delegate as soon as possible.
推薦閱讀
- 自動控制工程設(shè)計入門
- Learning Apache Cassandra(Second Edition)
- ROS機器人編程與SLAM算法解析指南
- 機艙監(jiān)測與主機遙控
- Creo Parametric 1.0中文版從入門到精通
- 計算機網(wǎng)絡(luò)安全
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·工業(yè)機器人
- 基于Xilinx ISE的FPAG/CPLD設(shè)計與應(yīng)用
- Hadoop應(yīng)用開發(fā)基礎(chǔ)
- 格蠹匯編
- 在實戰(zhàn)中成長:C++開發(fā)之路
- 30天學(xué)通Java Web項目案例開發(fā)
- Hands-On Geospatial Analysis with R and QGIS
- 系統(tǒng)建模與控制導(dǎo)論
- 軟件需求十步走