Open apavlo opened 12 years ago
@ambell implemented the initial version of this in the spring semester (see documentation). The next step is to generate a calculator that is invoked in the VoltCompiler
to automatically determine when to mark Statements
int the catalog as deferrable.
Although H-Store guarantees that all transactions are ACID, it may be the case that not all components of a transaction need to be executed immediately.
SQLStmts
to denote that they can be executed asynchronously at runtime.VoltCompiler
to check whether eachSQLStmt
has this flag set, and if so then set the "asynchronous" flag in theStatement
catalog object.VoltProcedure
will need to check whether a queued SQLStmt is asynchronous, and therefore can be added to thePartitionExecutor
's "idle work" queue.The students will measure the runtime performance of the system for certain workloads, such as TPC-C's NewOrder`, but with and without the asynchronous feature to see the performance difference.