CHA programming model

The CHA programming model does not allow the concurrent update to the same data in a CHA server. In the runtime environment, the data shared among different sessions are stored in the contexts above the session context in the context tree. The shared data is always read only. Otherwise, DB deadlocks will be caused.

Inside a session, avoid using different threads to update the same data in a session context or the contexts below the session context.