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

General: Should parallel conversions be added and how? #27

Open
yveszoundi opened this issue Dec 18, 2022 · 0 comments
Open

General: Should parallel conversions be added and how? #27

yveszoundi opened this issue Dec 18, 2022 · 0 comments
Labels
future Maybe in the future research Research activities

Comments

@yveszoundi
Copy link
Member

Background

In the early days of Entrusted, its file processing times was comparable to Dangerzone.

  • As Entrusted became much faster, parallel conversions were then considered not essential
    • There is the programming language difference and how code is written to achieve certain goals directly
    • There are other design choices: 1 step container pass instead of 2 container passes (document to pixels, pixels to PDF)
  • Faster feels always better, especially if the cost is not too high to pay (memory or CPU usage)

Objectives

Keep in mind that this would also require switching from "row indexes" to "document ids" when submitting file for processing... It is not technically difficult to implement a quick and dirty initial implementation (Fast mapping of IDs to widget for progress notifications, etc.).

  • Assess if the software should decide how many conversions can run in parallel based on system specifications
  • Assess if the user should be able to decide how to allocate computer resources, possibly with some guardrails
  • Assess if parallel conversions would create few anticipated potential problems
    • File mounts disappearing and/or data corruption in the container solution storage
    • Weird container image crashes with little to non-existent feedback that can be captured easily
      • Segmentation faults
      • Container process killed for no apparent valid reason
      • etc.
    • Plethora of problems with differences per container solution and/or version
      • "podman 2.x does this and podman 3.x does that.."
      • "however in Docker, xywxs happens and the container crashes"
@yveszoundi yveszoundi added the research Research activities label Dec 18, 2022
@yveszoundi yveszoundi changed the title Research: Should parallel conversions be added and how? General: Should parallel conversions be added and how? Dec 24, 2022
@yveszoundi yveszoundi added the future Maybe in the future label Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future Maybe in the future research Research activities
Projects
None yet
Development

No branches or pull requests

1 participant