Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 391 Bytes

increase-ws-performance.md

File metadata and controls

9 lines (6 loc) · 391 Bytes

How to increase WebSocket performance

There are 2 optional modules that provide a performance boost.

  • npm install --save-optional bufferutil: efficiently performs operations (masking, unmasking) on the data payload
  • npm install --save-optional utf-8-validate efficiently check if a message contains valid UTF-8

References: