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

Ayush Saxena commented on HDFS-15096:
-------------------------------------

Tested locally, Sharing the profiler times, Well that logically it would be 
less, but still since I had, Sharing it :

Before :
 !Server-Before.PNG! 

After :

 !GetServerDefault-Cached.PNG! 

Will add comments as said latter today and raise a JIRA for using timeperiod 
instead millis

> RBF : GetServerDefaults Should be Cached At Router
> --------------------------------------------------
>
>                 Key: HDFS-15096
>                 URL: https://issues.apache.org/jira/browse/HDFS-15096
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: GetServerDefault-Cached.PNG, HDFS-15096-01.patch, 
> Server-Before.PNG
>
>
> Presently each getServerDefault calls are triggered to the Namespace, The 
> DFSClient caches the getServerDefaults(), similarly the Router can also cache 
> the getServerDefaults(), as router connects to multiple clients, this 
> improves performance for subsequent calls.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to