keith-turner commented on issue #4124: URL: https://github.com/apache/accumulo/issues/4124#issuecomment-1907045405
Prototyped having another thread write in this [branch](https://github.com/keith-turner/accumulo/tree/accumulo-4124). Wrote this little [test program](https://github.com/keith-turner/accumulo/blob/accumulo-4124/core/src/test/java/org/apache/accumulo/core/client/rfile/Test.java) and when running it w/o thread seeing it take ~1300ms and with the separate write thread it takes ~760ms. Setting up the code to use a separate write thread was done via a manual code modification to the RFileWriter class to make it use the new ThreadedFileSKVWriter class. When it was using a seperate write thread ran top and noticed the java process was using 200% CPU. -- 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]
