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

Specify which platforms can run parallel ETL flows #55

Merged
merged 2 commits into from
Dec 5, 2022

Conversation

skejserjensen
Copy link
Collaborator

This PR closes #46 and #47 by documenting which platforms can execute parallel ETL flows implemented pygrametl. Currently, pygrametl supports executing parallel ETL flows using CPython on platforms that start new processes using fork and Jython. Thus, executing a parallel ETL flow natively on Microsoft Windows using CPython is not supported, and macOS must be configured to use fork using multiprocessing.set_start_method('fork') due to the issues with macOS's fork implementation documented in CPython Issue 77906 (Thanks to @mFeigeInvia). An attempt to support spawn was made, however, it became clear that this would require major changes to pygrametl. This is primarily due to limitations of pickle and additional requirements when using spawn or forkserver compared to fork. As CPython generally does not perform well when executing parallel ETL flows compared to Jython, @chrthomsen, @fromm1990, and I agreed to prioritize other improvements to pygrametl.

docs/examples/bulkloading.rst Outdated Show resolved Hide resolved
docs/examples/parallel.rst Show resolved Hide resolved
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.

Issue with shareconnectionwrapper
2 participants