Can we rely on PDP cloud for production workload?
# permit-saas
t
Can we rely on PDP cloud for production workload?
a
Hi @Thillai, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
No, the cloud PDP is not recommended for production workloads. The cloud PDP is designed for quick experimentation and learning how the service works (1) (2) (3) (4) . In production deployments, it's best to deploy the Docker Container PDP for better latency and availability . Additionally, the cloud PDP has limitations - it doesn't support ABAC (Attribute-based Access Control) policies (5) (1) (2) (3) (4) or ReBAC (Relationship-based Access Control) policies (1) (2) (3) (4) . For production, you should deploy your own PDP container. Here's how to run it:
Copy code
docker run -it -p 7766:7000 --env PDP_DEBUG=True --env PDP_API_KEY=<YOUR_API_KEY> permitio/pdp-v2:latest
(2) (3) (4)
Thanks for the feedback, glad I was helpful.
r
The agent is accurate. Any other questions?
t
No Raz, Thanks!
o
Just FYI we are working on a new cloud PDP, which would be production ready and will support ReBAC; But nonetheless the recommendation will always be to use a local PDP for production - physics and distance will always add latency
👍 1
t
Sure.