Over a million developers have joined DZone.
Platinum Partner

Introducing BinaryJS: For Realtime Binary Streaming via WebSockets

· Performance Zone

The Performance Zone is presented by AppDynamics. Scalability and better performance are constant concerns for the developer and operations manager. Try AppDynamics' fully-featured performance tool for Java, .NET, PHP, & Node.js.

BinaryJS is a JavaScript library for bidrectional realtime binary data streaming with WebSockets.  BinaryJS is a lightweight framework that utilizes WebSockets to send, stream, and pipe binary data bidirectionally between browser JavaScript and Node.js.
  • BinaryPack serialization format is fast, binary, and JSON-type compatible. Data stays binary end to end
  • Automatically chunks large binary data buffers for streaming performance
  • Send multiple streams of data concurrently over multiplexed websocket connection
  • API implements Node.js read/write Streams. You can pipe any stream into BinaryJS streams (and vice-versa)
  • "pause," "resume," and "end" as in the Streams API

Requirements: None
Demohttps:/ / github. com/ binaryjs/ binaryjs/ tree/ master/ examples
License: MIT License

The Performance Zone is presented by AppDynamics. AppDynamics is a leader in the APM space with massive cost reductions for users.


Published at DZone with permission of Hirvesh Munogee , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}