Skip to content
/ AriaBC Public
forked from zllai/AriaBC

Aria deterministic concurrency control implemented on PostgreSQL.

License

Notifications You must be signed in to change notification settings

allvphx/AriaBC

 
 

Repository files navigation

AriaBC

This repository contains the source code of AriaBC, i.e., the Aria deterministic concurrency control implemented on PostgreSQL.

Compile and install

./configure
make -j
make install

Run a sample workload (single machine)

  1. Prepare the blockchain database file
initdb -D /tmp/ycsb
  1. Launch the database engine
postgres -D /tmp/ycsb
  1. Create the database and initialize the state
createdb ycsb
psql -d ycsb < src/benchmark/samples/ycsb_setup
  1. Run the workload
psql -d ycsb < src/benchmark/samples/ycsb_tx_blocks

See src/benchmark/samples/ycsb_tx_blocks for more details on how to submit a block of transactions.

About

Aria deterministic concurrency control implemented on PostgreSQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.0%
  • PLpgSQL 5.3%
  • Python 2.8%
  • Perl 2.1%
  • Yacc 1.4%
  • Ruby 1.3%
  • Other 2.1%