...
Parameter | Description | ||
---|---|---|---|
cacheEnabled | Debugging setting. Leave the default value. | ||
numThreads | Maximum number of threads permitted to the Photon process. See below for recommended values. | ||
enabled | Verifiy that this value to | ||
distroPath | Please verify that this property is set to the following value, which works for all operating system distributions:
| ||
loadScalingFactor | Used in conjunction with other parameters to define the maximum size of samples for Photon. For more information, see Sample Size below. | ||
traceExecution | Debugging setting. Leave the default value. | ||
websocket.host | Hostname of the web socket service. Leave this value as localhost . | ||
websocket.port | Port number of the web socket service. Default value is 8082 . | ||
mode | Set this value is This parameter must be properly set to enable Photon. See Enable Photon below. |
Recommended Photon Configuration by Core Count
...
Parameter | 16 cores (default) | Low number of simultaneous users | High number of simultaneous users |
---|---|---|---|
webapp.numProcesses | 2 | 1 | 4 |
vfs-service.numProcesses | 2 | 1 | 4 |
photon.numThreads | 4 | 4 | 4 |
batchserver.workers.photon.max | 2 | 2 | 2 |
Enable Photon
...
Disable
This running environment is enabled by default. Please verify complete the following configuration to enable the Photon running environmentdisable the running environment.
Info |
---|
NOTE: A cluster-based running environment, such as Spark, must be available for processing jobs when this one is disabled. |
Steps:
D s config To enable Photondisable the
, apply the following configuration settings:D s server Code Block "photonwebapp.enabledrunInTrifactaServer": truefalse, "photonfeature.modeenableSamplingScanOptions": "pnacl"false, "feature.enableFirstRowsSample": false,
Do not change the following, which applies to the Photon web-client:
Code Block "photon.enabled": true,
Save your changes and restart the platform.
...