- 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.
推薦閱讀
- Mastering Hadoop 3
- Spark編程基礎(chǔ)(Scala版)
- AWS:Security Best Practices on AWS
- 自動(dòng)控制原理
- 手把手教你學(xué)AutoCAD 2010
- 精通數(shù)據(jù)科學(xué)算法
- 信息物理系統(tǒng)(CPS)測(cè)試與評(píng)價(jià)技術(shù)
- 單片機(jī)技能與實(shí)訓(xùn)
- 電氣控制與PLC原理及應(yīng)用(歐姆龍機(jī)型)
- 在實(shí)戰(zhàn)中成長(zhǎng):C++開發(fā)之路
- 大數(shù)據(jù)案例精析
- 生成對(duì)抗網(wǎng)絡(luò)項(xiàng)目實(shí)戰(zhàn)
- C#求職寶典
- 未來學(xué)徒:讀懂人工智能飛馳時(shí)代
- 手把手教你學(xué)Flash CS3