UncP / aili

the fastest in-memory index in the East 东半球最快并发索引

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aili

Author Version

the fastest in-memory index in the East(maybe the fastest on this planet)

A library that provides various concurrent algorithms for in-memory index, aims to achieve extremely FAST speed, but just for EXPERIMENT and FUN.

Algorithms

  • Palm Tree (palm/)
  • Blink Tree (blink/)
  • Mass Tree (mass/)
  • Adaptive Radix Tree (art/)
  • Height Optimized Trie (hot/) (developing)

Have a Try

#              thread_num  thread_key_number
./run.sh  palm   4           100   # test palm tree

./run.sh  blink  4           100   # test blink tree

./run.sh  mass   4           100   # test mass tree

./run.sh  art    4           100   # test art tree

Benchmark

Benchmark Multi ART

Multi ART is capable of reaching 100 million insert per second on a 96-core machine using 64 threads.

Other

  • Checkout example/ for examples
  • Follow my 知乎专栏 for blogs about this repository
  • Open an issue if you have any problem

References

About

the fastest in-memory index in the East 东半球最快并发索引

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 97.4%Language:Makefile 1.3%Language:C++ 0.8%Language:Shell 0.5%