When multiple threads are accessing and updating JADE database objects at the same time, there are concurrency issues that need to be managed, as follows.
Data must be kept consistent when being updated.
Applications need to access consistent, up-to-date data.
JADE provides features such as object locking, transactions, transaction isolation, and automatic cache coherency to address these issues.
Many of the features work automatically, but there are various options to make them more efficient.
This chapter discusses these features and options, describing how to use this area of functionality and the options that are available to write efficient and scalable applications. Topics include:
Distributed processing architecture
Maintaining data consistency and currency
Automatic cache coherency
The transaction model
Transaction isolation
Object locking
Object volatility (stable and frozen objects)
Frozen files and partitions