Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need details on the nodes and Semaphore

hamanthk
Tera Contributor

I read the docs but did not understand nodes and semaphore concept.  Can someone help me with a simplified concepts of these.

4 REPLIES 4

HarshitaN
Tera Contributor

Hello @hamanthk 

Nodes:

A node is simply one server that runs part of your ServiceNow instance. Multiple nodes work together as a cluster. They share user requests, background jobs, workflows, and integrations.
You can think of nodes as multiple workers handling tasks in parallel, so the instance is fast and highly available.

 

Semaphores:
A semaphore is a lock that prevents two nodes from running the same job at the same time.
When a scheduled job or background process starts, it tries to take a semaphore. If the lock is available, the job runs on that node. If another node already holds the lock, the job waits or skips.
This prevents duplicate execution, data conflicts, and race conditions in a multi-node setup.

Regards, 
Harshi Negi

Ankur Bawiskar
Tera Patron
Tera Patron

@hamanthk 

did you check these?

Information about Semaphore and Scheduler Workers 

System Resources 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@hamanthk 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

nazimhusain
Mega Contributor

.