No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Devloping Software In Teams

team development

Avoiding External Port Clashes

In software development speak, "Mutual exclusion" is a means of ensuring that only one thread or process can access a specific code path at a time. We see this in multiple places through the SQL Server database engine:

  • Locks
  • Latches
  • Spinlocks

In this specific example we need to ensure that when spinning up containers, multiple containers do not attempt to start using the same port on the host. We achieve this using the lockable resource plugin for Jenkins, the section that begins with "lock (" is all important here:

lockable resource

Points Of Interest From This Repo

points of interest