How Do You Prevent Tasks From Running On Hybris Commerce Front-End Storefront Nodes?

Answer

  1. Go to your local.properties file in the hybris/bin folder.
  2.  Enter the following: task.excluded.cluster.ids=1,2
    This entry will prevent nodes 1 and 2 (front-end nodes in my case) from processing tasks.

Additional Background

With OOTB Hybris Commerce, all nodes are eligible to process tasks from the task queue. In production, front-end storefront nodes should be configured to process customer traffic only, and not used to process backoffice tasks, which tend to require a significant amount of system resources at times.

Marc Raygoza

Marc is the Founder of HybrisArchitect.com.
He enjoys helping others learn more about SAP Commerce Cloud (Hybris). Marc is a SAP Commerce Certified Professional and has held the role of SAP Commerce Cloud Architect at Deloitte, PwC, Brillio (a Bain Company), and Nasty Gal. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at: mraygoza@hybrisarchitect.com

You may also like...

Popular Posts