2009/7/14 Howard Lewis Ship <hls...@gmail.com> > I am loathe to have the framework manage this automatically because it > causes its own problems. > > For example, it is reasonable to process multiple Ajax requests in > parallel if they only read data.
Exactly. Concurrent write access to data should be handled where it belongs and that is definitely not the weblayer as such and I wouldn't even want the webframework interfere with it. Doing things in a http-layer which naturally belong to a persistence/transaction/business layer would be a quite dirty hack in my opinion. There was a lot of research spent on making concurrent writes "threadsafe" in databases. Transactions, optimistic and pessimistic locking and isolation levels where developed for exactly that case. So there is really no need to make a UI-Framework behave like a database with ISOLATION_LEVEL_SERIALIZED.