構建高性服務器應用的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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!