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

euphoria-flink: optimize sort #106

Open
horkyada opened this issue Apr 25, 2017 · 0 comments
Open

euphoria-flink: optimize sort #106

horkyada opened this issue Apr 25, 2017 · 0 comments

Comments

@horkyada
Copy link
Contributor

horkyada commented Apr 25, 2017

Sort consists of sorting elements by a composite key <Window, ExtractedObject>.
SortTranslator for flink executor relies on GenericTypeComparator for Window as well as for user defined extracted object which causes a huge performance overhead because of deserializing both objects on every compare.

  • we can define our custom TypeComparator for known windows, or just emit NormalizableKey instead of the window
  • however without knowing the extracted objects' type we are not able to tune the comparing of those objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants