Shared State

Concurrency control mechanisms are used to manage access to the shared resources and prevent conflicts. The goal is to ensure that operations on shared resources are performed in a way that maintains data integrity and consistency. In the Ethereum Virtual Machine (EVM), there are two types of variables:

  • Memory: Memory variables within a smart contract are specific to each individual transaction, remaining isolated, private, and not shared across different transactions.

  • Storage: Storage variables are shared among transactions and are stored on the blockchain as part of the contract's state. Conflicts can arise when multiple transactions attempt to modify the same storage variable simultaneously.

Arcology's concurrency control specially deal with the storage variable. Arcology's concurrency control mechanism specially deal with the storage variables.

Last updated