https://cerbos.dev logo
#help
Title
# help
a

Andrew Young

07/12/2023, 12:27 AM
Is there a sort of upper bounds on how many policies you can have before cerbos starts to have performance issues?
c

Charith (Cerbos)

07/12/2023, 5:37 AM
We have done internal tests with tens of thousands of policies and haven't noticed any significant performance issues. Obviously, there are lots of factors that affect performance other than the number of policies. Some of them are environmental. Therefore we recommend you do some testing on your own infrastructure to understand how Cerbos behaves under load. Generally, it is recommended to have plenty of CPU available. You can also tune the Cerbos cache sizes based on your workload. Because Cerbos is stateless you can easily scale it up or down as needed as well.
5 Views