maobaolong opened a new issue, #2222: URL: https://github.com/apache/incubator-uniffle/issues/2222
### 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. ### Describe the feature Abstract a LocalFileWriterFactory responsible for create variety of implementation for LocalFileWriter. And create a `LocalFileNioWriter` implementation which use nio direct byte buffer write to file channel directly without any byte array create and copy. ### Motivation Avoid a huge number/size of objects created by LocalFileWriter <img width="2294" alt="企业微信截图_e937475c-1294-4782-a0f0-1f62081d67e9" src="https://github.com/user-attachments/assets/8a42327a-eece-4b44-ad60-14c0dfa30c33"> <img width="2283" alt="企业微信截图_c9f4d29b-b779-42b2-8203-6b73d65e04e9" src="https://github.com/user-attachments/assets/329eceb2-593b-4b9b-9abf-8ae3056b1438"> ### Describe the solution _No response_ ### Additional context _No response_ ### Are you willing to submit PR? - [X] 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
