Skip to content

Create a compressed BASE64 encoded version of the hyperscan database. #223

@apismensky

Description

@apismensky

We need to store a hyperscan database so that it can be easily serialized and sent as a part of the payload (json, xml etc).
Ideal solution would be to have it as BASE64 encoded and compressed from the stream, produced by Database's save method.
Compression can reduce DB size in average ~10 times, as we saw in some cases for our DBs, which can be critical for large databases.
Also a corresponding static method to read a serialized DB is needed (BASE64 encode and decompress)
PR: #224

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions