What is the latency overhead of authorizing database operations at runtime?

Kastra evaluates controlling database writes from AI agents policy in a p50 of 0.3 ms and a p99 under 1 ms. The decision engine uses partial evaluation, cached ASTs, and vectorized rule matching on a Rust runtime. For most database operations the authorization step is invisible end-to-end.