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

Íñigo Goiri commented on HDFS-15096:
------------------------------------

* can we make the config use time period instead of Millis? Probably we should 
do that in a separate JIRA.
* I think we could have a unit test.
* can we add a comment where we do the caching to clarify why? 

> 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: HDFS-15096-01.patch
>
>
> 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