summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2022-03-17 16:23:39 +0500
committerzhengchao <[email protected]>2022-03-17 16:23:39 +0500
commit23e3d7e87dbe40659e3c8dc52cb59ff2fcee3dea (patch)
treeee38734c130b1587cfa615114c585cde8c3cc399 /readme.md
parenteb8f87d634a7afeeeb070067c801ba8ed05b995a (diff)
使用swarmkv_options维护初始化参数
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/readme.md b/readme.md
index 0796633..fb842bf 100644
--- a/readme.md
+++ b/readme.md
@@ -319,12 +319,13 @@ The worker threads are responsible for:
The source files are organized as follows:
-- swarmkv.c event loop, orchestration
-- swarmkv_store.c kv operation, key hash table is implemented with [uthash](https://troydhanson.github.io/uthash/). Use [sds](https://github.com/antirez/sds) as dynamic string library.
-- swarmkv_keyspace.c: The control plane of SwarmKV. Interact with [HashiCorp Consul](https://www.consul.io/) for node discovery, slot assignment, and leader election.
+- src/swarmkv.c event loop, orchestration
+- src/swarmkv_store.c kv operation, key hash table is implemented with [uthash](https://troydhanson.github.io/uthash/). Use [sds](https://github.com/antirez/sds) as dynamic string library.
+- src/swarmkv_keyspace.c: The control plane of SwarmKV. Interact with [HashiCorp Consul](https://www.consul.io/) for node discovery, slot assignment, and leader election.
- The keyspace is partitioned by key slots among the participating nodes.
-- swarmkv_message.c: Message is encoded to [MessagePack](https://msgpack.org/index.html) format by [mpack](https://github.com/ludocode/mpack) library.
-- swarmkv_net.c: High performance P2P communication via [libevent](https://libevent.org/).
+- src/swarmkv_message.c: Message is encoded to [MessagePack](https://msgpack.org/index.html) format by [mpack](https://github.com/ludocode/mpack) library.
+- src/swarmkv_net.c: High performance P2P communication via [libevent](https://libevent.org/).
+- tools/swarmkv_cli: CLI implementation faciliated by [linenoise](https://github.com/antirez/linenoise).
## Similar Projects