跳到主要内容

17 篇文档带有标签「ring:trial」

查看所有标签

Concurrency

Futures as compiler-built state machines, the executor that polls them, and the Send and Sync markers that keep shared state honest.

Feature: Interop

The five unsafe abilities, the invariants they transfer to the developer, and the ABI contract at a foreign function boundary.

Lakehouse

Iceberg and Delta Lake: table formats that bring ACID and time travel to object storage.

Lifecycle

Go HTTP 服务的生命周期:http.Server 的四个超时、ListenAndServe 与 Serve 的差异、SIGTERM 到 Shutdown 的排空窗口、keep-alive 与在途请求、健康检查、优雅重启的边界,以及 Gin 与 Echo 的启动 API 差异。

Middleware

Gin 与 Echo 的中间件链:Next 与 next 的执行顺序、Abort 与返回 error 的差异,恢复、请求 ID、鉴权、CORS、限流、超时和请求体上限的挂载规则、错序症状,以及中央错误处理、请求 ID 生成顺序、超时限制与 panic 隔离的 goroutine 边界。

OOP

Traits as contracts, generics that monomorphize, and Result-based errors that make every failure part of the signature.

Performance Testing

k6 and JMeter: load models, thresholds and the difference between a benchmark and a capacity test.

Private Registry

Nexus and Verdaccio: hosting private packages, proxying upstreams and controlling what a build can resolve.

Routing

Gin 与 Echo 的路由与绑定差异:radix tree 的静态段、参数段与通配符优先级,404 与 405 的默认行为,注册期 panic,路径参数写法,ShouldBind 与 Bind 的失败语义,以及尾斜杠重定向、路由表自检、415/400 状态码、内容协商与 JSON 响应细节。

Service Mesh

Istio and Envoy: moving retries, mTLS and telemetry out of the application.

State and Data

Svelte compiles components into direct DOM operations: runes for state, derived and effects, the legacy assignment model, and the SvelteKit file conventions around them.

Supply Chain Security

SBOM, Sigstore, Snyk and Dependabot: knowing what a build contains and whether it can be trusted.

Terraform

Infrastructure as code: state, plans and the drift between the declared and the real.

Type

One owner per value, borrows checked at compile time, and lifetimes that bound how long a reference stays valid.

Vector Search

pgvector and Milvus: approximate nearest-neighbour indexes and the recall/latency trade-off.