docs: per-task roadmap, architecture and changelog
- Split TODO into a thin status index plus docs/roadmap/ with one file per task (v0.4 reliability, v0.5 product, v0.6 research, icebox). - Add docs/architecture.md (current processes, packet/data path, layers, storage, metrics) and docs/development.md (rules, gates, DoD). - Add CHANGELOG.md reconstructed from history; move round details out of TODO. - Align docs with the code: config defaults and missing [detect]/ [protocol.http] sections, XDP metric names, ClickHouse table and TTL, Redis RDB restore, multiarch clang include, CLI binary name. - Add scripts/check_docs_links.sh and run it in CI. - release profile: thin LTO + one codegen unit. Binary 12.3 MB -> 9.7 MB, http parser bench 314 ns -> 278 ns; panic=abort stays off for catch_unwind in the Redis subscriber. - Drop the unused JWT role claim; fix 'rampart doctor' hints in the CLI.
This commit is contained in:
parent
1b3ae5e546
commit
280284667f
38 changed files with 1582 additions and 623 deletions
13
Cargo.toml
13
Cargo.toml
|
|
@ -37,8 +37,8 @@ store-redis = ["dep:redis"]
|
|||
geoip = ["dep:maxminddb"]
|
||||
xdp = ["dep:libbpf-rs", "dep:libc"]
|
||||
io-uring = ["dep:tokio-splice"]
|
||||
# HTTP/1.1 protocol handler: парсинг request-head, verdict Allow/Reject,
|
||||
# туннелирование на upstream (см. src/protocol/http/ и [protocol.http] в конфиге).
|
||||
# HTTP/1.1 protocol handler: request-head parsing, Allow/Reject verdict,
|
||||
# upstream tunnelling (see src/protocol/http/ and [protocol.http] in the config).
|
||||
protocol-http = []
|
||||
protocol-minecraft = []
|
||||
|
||||
|
|
@ -87,3 +87,12 @@ criterion = { version = "0.5", features = ["html_reports"] }
|
|||
name = "hot_paths"
|
||||
harness = false
|
||||
required-features = ["protocol-http"]
|
||||
|
||||
[profile.release]
|
||||
# Thin LTO plus one codegen unit: the edge data path is latency-sensitive, and
|
||||
# cross-crate inlining is worth the extra build time.
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
# `panic = "abort"` is deliberately NOT set: `store/redis/sync.rs` relies on
|
||||
# `catch_unwind` to isolate a malformed pub/sub message, and a panic in one
|
||||
# tokio task must not take down the whole edge node.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue