Hey folks,
# spicedb
b
Hey folks, I just have a very fundamental question, its my first time working with fga. I see the docs mention the recommended way to deploy spicedb is either via serverless or via a operator. I do not have a k8s setup yet (its quite overkill for my usage). I plan to use spicedb with postgreSQL as datastore driver and manually deploy it on a barebones server using docker-compose. Will i face any issues? (in staging)
v
👋 You can deploy SpiceDB outside Kubernetes. The main challenge is when you want to scale the system, the default peer-discovery mechanism relies on the the Kube API server by default, so without it the SpiceDB instances won't be able to talk to each other. For a staging environment is perfectly fine to run it without clustering.
b
Thanks! That makes sense, that brings me to a question, at what point would i want to multiple instances? is there any recommended limit? or when does a single instance starts throttling? eg: 1M req/min?
v
When you start observing performance degradation. SpiceDB does not throttle, but you'll at some point start to reach the limits of what you can do on a single machine, which is workload dependent, so I can't tell you at what request rate that will happen, as it depends on the schema, dataset and workload
b
Makes sense, thanks a lot @vroldanbet !
5 Views