Tag Info

New answers tagged

2

Use a pub/sub framework like nServiceBus. The control panel can subscribe to update events on the domain model. The background process will emit the update events. When the control panel first starts up, it will send a command to the background process to tell it to send all the info it needs. Messages will contain serialized domain objects. The framework ...


1

Would it be possible to use an update log approach? That is, instead of directly updating the resource, code would simply write an update entry in a table/queue/whatever-makes-sense and a periodic task (or some other mechanism) applies the updates to the resource. Now you only have lock contention on the log, which should be significantly less than ...


3

Welcome to the deep, dark recesses of the Concurrency Jungle! This is where many app developers fear to tread--and fear it for good reason. @kdgregory gets it exactly right: This is not one problem, but a very large, very sticky class of problems. Most hard concurrency problems are addressable at scale, with sufficient effort and investment. None, however, ...



Top 50 recent answers are included