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

Improve snapshot restore workflow #2781

Open
kc1116 opened this issue Jan 13, 2025 · 0 comments
Open

Improve snapshot restore workflow #2781

kc1116 opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
good first issue Good for newcomers infra Infrastructure related tasks

Comments

@kc1116
Copy link
Contributor

kc1116 commented Jan 13, 2025

Problem to Solve

The current snapshot restore process requires users to install third-party tools that may not be pre-installed on their operating system, such as GNU Tar and LZ4. This introduces complexity and potential friction for users, as the process is not system-agnostic. Our goal is to streamline the snapshot restore process to ensure compatibility with Linux, Windows, and macOS without requiring additional installations.

Proposed Solution

Identify Cross-Platform Compatibility
Investigate which tar command and compression algorithms are natively supported across Linux, Windows, and macOS. Focus on tools and algorithms that come pre-installed or are widely available without additional setup.

For each compatible combination of tar command and compression algorithm:

  • Measure compression and decompression times.
  • Evaluate the compression ratio achieved.
  • Select the Best Option

Based on the benchmarks, choose the combination that offers the best balance of:

  • Ease of use (pre-installed on all platforms).
  • Performance (speed and efficiency).
  • Compression ratio (minimizing storage requirements).

Update Scripts and Documentation
Modify the snapshot restore scripts to use the selected tar and compression algorithm. Ensure the documentation clearly reflects the updated process and highlights its cross-platform compatibility.

@kc1116 kc1116 added good first issue Good for newcomers infra Infrastructure related tasks labels Jan 13, 2025
@kc1116 kc1116 added this to the c1.1 - Mainnet Beta [Dec 17] milestone Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers infra Infrastructure related tasks
Projects
None yet
Development

No branches or pull requests

2 participants