---
title: "Discussion on \"Custom binary protocol vs JSON, with a Python benchmark\" | Hashnode"
description: "Discussion on \"Custom binary protocol vs JSON, with a Python benchmark\". JSON vs a custom binary protocol for a game server: 301 vs 75 bytes per player. Size, compression and speed, plus MessagePack, in a Python benchmark."
url: "https://hashnode.com/posts/custom-binary-protocol-vs-json-with-a-python-benchmark/6b081298f885a95eff0eaa8c"
---

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

Discussion

# [Custom binary protocol vs JSON, with a Python benchmark](https://hassanrants.hashnode.dev/custom-binary-protocol-vs-json-with-a-python-benchmark?utm_source=hashnode&utm_medium=feed)

JSON vs a custom binary protocol for a game server: 301 vs 75 bytes per player. Size, compression and speed, plus MessagePack, in a Python benchmark.

6h ago · 15 min read · hassanrants.hashnode.dev  
Read the article

-   [#backend](https://hashnode.com/tag/backend)
-   [#python](https://hashnode.com/tag/python)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Hassan Aziz](https://hashnode.com/@hassandevelopment)

@hassandevelopment · Rawalpindi, Punjab, Pakistan

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

AI-native developer and entrepreneur

I'm a freelance AI consultant, YouTuber, entrepreneur, and gym freak, all in one. On this blog, you'll mostly find me talking about AI, softwaredev, and technology. Enjoy.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
