jerqi opened a new issue, #736: URL: https://github.com/apache/incubator-uniffle/issues/736
### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [X] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and found no similar issues. ### What would you like to be improved? This parameter is configured by users currently. But it should be calculated by the (partition receive data speed / HDFS write speed). It's more flexible. ### How should we improve? Introduce a new configuration `rss.server.hdfs.speed`. We record the timestamp which the partition start to receive data. And then we record the timestamp which the partition start to flush data. We can use two timestamps to calcuate partition receive data speed. We use `(partition receive data speed / HDFS write speed)` to calculate how many threads which we need to write HDFS data. We use the number to create HDFS writer. ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
