Distributed Systems Pattern: Singular Update Queue



When the state needs to be updated by multiple concurrent clients, we
need it to be safely updated with one at a time changes. Generally locks
are used to protect against concurrent modifications. But if the tasks
being performed are time consuming, like writing to a file, blocking all
the other calling threads until the task is completed can have severe
impact on overall system throughput and latency. It is important to make
effective use of compute resources, while still maintaining the guarantee
of one at a time execution.



more…

 •  0 comments  •  flag
Share on Twitter
Published on August 20, 2020 06:44
No comments have been added yet.


Martin Fowler's Blog

Martin Fowler
Martin Fowler isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Martin Fowler's blog with rss.