Skip to main content

Module server

Module server 

Source
Expand description

nedbd v2 HTTP server — same /v1/databases/* API surface as v1. Drop-in replacement: Vision, itsl_mirror, all existing clients work unchanged.

Built on tokio + axum. Each database is opened once and held in an Arc. All write paths use the Db’s internal atomic operations; the RwLock is only needed to protect the manager’s HashMap (open/close operations), not individual document writes (which are lock-free at the content-addressed level).

Structs§

Manager

Functions§

router
run
Start the nedbd v2 server.