flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theodore michael Malaska (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLUME-3020) Improve HDFSEventSink Escape Ingestion by more then 10x by not getting InetAddress on every record
Date Tue, 01 Nov 2016 14:41:58 GMT

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

Theodore michael Malaska updated FLUME-3020:
--------------------------------------------
    Attachment: flume-3020.patch

Cache the local host in a static variable.  We can do this because there is zero chance the
local host will change for a life of a JVM.



> Improve HDFSEventSink Escape Ingestion by more then 10x by not getting InetAddress on
every record
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-3020
>                 URL: https://issues.apache.org/jira/browse/FLUME-3020
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Theodore michael Malaska
>         Attachments: flume-3020.patch
>
>
> If you are use escaping the current code will call InetAddress on every record.  Which
will result is a huge impact to performance.
> TotalTime,8403,
> totalEventTakeTime,1498,
> totalWriteTime,1981,
> totalWriterSetupTime,65,
> commitTime,201,
> flushTime,18,
> startTrans,7,
> The rest is all InetAddress



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message