uWebSockets 0.9.0 发布了,包括性能提升和bug修复。uWebSockets,是一款高度可拓展的最轻量级、效率最高的WebSocket服务器库之一。它具有易于使用的,完全异步面向对象的接口和与其他竞品对比扩展到数百万连接只使用一小部分内存的特点。详细更新如下。
更新内容:
性能优化:
-
Swapping from Buffer to ArrayBuffer/Uint8Array leads to dramatically better throughput when dealing with binary data.
-
Minimizes arguments wrapped and passed to message callback improves throughput a ton.
-
Greatly improved UTF-8 validation performance, meaning faster text messages.
修复:
-
Documents incompatibilities with
ws
. -
Meson build system. @agauniyal
-
Better Windows error messages. @silverwind
-
server.close() now closes the http.Server. @FlorianBELLAZOUZ
-
getAddress() fails by returning an empty address. @nagalun
发行说明:
下载地址: