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

Protocol and payload size in Pickling for Graphite #724

Open
scaleoutsean opened this issue Jul 26, 2021 · 0 comments
Open

Protocol and payload size in Pickling for Graphite #724

scaleoutsean opened this issue Jul 26, 2021 · 0 comments

Comments

@scaleoutsean
Copy link

The doc isn't clear on two details - can this info be added?

  • Protocol version we can use: in Graphite I see 2, in Python 3 or 4).
  • How to correctly determine object size - len(pickle.dumps(payload)), sys.getsizeof(payload) or something else? That seems to be missing. Number from the example seems to be coming from the second approach
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