Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: setup build env for kvssd and add skeleton code for kvssd-hashmap interface #3

Merged
merged 2 commits into from
Dec 1, 2024

Conversation

easter423
Copy link
Collaborator

@easter423 easter423 commented Dec 1, 2024

๐Ÿ›‘Invalid PR. Reopened at (#5)

Reverted commit using #4.

Summary

YCSB ๋‚ด KVSSD ๋นŒ๋“œ ํ™˜๊ฒฝ ๊ตฌ์„ฑ ๋ฐ KVSSD ํ˜ธํ™˜ ์ธํ„ฐํŽ˜์ด์Šค ์Šค์ผˆ๋ ˆํ†ค ์ฝ”๋“œ ์ž‘์„ฑ

Changelog

  • LMDB ์ฝ”๋“œ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ KVSSD ์ „์šฉ ๋นŒ๋“œ ํ™˜๊ฒฝ ๊ตฌ์ถ• (YCSB-cpp/kvssd)
  • std::unordered_map์„ ํ™œ์šฉํ•œ KVSSD ํ˜ธํ™˜ ์ธํ„ฐํŽ˜์ด์Šค ์Šค์ผˆ๋ ˆํ†ค ์ฝ”๋“œ ์ž‘์„ฑ
    • ๊ตฌํ˜„ ํŒŒ์ผ: YCSB-cpp/kvssd/kvssd_hashmap_db.h, YCSB-cpp/kvssd/kvssd_hashmap_db.cc
    • ์‹คํ–‰ ํŒŒ์ผ: YCSB-cpp/kvssd/kvssd_hashmap_db_run.cc
  • ์Šค์ผˆ๋ ˆํ†ค ์ฝ”๋“œ ์ž‘๋™ ํ…Œ์ŠคํŠธ ์™„๋ฃŒ
    • ์‹คํ–‰ ์ฝ”๋“œ: g++ -o kvssd ./kvssd_hashmap_db_run.cc ./kvssd_hashmap_db.cc -> ./kvssd

TODO

  • db api ํ•จ์ˆ˜ ๊ตฌํ˜„ (Read, Insert, Update, Delete)
  • kvs_value ๋ณ€์ˆ˜ ์‹œ๊ฐํ™” ํ•จ์ˆ˜ ๊ตฌํ˜„ (serialize๋œ void* value์—์„œ ๊ฐ’์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋„๋ก)
  • ๋ฉ”๋ชจ๋ฆฌ ํ• ๋‹น ๋ฐ ํ•ด์ œ ํ…Œ์ŠคํŠธ
  • db api ํ•จ์ˆ˜ ์ž‘๋™ ํ…Œ์ŠคํŠธ

Attachments

  • UML Diagram for kvssd_hashmap interface
    image

Refs

ls4154 and others added 2 commits September 16, 2024 20:55
โ€ฆashmap_db_run.cc files to implement a new KVSSD interface using a hashmap

feat(kvssd): add a kvssd.properties file to configure the kvssd database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants