Forum: VoltDB Architecture

Post: there is no contention within the thread ,Why?

there is no contention within the thread ,Why?
guotong1988
Oct 22, 2014
nshi
Oct 22, 2014
Each execution site in VoltDB is a single thread. Transactions are serialized and execute one at a time. Each site doesn't switch between multiple transactions at the same time.

VoltDB scales by adding more execution sites into the cluster. Sites can execute transactions concurrently.
guotong1988
Oct 22, 2014
Thank you .

Each site is a process ,right? But process may use more cpu and memory?
vtkstef
Oct 22, 2014
Each site is a thread within one single JVM process. A cluster instance may be comprised of multiple nodes running each a VoltDB JVM process.

Ciao
Stefano
guotong1988
Nov 14, 2014
Each execution site in VoltDB is a single thread. Transactions are serialized and execute one at a time. Each site doesn't switch between multiple transactions at the same time.

VoltDB scales by adding more execution sites into the cluster. Sites can execute transactions concurrently.


Oh I got that: Transactions are serialized and execute one at a time

And if one host/node has more than one site,multi-core cpu can let each site be independent from all other sites.