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

Auto-adjust chunk size when gRPC message size is too small #74

Open
EnricoMi opened this issue Nov 18, 2020 · 0 comments
Open

Auto-adjust chunk size when gRPC message size is too small #74

EnricoMi opened this issue Nov 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@EnricoMi
Copy link
Collaborator

The response from Dgraph mighht exceed the gRPC maximum message size. Due to skewed data, some partitions might see larger results than others. When a gRPC exception occurs indicating the message is too large, then this partition reader could reduce the chunk size for this partition and retry. This way we add resiliency and avoid that a Spark job dies half way.

@EnricoMi EnricoMi added the enhancement New feature or request label Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant