Stalwart团队发布了v1.0版本,这是这款基于Rust语言开发的完整邮件与协作服务器的首个稳定版 1。该项目起源于mail-parser库,新版本重点致力于极致的性能优化和数据稳定性,因其在各项基准测试中表现卓越而被冠以“地球上最快的邮件服务器”之称 1。在与传统主流软件Postfix 3.11和Dovecot 2.4的对比测试中,Stalwart在38项主要指标中有35项胜出 1。
这一显著的性能提升主要得益于通过SIMD和SWAR技术重写的核心解析器 1。数据显示,其内置的mail-parser组件解析速度比Dovecot解析器快9倍,相比libEtPan!等工具则快15至31倍 1。在具体吞吐量方面,Stalwart的SMTP入站消息处理速度达到每秒5,445封,约为Postfix(723/s)的7.5倍;同时,IMAP登录耗时从28毫秒降低至5.1毫秒 1。除了核心重构,v1.0还引入了多项新功能与改进,包括对PDF、Office等附件内容的全文搜索支持,以及后量子DKIM2支持 1。为了保障数据稳定性,集群部署现在强制要求使用Redis作为内存存储后端,并提供了stalwart-migrate工具以实现平滑的数据迁移 1。
The Stalwart Team has released version 1.0 of Stalwart, a mail and collaboration server written in Rust 1. This marks the first stable release of the software, which originated from the mail-parser library 1. The project claims to be "the fastest mail server on the planet," citing performance optimizations that allow it to exceed Postfix and Dovecot in various benchmarks 1.
Performance improvements are achieved through rewriting the core parser using SIMD and SWAR technologies 1. According to the release notes, mail-parser is now nine times faster than Dovecot’s parser and between 15 to 31 times faster than alternatives such as libEtPan! 1. In comparative tests against Postfix 3.11 and Dovecot 2.4, Stalwart outperformed its competitors in 35 out of 38 major comparisons 1. Specific metrics show an SMTP throughput of 5,445 inbound messages per second, which is approximately 7.5 times higher than Postfix's rate of 723 messages per second 1. Additionally, IMAP login latency was reduced from 28 milliseconds to 5.1 milliseconds 1.
Version 1.0 also introduces new features focused on stability and security 1. The release includes full-text search capabilities for attachment contents in formats such as PDFs and Office documents 1. It adds support for post-quantum DKIM2 to enhance cryptographic standards 1. For data management, the update provides the stalwart-migrate tool to facilitate smooth migration processes 1. Furthermore, the architecture for clustered deployments has been updated to require Redis as the memory storage backend 1.
评论
还没有评论,欢迎留下第一条。