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

Bessenyei Balázs Donát commented on FLUME-3020:
-----------------------------------------------

[~ted.m]: I like your latest version!

Just one more thing: as per http://stackoverflow.com/a/9130560/5323166 , 
wouldn't it be better to make the evaluation (and caching) explicit? 
({quote}"which occurs the first time it is referenced in code" --- incorrect, 
implementation is free to decide when to load the class.{quote})

> 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
>            Assignee: Theodore michael Malaska
>         Attachments: flume-3020.patch, flume-3020.patch.2
>
>
> 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)

Reply via email to