You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Valentyn Tymofieiev (Jira)" <ji...@apache.org> on 2020/10/31 01:37:00 UTC

[jira] [Created] (BEAM-11166) Split Beam Python base image into a 'slim' version and 'regular/extended' version

Valentyn Tymofieiev created BEAM-11166:
------------------------------------------

             Summary: Split Beam Python base image into a 'slim' version and 'regular/extended' version 
                 Key: BEAM-11166
                 URL: https://issues.apache.org/jira/browse/BEAM-11166
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: Valentyn Tymofieiev


Beam container image includes several dependencies that are not essential to Beam, but may be commonly used by some users. Some dependencies may be relevant only for particular runners. 

Installing dependencies in Beam containers increases image size. For example, installing TensorFlow adds ~1G or so of space into the unpacked image.

Some Beam users may be size conscious, and would prefer an image with minimal dependencies.

Some Beam users and Beam runner maintainers may prefer an image that includes additional dependencies. These extended images may provide better user experience in some scenarios, but the overall image would be larger.

We should consider splitting beam image into slim and regular version to accommodate these different usage scenarios.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)