构建高性服务器应用的C++框架:Seastar

jopen 9年前

Seastar是一个高级,开源的C++框架用于构建在现代硬件上构建高性能的服务器应用。利用Seastar开发的应用可以运行在LinuxOSv 之上。

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.


项目主页:http://www.open-open.com/lib/view/home/1430106605724