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

Ingest edgelists #1

Merged
merged 7 commits into from
Oct 10, 2020
Merged

Ingest edgelists #1

merged 7 commits into from
Oct 10, 2020

Conversation

j6k4m8
Copy link
Member

@j6k4m8 j6k4m8 commented Sep 15, 2020

No description provided.

@j6k4m8 j6k4m8 merged commit c0915d5 into master Oct 10, 2020
@j6k4m8 j6k4m8 deleted the ingest-edgelist branch October 10, 2020 18:48
with concurrent.futures.ThreadPoolExecutor(
_N_PARALLEL_REQUESTS
) as executor:
result_futures = list(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there some built in error handling with the ThreadPoolExecutor should the dynamo writes fail?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That there is not! I think I need to handle this at the iterator over result_futures, though really i feel like I'm still doing this so wrong... is there really no way to batch inserts faster than one-by-one?!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I think you do have to do one-by-one unless they added a new API call since I last worked with Dynamo (which may have been last year).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😭 Adding an issue for this!

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

Successfully merging this pull request may close these issues.

2 participants