flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9675) Avoid FileInputStream/FileOutputStream
Date Thu, 19 Jul 2018 13:56:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549300#comment-16549300
] 

ASF GitHub Bot commented on FLINK-9675:
---------------------------------------

Github user hequn8128 commented on the issue:

    https://github.com/apache/flink/pull/6335
  
    @zhangminglei  It sounds great :-)


> Avoid FileInputStream/FileOutputStream
> --------------------------------------
>
>                 Key: FLINK-9675
>                 URL: https://issues.apache.org/jira/browse/FLINK-9675
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: zhangminglei
>            Priority: Minor
>              Labels: filesystem, pull-request-available
>
> They rely on finalizers (before Java 11), which create unnecessary GC load.
> The alternatives, Files.newInputStream, are as easy to use and don't have this issue.
> And here is a benchmark https://arnaudroger.github.io/blog/2017/03/20/faster-reader-inpustream-in-java.html



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

Mime
View raw message