flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangminglei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-9675) Avoid FileInputStream/FileOutputStream
Date Thu, 09 Aug 2018 01:31:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

zhangminglei updated FLINK-9675:
--------------------------------
    Affects Version/s: 1.4.1
                       1.4.2
                       1.5.1

> Avoid FileInputStream/FileOutputStream
> --------------------------------------
>
>                 Key: FLINK-9675
>                 URL: https://issues.apache.org/jira/browse/FLINK-9675
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.4.1, 1.4.2, 1.5.1
>            Reporter: Ted Yu
>            Assignee: zhangminglei
>            Priority: Minor
>              Labels: filesystem, pull-request-available
>             Fix For: 1.7.0
>
>
> 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