by VWWHFSfQ · 4y ago · 0 comments
I tend to run this kind of stuff on a separate PG server so that the query velocity doesn't affect more biz-critical things.
[0] https://www.postgresql.org/docs/current/sql-createtable.html...
I guess you would care in this scenario, otherwise you have cascading failures (something makes pg crash, and the lack of rate limit allows the abuse to continue).
So implementing a rate limiter separate from the rest may make sense too. I like their idea of doing it on memory and keeping the load balanced, as it doesn’t rely on any dependency.