Skip to content

Commit

Permalink
make description more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
raptazure committed Dec 1, 2020
1 parent 84d3bf5 commit 3fbb06d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
this is the first run (there is no data previously persisted) then the default
value is "kvs"; if there is previously persisted data then the default is the
engine already in use. If data was previously persisted with a different
engine than selected, It will print an error.
engine than selected, it will print an error.
- Run client: `unitykv-client -h`
```
unitykv-client 0.1.0
Expand All @@ -52,7 +52,7 @@
- Multi-threaded: many threads are created within a process, executing independently but concurrently sharing process resources to finish tasks in a much faster way. This efficiency comes from the unity of threads.
- Traits for intergration:
- Two key-value store engines. `KvsEngine` trait defines the storage interface. `KvStore` implements `KvsEngine` for the `kvs` storage engine and `SledKvsEngine` implements `KvsEngine` for the `sled` storage engine.
- Three threadpool implementations. `ThreadPool` trait contains methods that create a new thread pool, immediately spawning the specified number of threads, and that spawn a function into the threadpool. `NaiveThreadPool` implements `ThreadPool` and spawns a new thread every time the `spawn` method is called. `RayonThreadPool` implements `ThreadPool` using a data parallelism library called [rayon](https://github.com/rayon-rs/rayon). And `SharedQueueThreadPool` implements `ThreadPool` using a shared queue.
- Three threadpool implementations. `ThreadPool` trait contains methods that create a new thread pool to spawn the specified number of threads, and that spawn a function into the threadpool. `NaiveThreadPool` implements `ThreadPool` and spawns a new thread every time the `spawn` method is called. `RayonThreadPool` implements `ThreadPool` using a data parallelism library called [rayon](https://github.com/rayon-rs/rayon). And `SharedQueueThreadPool` implements `ThreadPool` using a shared queue.
- Different kinds of engines and threadpools to choose is the unity of implementations.
- Built on top of open-source projects and online tutorials, this is the unity of crates and experiences.
- I have been playing _Assassin's Creed Unity_ recently. :)
Expand Down

0 comments on commit 3fbb06d

Please sign in to comment.