Skip to content

Is glaze good for network message serialization? #735

Answered by stephenberry
cian-dev10 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, Glaze is used by many for networking (including the company I work for). Sending JSON messages keeps things human readable and easy for other programs, languages, and clients to interface with. BEVE is a good deal faster than JSON (2X to 3X) and the messages will be smaller. But, BEVE is new and does not have wide support like JSON, so I would only recommend it if you are handling both the server and the client.

FYI, Glaze will be releasing a new RPC interface for JSON and BEVE soon. But, Glaze also supports JSON RPC 2.0 (see documentation).

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@cian-dev10
Comment options

@stephenberry
Comment options

Answer selected by cian-dev10
Comment options

You must be logged in to vote
2 replies
@stephenberry
Comment options

@cian-dev10
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants