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

Upgrade the DB client to support batching of PSQL queries #18

Merged
merged 19 commits into from
May 26, 2023

Conversation

cortze
Copy link
Owner

@cortze cortze commented May 26, 2023

Task descriptions

This PR includes

  • Upgrades on the DB client to support batching of queries (significantly improves the performance of writing to the DB)
  • Adds Dockerfile to support faster deployments and testing
  • Removes the HTTP API to communicate with a remote OP publisher. Why?
    1. OP is part of the KAD-DHT now - so there is no need to update it
    2. as OP will be part of the DHT, the hoarder will support an OP publisher in the future (probably on the next PR)
    3. It increased the complexity of the publisher when it is essentially pretty simple
  • Updates logic of the Hoarder to make it compatible with a long-running measurement
  • support single publisher to have accurate publishing times

Related Issues

@cortze cortze mentioned this pull request May 26, 2023
@cortze cortze merged commit c60c575 into master May 26, 2023
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.

Issues with pinging rounds Persisting into DB becoming very slow
1 participant