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 Hybris Commerce. Marc is a SAP Commerce Certified Professional and has held the role of Hybris Architect at Deloitte, PWC, Exemplis and Nasty Gal. He is a long-time Java/Spring developer. 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: info@hybrisarchitect.com

You may also like...

Popular Posts

1 Comment

  1. So if i have 3 nodes in the cluster and 1 & 2 are customer facing. Do i have to update this property with same value in all 3 nodes local.properties?

Leave a Reply

Your email address will not be published. Required fields are marked *