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

Retrieve protein data in batches from database #48

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

pverscha
Copy link
Member

Right now, the Rust implementation of our API requests all proteins that are associated with a peptide from a MysQL database at once, which can go up to very high numbers. This PR changes that and requests all data in batches of 1000 proteins at a time, trying not to swamp the database server with massive queries.

PR provides a fix for #47

@pverscha pverscha marked this pull request as ready for review September 19, 2024 11:45
@pverscha pverscha merged commit 97d6385 into rust-implementation Sep 19, 2024
@pverscha pverscha deleted the fix/proteins_in_batches branch September 19, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant