bd2019us created FLINK-12187:
--------------------------------

             Summary: wrap FileWriter with BufferedWriter for better performance
                 Key: FLINK-12187
                 URL: https://issues.apache.org/jira/browse/FLINK-12187
             Project: Flink
          Issue Type: Bug
            Reporter: bd2019us


Location: 
src/main/java/org/apache/flink/examples/java/relational/util/WebLogDataGenerator.java

The FileWriter.write() method is invoked multiple times in loops, which is bad 
to the performance of program. The decorator class BufferedWriter can be used 
to alleviate the impact of frequent IO operation with caches. Therefore, when 
the write() method is intensively used, the BufferedWriter is highly 
recommended and should be preferred.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to