-
Notifications
You must be signed in to change notification settings - Fork 26
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
Histogram is not Serializable #54
Comments
Ok, I see Histograms support a toJSON method. That's good enough |
Actually, the toJSON methods are not enough - there isnt a fromJSON to convert back... What would be the best course to implement SerDe for Histograms? |
+1 on this, I'd like to be able to run an experiment once and distribute the results for analysis. |
I had to do this manually, it wasn't that hard actually (just store the Bins and reset them afterwards) for a simple usecase where I'm using simple targets. For more involved use cases it would really be helpful to just have serialization support. |
If you're using Clojure, the I have some other tasks to get out of the way, but I'll look into supporting Java serialization soon... probably in a week or so. |
My english is not very good.Maybe I missed some important information.I am cofused about why the histogram looks more like line chart. Can you explain it to me? thx |
When trying to serialize a Histogram I get a NotSerializableException. This seems like a pretty simple object, serialization should be a trivial matter.
Since these Histograms serve to summarize pretty huge datasets, it's an important feature to serialize them for re-use after a service restart.
Thank you
The text was updated successfully, but these errors were encountered: