Disabling Hystrix on the Store server
The Hystrix framework is used as a proxy for back-end resources such as the Transaction server and Search server by default. This can be disabled, but does have performance implications that must be considered.
To learn more about Hystrix, see Hystrix on the Store server.- In earlier releases HCL Commerce, prior to 9.1.14.0, the Commerce Remote Store
(CRS), otherwise known as the Store server, implements Hystrix.
In these releases, it is recommended to disable Hystrix as it is no longer being maintained.
If you want to disable Hystrix on a version of HCL Commerce 9.1.0.0 to 9.1.13.0, complete the following procedure.
Procedure
-
Disable Hystrix on the Store server.
-
Reconfigure the Default Executor thread pool.
The WebSphere Application Server V8.5.5 Liberty server that the CRS runs on implements a single thread pool named "Default Executor" to handle incoming requests. This pool is self-tuned and adapts to the current workload by dynamically adding or removing threads.
The implication of disabling the Hystrix request pools is that in case of a slow down in the back-end servers WebSphere Application Server V8.5.5 Liberty might allow the Default Executor pool to expand, which could result in a large number of threads executing and waiting for a response from the back-end services. To avoid this condition, it is possible to configure the Default Executor pool with an upper limit by adding a custom configuration file.
To set a limit for the Default Executor pool, customize the CRS image by adding a new WebSphere Application Server V8.5.5 Liberty configuration file.