Repository navigation
Commit efeeb95
committed
cachedb_perfd: new CacheDB backend for the perfcached daemon
perfd://[:secret@]host:port[,host:port...]/collection[?opts] reaches a
perfcached node or cluster through libperfd (0.7.5 or later, MIT):
Noise-authenticated binary protocol, member discovery from a seed,
per-key routing to the owning node, standby connections and failover.
- get/set/remove/add/sub/counter_fetch over the core Key-Value API
- cache_raw_query(): MGET, EXISTS, EXPIRE, JSON.SET/GET/DEL
- perfd_fetch(): asynchronous fetch from an async() statement
- lazy, pid-stamped per-process connections (fork safe); the Noise
key is derived once in the parent and inherited by the workers
Excluded from the default build like the other modules that need an
external client library.1 parent 804e092 commit efeeb95
7 files changed
Lines changed: 1809 additions & 3 deletions
File tree
- modules/cachedb_perfd
- packaging/debian
- scripts/build
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments