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

Integrate dumping manifests to remote as part of manifest persistence #6

Merged
merged 3 commits into from Apr 5, 2023

Conversation

ayazhafiz
Copy link
Member

Now, when a queue persists a manifest to local disk after the initial manifest has been handed out, it will also persist that manifest to a remote (if any).

Needs #4 first.

@github-actions
Copy link

github-actions bot commented Apr 3, 2023

Bigtest for d7f0e9b (run)

Benchmarks:

  • RSpec: 7.11% overhead
    • RSpec time: 17.72 seconds
    • ABQ time: 18.98 seconds
  • RSpec parallel, 10 runs: max 11.91% overhead
    • min 7.17% overhead
    • standard deviation: 1.69%
  • Jest: 4.13% overhead
    • Jest time: 20.211 seconds
    • ABQ time: 21.046 seconds

Fuzz result sizes:

  • PASSED

Base automatically changed from any-remote-persistence to main April 4, 2023 01:29
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Bigtest for e696428 (run)

Benchmarks:

  • RSpec: 6.92% overhead
    • RSpec time: 17.77 seconds
    • ABQ time: 19 seconds
  • RSpec parallel, 10 runs: max 17.22% overhead
    • min 6.13% overhead
    • standard deviation: 3.65%
  • Jest: 4.19% overhead
    • Jest time: 20.375 seconds
    • ABQ time: 21.228 seconds

Fuzz result sizes:

  • PASSED

@ayazhafiz ayazhafiz enabled auto-merge (squash) April 5, 2023 14:33
// TODO(PERF): write to remote in parallel by passing the in-memory bytes instead.
self.remote
.store(PersistenceKind::Manifest, run_id, &path)
.await?;
Copy link
Member

Choose a reason for hiding this comment

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

What do you think we should do if this fails? It'd be nice to retry it a few times with backoff in the background (does the S3 remote impl already do that?)

Copy link
Member Author

@ayazhafiz ayazhafiz Apr 5, 2023

Choose a reason for hiding this comment

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

S3 will retry twice. Yeah, we should probably retry with backoff anyway though.

@ayazhafiz ayazhafiz merged commit c79a557 into main Apr 5, 2023
17 checks passed
@ayazhafiz ayazhafiz deleted the remote-persist-manifests branch April 5, 2023 14:55
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.

None yet

2 participants