How do you guys handle rate limiting? It occurs to...
# prisma-whats-new
k
How do you guys handle rate limiting? It occurs to me that someone could build a bot which just sits there and hits my
graph.cool
endpoint with a bunch of requests. Two concerns, the first is billing, that’d probably lead to some severe bill shock, and secondly, what protections are in place to stop someone registering a flood of users, etc?
2
👍🏻 1
Also, things like brute force password attacks come to mind.
l
Good question. This also came to my mind. Since they are using AWS Serverless, I would hope that the API gateway is set up right. The gateway does have DOS protection but a flood of creates would be an issue
k
@nilan, sorry to poke you directly, just wondering if there are any docs or similar that I can look at to answer this question.
👍🏻 1
n
Hey @kevinbrown and @lancej, thanks for your concerns! We do have a request limit that's per project. We'll offer customizable settings and a better transparency into who made what requests soon.
Finally, if you think you're experiencing an abuse, please reach out to me immediately. We'll be able to figure out the billing question together, I'm sure 🙂
k
Thanks @nilan, very helpful! So that I’m aware, what are the default settings at this stage? We’re still in development, just doing our due diligence and want to make sure I know how it works before we depend on graph.cool in production.
n
It's some dozen per second, I can't recall the specific limit at the moment.