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

全异步写 & 增量report #43

Closed
yvxiang opened this issue Jun 21, 2015 · 2 comments
Closed

全异步写 & 增量report #43

yvxiang opened this issue Jun 21, 2015 · 2 comments

Comments

@yvxiang
Copy link
Collaborator

yvxiang commented Jun 21, 2015

docs/README.md中提到chunkserver支持全异步写,请问一下这是什么意思?是DiskWrite()时用POSIX AIO吗?还是说在RPC时就把数据流和指令流分开?
还有增量report,这个之前提到过一次,是说对所有block进行分批report呢还是说只在block有变动时报告增量?

@bluebore
Copy link
Collaborator

前者我正在做,当前写流程中有很多是同步阻塞的,比如open block文件、将blockbuf写入磁盘,会造成很大的延迟,导致写吞吐无法达到理论值,我打算提供一种模式将整个写入流程做成无阻塞的,将单文件写入吞吐提升到100MB+
增量report打算是做成分批report。

@yvxiang
Copy link
Collaborator Author

yvxiang commented Jun 22, 2015

了解。
那我试着实现一下分批report

@yvxiang yvxiang closed this as completed Jul 1, 2015
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