Hey team, I am evaluating Cerbos. For production environment, do you recommend using S3 or RDS Postgres?
09/09/2022, 6:13 AM
Hi @Petra Barus, thanks for your consideration. If your application is going to make dynamic changes to the policies, we recommend a database back end. However, if you think the policies are doing to stay relatively static, then a disk or git based is recommended.
09/09/2022, 6:27 AM
So I am building a digital content e-commerce. When a customer purchase a content, the system will publish the permission to that person. I think that’s considered pretty dynamic, right?
09/09/2022, 6:46 AM
Yes. If you are constantly changing policies based on events like customer purchases, then using a database is probably easier than writing to S3.
With the database, the new policy will be available to Cerbos almost immediately. Whereas, with S3, it will only be picked up during the next polling round.
09/16/2022, 9:21 AM
@Charith (Cerbos) thanks a lot for the answer. How often does the polling happens? Is it configurable? Can we trigger it?