uWebSockets v18.5.0 Release Notes

Release Date: 2020-06-22 // almost 4 years ago
  • ๐Ÿ‘ Dedicated pub/sub compression support

    ๐Ÿ‘ Pub/sub now supports the use of dedicated compressors, not only the shared one. We've supported dedicated compressors for regular WebSocket::send calls a long time, but now WebSocket::publish will provide the same compression ratios.

    ๐Ÿ‘ A "dedicated" compressor is one with a sliding window, per-socket. This compressor provides better compression for small, mostly-repeated messages in exchange for per-socket memory usage.

    A recommended dedicated compressor is the DEDICATED_COMPRESOR_3KB as it uses only 3KB per socket.