Skip to content

Commit 318da70

Browse files
dentinycarlopi
authored andcommitted
cache_httpfs
1 parent ced170a commit 318da70

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
extension:
2+
name: cache_httpfs
3+
description: Read cached filesystem for httfs
4+
version: 0.0.1
5+
language: C++
6+
build: cmake
7+
license: MIT
8+
excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64;windows_amd64_mingw"
9+
maintainers:
10+
- dentiny
11+
- DouEnergy
12+
13+
repo:
14+
github: dentiny/duck-read-cache-fs
15+
ref: 132620cbe75253eaafdb206c8e538903d7b8f9fb
16+
17+
docs:
18+
hello_world: |
19+
SELECT cache_httpfs_get_cache_size();
20+
extended_description: |
21+
This extension adds a read cache filesystem to DuckDB, which acts as a wrapper of httpfs extention.
22+
It supports a few key features:
23+
- Supports both metadata cache and data block cache
24+
- Supports both on-disk cache and in-memory cache, with block size and cache mode tunable
25+
- Supports disk cache file eviction based on access timestamp
26+
- Supports parallel IO request, with request size tunable
27+
- Supports profiling for IO latency and cache hit / miss ratio, which provides an insight on workload characterization
28+
- Exposes function to get cache size and cleanup cache
29+
- Provides an option to disable / enable cache, which could act as a drop-in replacement for httpfs

0 commit comments

Comments
 (0)