Custom configuration properties
You can fine tune the behavior of the Spotfire Service for Python by setting custom configuration properties.
- Allowed engines
You can specify the number of Python engines that can run concurrently, and the number of Python engines that are allocated in the Spotfire Service for Python queue. - Compressed job contents and results
You can compress large data sets sent to Python. You can also compress returned results for Python data functions that are then sent to the Spotfire Service for Python. - Custom Python interpreter
You can specify a Python interpreter that is different from the interpreter that is bundled with the distribution. - Disable warnings
By default, warnings from the data function (or included packages) are sent to the client when executing a data function through the service. It is possible to suppress warnings by disabling the warning alert. - Docker container built for no internet access
If you are deploying a Spotfire Service for Python to use in a system with no internet access, you must configure the container image so that it does not try to build an image on top of the one that you have initially built in a system with internet access. - Engine pruning
When the Spotfire Service for Python reaches a certain percentage of capacity of usage, then the Spotfire Service for Python begins pruning Python engines to free service resources. - Engine timeout
You can specify the length of time a Python engine runs to complete a task before failing with a timeout error. You can also specify the length of time for a Python session to exist. - File size upload limit
When planning for uploading files for the Spotfire Service for Python, you can set the file size limit for uploading using the properties setting for the Spring Boot framework. If you change this setting, consider how the file size might affect the speed at which files can be uploaded. - Logging level
By default, the logging level is set for the Spotfire Service for Python to provide informational progress. - Manage Java options
You can set certain Java command-line options for the Spotfire Service for Python for managing such settings as the Java heap size. - Package library location
You can set the location of packages that Python can use in the Spotfire Service for Python configuration settings. - Safeguarding your environment
This custom property setting helps minimize the risk of malicious acts in your environment. - Startup script
You can specify a script to run before a container or Python engine is started. - engine ports
Python engines running under the Spotfire Service for Python require open ports to communicate. The first available port, and the range to the last available port, are determined by these two settings. - JMX monitoring
You can use an installation of Java Management Extensions (JMX) and the Remote Method Invocation (RMI) connector to monitor the Spotfire Service for Python. - Containerized configuration
The Spotfire Service for Python provides custom properties that are specific to the Linux operating system.
- Allowed engines
You can specify the number of Python engines that can run concurrently, and the number of Python engines that are allocated in the Spotfire Service for Python queue. - Compressed job contents and results
You can compress large data sets sent to Python. You can also compress returned results for Python data functions that are then sent to the Spotfire Service for Python. - Custom Python interpreter
You can specify a Python interpreter that is different from the interpreter that is bundled with the distribution. - Disable warnings
By default, warnings from the data function (or included packages) are sent to the client when executing a data function through the service. It is possible to suppress warnings by disabling the warning alert. - Docker container built for no internet access
If you are deploying a Spotfire Service for Python to use in a system with no internet access, you must configure the container image so that it does not try to build an image on top of the one that you have initially built in a system with internet access. - Engine pruning
When the Spotfire Service for Python reaches a certain percentage of capacity of usage, then the Spotfire Service for Python begins pruning Python engines to free service resources. - Engine timeout
You can specify the length of time a Python engine runs to complete a task before failing with a timeout error. You can also specify the length of time for a Python session to exist. - File size upload limit
When planning for uploading files for the Spotfire Service for Python, you can set the file size limit for uploading using the properties setting for the Spring Boot framework. If you change this setting, consider how the file size might affect the speed at which files can be uploaded. - Logging level
By default, the logging level is set for the Spotfire Service for Python to provide informational progress. - Manage Java options
You can set certain Java command-line options for the Spotfire Service for Python for managing such settings as the Java heap size. - Package library location
You can set the location of packages that Python can use in the Spotfire Service for Python configuration settings. - Safeguarding your environment
This custom property setting helps minimize the risk of malicious acts in your environment. - Startup script
You can specify a script to run before a container or Python engine is started. - engine ports
Python engines running under the Spotfire Service for Python require open ports to communicate. The first available port, and the range to the last available port, are determined by these two settings. - JMX monitoring
You can use an installation of Java Management Extensions (JMX) and the Remote Method Invocation (RMI) connector to monitor the Spotfire Service for Python. - Containerized configuration
The Spotfire Service for Python provides custom properties that are specific to the Linux operating system.
Parent topic: Configuring the Service