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

Investigate performance implications of using Java serialization for genotypes #55

Open
heuermh opened this issue Oct 24, 2018 · 1 comment

Comments

@heuermh
Copy link
Contributor

heuermh commented Oct 24, 2018

Pull request #52 uses JavaSerializer for htsjdk.variant.variantcontext.LazyGenotypesContext to workaround issues with serializing transient fields.

Java binary serialization is demonstratively worse than Kryo, in both read/write speed and size in memory, so we should follow up with an investigation of how much this matters for performance in Disq for genotypes. Other options might include: modify LazyGenotypesContext so that it can be serialized by Kryo, write a custom Kryo serializer for LazyGenotypesContext, etc.

@heuermh
Copy link
Contributor Author

heuermh commented Feb 23, 2021

Worth revisiting this to see if still an issue with the latest htsjdk.

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