2
votes
How do I guarantee ordered processing of occurring events in concurrent environment?
Perhaps the expensive processing could be parallel, but the result of that processing could be added to a thread-safe priority queue and reported or persisted by a single thread.
But first I would ...
2
votes
How do I guarantee ordered processing of occurring events in concurrent environment?
This is addressed in Leslie Lamport's 1978 paper, "Time, Clocks, and the Ordering of Events in a Distributed System". The short answer to your questions are:
You can enforce an "...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
synchronization × 192database × 24
concurrency × 22
multithreading × 20
c# × 15
java × 13
design-patterns × 13
design × 12
architecture × 12
algorithms × 10
android × 10
mysql × 9
locks × 8
web-applications × 6
performance × 6
data × 6
operating-systems × 6
asynchronous-programming × 6
distributed-system × 6
php × 5
web-development × 5
rest × 5
database-design × 5
web-services × 5
mobile × 5