PBtree
A project trying to solve the logging dilemma for modern B+-tree indexing built atop the novel storage device with transparent compression.
Install / Use
/learn @ericaloha/PBtreeREADME
pB+-tree Project
It is a project trying to solve the logging dilemma for modern B+-tree indexing built atop the novel storage device with transparent compression.
Interface
With the BPlusTree object, you can invoke PUT(), GET(), etc interface for evaluation.
Features
- Utilize liburing + typical file system interface (e.g. write(), read()) for block IO.
- Each BPlusTree object is a full-featured pB+-Tree implementation, which involves LRU+FLU buffer pool, ARIES logging component, Async IO component, PUT()/GET() interfaces, etc.
- Support multi-client processing, see test.cc template for details.
Benchmark
YCSB benckmark with Random, Uniform, ScrambledZipf, SkewedZipf distributions for generating key-values. It is embedded into test.cc.
Build
-
liburing must be installed for block IO, which functionalities have been integrated into the implementation.
-
Configurations, including:
(1) (dis)enable baseline (typical B+-tree implementaion);
(2) (dis)enable pB+-tree (pB+-tree implementaion);
(3) parameters (e.g., buffer pool size, key-value size, buffer pool thresholds, workload-related settings) should be tuned manually in test.cc
(4) Makefile should be updated based on your config
make && ./test
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
