> For the complete documentation index, see [llms.txt](https://scalaris.gitbook.io/scalaris/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scalaris.gitbook.io/scalaris/overview/scalaris-framework/parallel-transaction-execution-for-evm-in-scalaris-framework/dag-execution-process.md).

# DAG Execution Process

<figure><img src="https://3615657405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvqiE8JyJwtGx16yF0rZu%2Fuploads%2FCqLMqYdhwHbneNszHDNx%2FScalaris%20-%20Graphic%20(10).png?alt=media&amp;token=8fdbfdb2-a2e2-4594-be39-f41abc803cf9" alt=""><figcaption></figcaption></figure>

The DAG execution process includes:

1. Initializing a pool of threads based on the number of hardware cores.
2. Executing ready transactions (in-degree of 0) using the threads, with each thread processing transactions independently.
3. Continuously executing transactions until all DAG vertices are processed, ensuring efficient utilization of multi-core processors.
