SkillAgentSearch skills...

Plor

Improving the tail latency of in-memory transactional system.

Install / Use

/learn @chenyoumin1993/Plor
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Plor (general transactions with predictable, low tail latency)

Plor is based on DBx1000, which is a single node OLTP database management system (DBMS).

Download

git clone --recursive https://github.com/chenyoumin1993/Plor

Dependencies

# for jemalloc 
apt-get install libjemalloc-dev

# for cityhash
cd cityhash
./configure
make -j
make install

# for masstree
cd silo/masstree
./configure
make -j

Build & Test

To build the database.

make -j

Configuration

DBMS configurations can be changed in the config.h file. Please refer to README for the meaning of each configuration. Here we only list several most important ones.

CORE_CNT        : Number of worker threads running in the database.
WORKLOAD          : Supported workloads include YCSB and TPCC
CC_ALG            : Concurrency control algorithm. Seven algorithms are supported (NO_WAIT WAIT_DIE WOUND_WAIT PLOR HLOCK SILO MOCC)

                    

Run

The DBMS can be run with

./rundb

Output

TP: throughput
LAT@P99: 99th percentile latency
ABT@P99: 99th percentile abort count

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated7mo ago
Forks2

Languages

C++

Security Score

82/100

Audited on Sep 6, 2025

No findings