搜索

pdf文档 deploying the networking TS

892.77 KB 44 页 0 下载 56 浏览 0 评论 0 收藏
所属分类: 后端开发 / C++
语言 格式 评分
英语
.pdf
3
摘要
The document discusses the deployment of the Networking TS and focuses on the handling of asynchronous operations. It highlights that if an asynchronous operation completes immediately within the thread of execution, the completion handler must be submitted for execution. However, this requirement can be waived for injected initiating functions to avoid performance degradation. The document references NetTS §13.2.7.12, emphasizing that enforcing such requirements unnecessarily can leave performance on the table.
AI总结
### 文档总结 1. **服务部署与连接状态** - 网络服务在 `0.0.0.0:11653` 端口启动,运行日志显示服务已成功启动并监听连接。 - 于 `2021-10-06T04:01:26.490694105Z` 接收到来自 `10.244.0.119:42972` 的连接请求,并建立连接。 - 客户端发送了一个版本为 `v1` 的请求,随后完成数据传输(传输大小为 `1184 bytes`),但由于读取失败,连接在 `04:01:26.871665987Z` 断开。 2. **异步操作与注入操作** - 文档讨论了异步操作的完成机制,特别是当异步操作在调用线程中立即完成时,要求将完成句柄提交执行以避免阻塞调用方的前向进展。 - 然而,对于注入的异步操作(即由外部注入的异步操作),该要求可能不适用,因为强制执行可能会导致性能损失。因此,可以放宽该要求以优化性能。 ### 核心观点 - 服务运行状态和连接管理清晰可见,但因读取失败导致连接中断。 - 异步操作的完成机制需根据具体场景灵活处理,以平衡性能和规范要求。
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 32 页请下载阅读 -
文档评分
请文明评论,理性发言.