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

Concurrent ART에 관한 연구 #10

Open
codingskynet opened this issue Nov 16, 2021 · 3 comments
Open

Concurrent ART에 관한 연구 #10

codingskynet opened this issue Nov 16, 2021 · 3 comments
Assignees

Comments

@codingskynet
Copy link
Owner

논문을 모아두거나, 이것저것 정리해서 아이디어를 정리해놓는 이슈

@codingskynet
Copy link
Owner Author

꽤나 hot(?)했던 자료구조였는지 적당히 잘 구현된 코드들도 있는거 같다. 얘도 아마 구현해봤던 기억상 & 추정상으로는 rebalance라기 보다, removal시 path 압축 및 node 제거 정도의 간단한 것만 처리하면 되던 것으로 기억하기 때문에 optimistic lock coupling으로 쉽게 괜찮은 성능을 뽑아볼 수 있을 거 같다.

@codingskynet
Copy link
Owner Author

codingskynet commented Nov 16, 2021

구현하면서 든 여러 가지 고민거리

  • Node 안에 임의의 keys들이 들어있는 것을 len으로 가지고 있을 것인지, 아니면 invalid marking을 해둬서 접근을 막을 것인지
    • 일단 general하게 쓸 수 있도록 len을 가지고 있는게 나을 듯.
  • path compression은 얼마만큼 할 것인지(pessimistic과 optimistic을 얼마나 잘 섞어볼 것인가)
  • SIMD가 실제로 linear search나 binary search 대비 얼마나 성능이 괜찮을 것인가
  • Node 크기를 줄일 수 있지 않을까? 가령 strictascii string만 허용한다고 해서(a-z, A-Z, 0-9, :, -) 총 64글자(6비트)로 Node64까지만 만든다거나 등등

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

No branches or pull requests

1 participant