Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
apismensky opened this issue Feb 8, 2024 · 1 comment
Open

Comments

@apismensky
Copy link

apismensky commented Feb 8, 2024

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

@apismensky
Copy link
Author

@gliwka - please take a look and let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant