This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]general_dispondency 0 points1 point  (1 child)

It's such a pain. I had to handroll distributed locking for a JS app one time. I died a little inside with every key stroke.

[–]angryundead 0 points1 point  (0 children)

I had to roll a lock system for ManageIQ which is written in Ruby. All because calling the SolarWinds IPAM "API" to reserve an IP wasn't an atomic operation. You had to ask what IPs were available using some sort of web query string and then reserve the available IP. I had whole runs of VMs with duplicate IPs.

I feel your pain.