构建高性服务器应用的C++框架:Seastar
Seastar是一个高级,开源的C++框架用于构建在现代硬件上构建高性能的服务器应用。利用Seastar开发的应用可以运行在Linux 或 OSv 之上。
SeaStar是一个事件驱动的框架,能够让你用一种相对简单的方式来编写非阻塞,异步的代码。Seastar is the first framework to bring together a set of extreme architectural innovations, including:
- Shared-nothing design: Seastar uses a shared-nothing model that shards all requests onto individual cores.
- High-performance networking: Seastar offers a choice of network stack, including conventional Linux networking for ease of development, DPDK for fast user-space networking on Linux, and native networking on OSv.
- Futures and promises: an advanced new model for concurrent applications that offers C++ programmers both high performance and the ability to create comprehensible, testable high-quality code.
- Message passing: a design for sharing information between CPU cores without time-consuming locking.
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!