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

[Feature] Implement parallel input process #247

Open
Radeity opened this issue May 25, 2023 · 0 comments
Open

[Feature] Implement parallel input process #247

Radeity opened this issue May 25, 2023 · 0 comments
Labels
feature New feature

Comments

@Radeity
Copy link
Member

Radeity commented May 25, 2023

Feature Description (功能描述)

When we buffer write receiver's partition file to vertexFile and edgeFile maintained by FileGraphPartition. We can implement parallel write.

public WorkerStat input() {
WorkerStat workerStat = new WorkerStat();
this.recvManager.waitReceivedAllMessages();
Map<Integer, PeekableIterator<KvEntry>> vertices =
this.recvManager.vertexPartitions();
Map<Integer, PeekableIterator<KvEntry>> edges =
this.recvManager.edgePartitions();
// TODO: parallel input process
for (Map.Entry<Integer, PeekableIterator<KvEntry>> entry :
vertices.entrySet()) {
int partition = entry.getKey();

@Radeity Radeity added the feature New feature label May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant