Questions tagged [locks]

Locks are a synchronization mechanism for enforcing limits on access to a resource.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
316 views

How can I diagram data-locking scenarios?

There are many different types of charts and diagrams we use to formalize scenarios and study them tangibly -- activity diagrams, sequence diagrams, etc. I've been faced with a pretty complex locking ...
1
vote
2answers
110 views

Designing a scalable microservice: how to prevent one instance from performing an action if another instance allready did?

As I am moving a part of the monolith app logic to a microservice, I am standing before a problem with scalability. Currently, the main monolith runs on different instances, and has some scheduled ...