Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk缓存文件信息 #72

Closed
yvxiang opened this issue Aug 16, 2015 · 2 comments
Closed

sdk缓存文件信息 #72

yvxiang opened this issue Aug 16, 2015 · 2 comments

Comments

@yvxiang
Copy link
Collaborator

yvxiang commented Aug 16, 2015

当前client每次打开文件时都需要向nameserver发送GetFileLocation请求,是否有必要做一个缓存,或者一次GetFileLocation时,将邻近文件的信息也发送回来?

@bluebore
Copy link
Collaborator

缓存需要做,但“临近”的文件,这个不好界定啊

@yvxiang
Copy link
Collaborator Author

yvxiang commented Nov 5, 2015

或者可以再额外添加一个第三方的缓存(如redis之类),来减轻nameserver的压力

@yvxiang yvxiang closed this as completed Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants