- 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.
推薦閱讀
- Java編程全能詞典
- 走入IBM小型機(jī)世界
- Getting Started with Containerization
- 機(jī)艙監(jiān)測(cè)與主機(jī)遙控
- Mastering Elastic Stack
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)實(shí)訓(xùn)
- Learn CloudFormation
- 空間站多臂機(jī)器人運(yùn)動(dòng)控制研究
- 計(jì)算機(jī)與信息技術(shù)基礎(chǔ)上機(jī)指導(dǎo)
- 從零開始學(xué)SQL Server
- INSTANT Munin Plugin Starter
- Spatial Analytics with ArcGIS
- Ansible 2 Cloud Automation Cookbook
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)訓(xùn)(職業(yè)模塊)
- Machine Learning with Spark(Second Edition)