tokio
0 人感兴趣 · 7 次引用
- 最新
- 推荐

文盘 Rust -- tokio 绑定 cpu 实践 | 京东云技术团队
tokio 是 rust 生态中流行的异步运行时框架。在实际生产中我们如果希望 tokio 应用程序与特定的 cpu core 绑定该怎么处理呢?这次我们来聊聊这个话题。

文盘 Rust -- 用 Tokio 实现简易任务池
Tokio 无疑是 Rust 世界中最优秀的异步Runtime实现。非阻塞的特性带来了优异的性能,但是在实际的开发中我们往往需要在某些情况下阻塞任务来实现某些功能。

如何在同步的 Rust 方法中调用异步代码 | Tokio 使用中的几点教训
在同步的 Rust 方法中调用异步代码经常会导致一些问题,特别是对于不熟悉异步 Rust runtime 底层原理的初学者。在本文中,我们将讨论我们遇到的一个特殊问题,并分享我们采取的解决方法的经验。