knox / dragonfly-readme-4.md
0 likes
0 forks
1 files
Last active
Server | QPS(thousands qps) | latency 99% | 99.9% |
---|---|---|---|
Dragonfly | 🟩 3844 | 🟩 0.9ms | 🟩 2.4ms |
Memcached | 806 | 1.6ms | 3.2ms |
knox / dragonfly-readme-3.sh
0 likes
0 forks
1 files
Last active
1 | memtier_benchmark --ratio ... -t <threads> -c 30 -n 200000 --distinct-client-seed -d 256 \ |
2 | --expiry-range=... |
knox / dragonfly-readme-2.md
0 likes
0 forks
1 files
Last active
op | r6g | c6gn | c7g |
---|---|---|---|
set | 0.8ms | 1ms | 1ms |
get | 0.9ms | 0.9ms | 0.8ms |
setex | 0.9ms | 1.1ms | 1.3ms |
knox / dragonfly-readme-1.md
0 likes
0 forks
1 files
Last active
Dragonfly shows a comparable performance:
- SETs (
--ratio 1:0
):
Redis | DF |
---|---|
QPS: 159K, P99.9: 1.16ms, P99: 0.82ms | QPS:173K, P99.9: 1.26ms, P99: 0.9ms |
- GETs (
--ratio 0:1
):
knox / LlamaIndex-readme-9.txt
0 likes
0 forks
1 files
Last active
1 | @software{Liu_LlamaIndex_2022, |
2 | author = {Liu, Jerry}, |
3 | doi = {10.5281/zenodo.1234}, |
4 | month = {11}, |
5 | title = {{LlamaIndex}}, |
6 | url = {https://github.com/jerryjliu/llama_index}, |
7 | year = {2022} |
8 | } |
knox / LlamaIndex-readme-9.md
0 likes
0 forks
1 files
Last active
@software{Liu_LlamaIndex_2022, author = {Liu, Jerry}, doi = {10.5281/zenodo.1234}, month = {11}, title = {{LlamaIndex}}, url = {https://github.com/jerryjliu/llama_index}, year = {2022} }
knox / LlamaIndex-readme-8.sh
0 likes
0 forks
1 files
Last active
1 | cd <desired-package-folder> |
2 | pip install poetry |
3 | poetry install --with dev |
knox / LlamaIndex-readme-7.py
0 likes
0 forks
1 files
Last active
1 | from llama_index.core import StorageContext, load_index_from_storage |
2 | |
3 | # rebuild storage context |
4 | storage_context = StorageContext.from_defaults(persist_dir="./storage") |
5 | # load index |
6 | index = load_index_from_storage(storage_context) |
knox / LlamaIndex-readme-6.py
0 likes
0 forks
1 files
Last active
1 | index.storage_context.persist() |
knox / LlamaIndex-readme-5.py
0 likes
0 forks
1 files
Last active
1 | query_engine = index.as_query_engine() |
2 | query_engine.query("YOUR_QUESTION") |