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

Wetu Importer - Optimize Sync Performance for Large Data Imports #155

Open
ashleyshaw opened this issue Oct 9, 2024 · 0 comments
Open
Assignees
Labels
[Status] Needs More Info Follow-up required in order to be actionable. [Type] Feature New feature to highlight in changelogs
Milestone

Comments

@ashleyshaw
Copy link
Member

ashleyshaw commented Oct 9, 2024

Wetu Importer - Optimize Sync Performance for Large Data Imports

Overview

Syncing large datasets from Wetu through the Wetu Importer can be time-consuming and sometimes leads to failed syncs due to timeouts or high server load. This results in a poor user experience, especially for businesses handling large volumes of data.

Problem

  • Slow Performance: Syncing large datasets takes too long, which can delay updates and reduce efficiency.
  • Sync Failures: Imports may fail entirely when processing large amounts of data due to timeouts or resource limits.

Proposed Solution

  • Batch Processing: Implement batch processing for large data imports to break down the sync into smaller, more manageable chunks. This approach will:

    • Reduce the load on the server by syncing data in smaller batches.
    • Improve overall reliability by minimizing the risk of timeouts or server overloads.
    • Allow users to monitor the progress of the sync, making it easier to identify and troubleshoot potential issues.

    Example:

    • Instead of attempting to sync all tour data at once, the importer could process 100 entries at a time until the full dataset has been imported.

Alternatives Considered

  • Running Imports During Off-Peak Hours: While this reduces the load on servers during high-traffic periods, it is not a reliable solution for all users and doesn’t directly address the performance issues during sync.

Benefits

  • Improved Performance: By breaking the import process into batches, the system can handle large datasets more efficiently without impacting server performance.
  • Fewer Failures: Reducing the strain on the server will lead to fewer failed syncs, minimizing the need for manual re-syncs or troubleshooting.
  • Better User Experience: Faster, more reliable imports will enhance the overall usability of the Wetu Importer, especially for businesses handling large volumes of data.

Additional Context

Batch processing is a widely-used method

@ashleyshaw ashleyshaw added [Type] Feature New feature to highlight in changelogs [Status] Needs More Info Follow-up required in order to be actionable. labels Oct 9, 2024
@ashleyshaw ashleyshaw added this to the 2.2.0 milestone Oct 9, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Oct 9, 2024
@ashleyshaw ashleyshaw removed this from the 2.2.0 milestone Oct 9, 2024
@ashleyshaw ashleyshaw changed the title Optimize Sync Performance for Large Data Imports Wetu Importer - Optimize Sync Performance for Large Data Imports Oct 14, 2024
@ZaredRogers ZaredRogers added this to the 2.0.0 milestone Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs More Info Follow-up required in order to be actionable. [Type] Feature New feature to highlight in changelogs
Projects
Status: 📥 Needs Dev
Development

No branches or pull requests

3 participants