mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-10 21:05:01 +00:00
Update storage/service/README.md
Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
This commit is contained in:
parent
fd6712aa38
commit
d4bd18ca57
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
# Cuprate's `tower::Service` database abstraction.
|
||||
|
||||
This crate contains the building blocks for creating a `tower::Service` interface to `cuprate_blockchain`.
|
||||
This crate contains the building blocks for creating a [`tower::Service`] interface to [`cuprate_blockchain`](https://doc.cuprate.org/cuprate_blockchain).
|
||||
|
||||
It is split into 2 `tower::Service`s a read service which is backed by a `rayon::ThreadPool` and a write service which
|
||||
spawns a single thread to handle write requests.
|
||||
It is split into 2 `tower::Service`s:
|
||||
1. A [read service](crate::DatabaseReadService) which is backed by a [`rayon::ThreadPool`]
|
||||
1. A [write service](crate::DatabaseWriteHandle) which spawns a single thread to handle write requests
|
||||
|
|
Loading…
Reference in a new issue