Production Deployment
Run Casbin in production - one enforcer per process, thread safety with SyncedEnforcer, decision caching, keeping replicas in sync with watchers, and writing policy inside database transactions.
Multithreading
Use Casbin safely in multi-threaded code with the synchronized enforcer (SyncedEnforcer) in Go, Java, C++ and other languages.
Benchmarks
Casbin enforcement benchmarks - time and memory per Enforce() call for ACL, RBAC, ABAC, RESTful and other models, from a few rules up to 110,000 policy rules.
Performance Optimization
Optimize Casbin at scale - handle high request volume with synchronized enforcers and sharding, and reduce memory with filtered policy loading.
Kubernetes Admission Webhook
Casbin K8s-Gatekeeper is a Kubernetes admission webhook that allows or denies operations on any Kubernetes resource using declarative Casbin models and policies.
Envoy (Service Mesh Authorization)
Authorize service mesh traffic with Casbin through Envoy external authorization - envoy-authz enforces RBAC and ABAC policies for Envoy and Istio.