by JDShu · 13y ago · 0 comments
Fast forward to today. We write complex software for the browser with Javascript front-ends that are completely asynchronous. On the server we have a share-nothing-architecture where hundreds of incoming requests are divided over independent workers. There is still complex multi-threading going on in the database and in the web browser, but most programmers don't have to deal with it anymore. The problem of locks and deadlocks is pretty much a responsibility of the operating system now, much like virtual memory and writing data to the filesystem.
[1] http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initial...
The programmers try not to think delegate the thread management to the OS, by using multiple processes and MQ in between.