Quantcast
Channel: Concurrency – Java Creed
Viewing all articles
Browse latest Browse all 10

Software Transactional Memory Example using Multiverse

$
0
0
Transactions are an essential part of any business critical application as these ensure the integrity of the data being managed by the same application. Transactions ensure that the data remains in a consistent and integral state after this is manipulated, thus mitigating the risk of invalid states. Databases are synonymous with transactions, and many programming languages rely on the underlying database to provide the required transactional support. This works well when all modified state is found at the database level. Unfortunately, this is not always the case and there can be cases where the state is found at the application level rather than the database level. In this article we will see how we can use Multiverse (Git Hub), a Software Transactional Memory, to provide transactions at the software level without using any databases.

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images