---
title: "Discussion on \"Performance Analysis of JSON, Buffer / Custom Binary Protocol, Protobuf, and MessagePack for Websockets\" | Hashnode"
description: "Discussion on \"Performance Analysis of JSON, Buffer / Custom Binary Protocol, Protobuf, and MessagePack for Websockets\". Improving Websocket Efficiency with Data Serialization Techniques in JavaScript / Typescript with Bun.js"
url: "https://hashnode.com/posts/performance-analysis-of-json-buffer-custom-binary-protocol-protobuf-and-messagepack-for-websockets/67235245798f7b8b408082e5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Performance Analysis of JSON, Buffer / Custom Binary Protocol, Protobuf, and MessagePack for Websockets](https://hjkl11.hashnode.dev/performance-analysis-of-json-buffer-custom-binary-protocol-protobuf-and-messagepack-for-websockets?utm_source=hashnode&utm_medium=feed)

Improving Websocket Efficiency with Data Serialization Techniques in JavaScript / Typescript with Bun.js

Oct 31, 2024 · 5 min read · hjkl11.hashnode.dev  
Read the article

-   [#custom-binary-protocol](https://hashnode.com/tag/custom-binary-protocol)
-   [#websockets](https://hashnode.com/tag/websockets)
-   [#bun](https://hashnode.com/tag/bun)
-   [#benchmark](https://hashnode.com/tag/benchmark)
-   [#json](https://hashnode.com/tag/json)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#protobuf](https://hashnode.com/tag/protobuf)
-   [#messagepack](https://hashnode.com/tag/messagepack)
-   [#serialization](https://hashnode.com/tag/serialization)
-   [#deserialization](https://hashnode.com/tag/deserialization)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[hjkl](https://hashnode.com/@hjkl11)

@hjkl11

  
[View profile](https://hashnode.com/@hjkl11)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
