Skip to content

binary format for persistent history messages #806

@slingamn

Description

@slingamn

A very large proportion of the size of a persistent history message is JSON bloat. As described here:

https://github.com/oragono/oragono/blob/cb356ecaf01b87daf1ed67edf5ea8f30bce02f7f/irc/mysql/serialization.go#L10

it is easy to add a binary format with a different magic number and then support retrieval of both formats.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions