This is monorepo of neural-notes app.
axum-redis-cache A write-back cache layer was introduced in front of the database using Redis and evaluated within this product, a personal document web application.
In practice, this approach resulted in measurable performance improvements:
- Significantly reduced read and write latency
- Removed database contention from the synchronous request path
- Enabled fast responses without additional
latency-hidingtechniques
The limitations of this approach are as follows:
- Application state becomes difficult to reason about if the Redis cache layer is unavailable or inconsistent
- Strong durability guarantees cannot be provided without additional recovery mechanisms
- Therefore, this model is unsuitable for domains where data must be durably preserved (e.g. document applications)
In summary, a write-back cache is effective for high-throughput, latency-sensitive workloads, but requires careful domain selection and should be applied only with careful consideration of the domain.
-
install just & docker
-
in your shell
git clone git@github.com:lyh4215/neural-notes.git cd neural-notes just env just dev -
go to http://localhost:5173
- use axum-redis-cache
- use embedding for related post recommanding system

