Skip to content

ACMEv2: Implement orders per time window rate limit #3410

@cpu

Description

@cpu

After #3402 lands we're left calculating the pending order rate limit by fetching all unexpired orders for an account, and then fetching each associated authorization. We should batch the authorization lookup and try to ensure this rate limit implementation is optimized.

After submitting a PR for this issue it was decided that we shouldn't have a pending order rate limit as proposed here and implemented in master:

Instead:

Rather than a limit on pending orders, why not a limit on the overall orders created per time window (pending or not).
So, for this we would probably have to add the created column I suggested, plus an index on it

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions