Skip to content

Add tarpit server to throttle API abuse #5

Open
@nvkelso

Description

@nvkelso

While at Mapzen we occationally saw spikes of 429 requests (access forbidden, either for exceeding their free limits for an API key or historically from an IP address) but send soooooo much traffic our way that our Fastly requests costs were impacted.

Fastly pricing [1] (in NA) is $0.0075 per 10,000 requests.
We're getting about 30 million requests per day.

Our monthly cost of 429 requests:
0.0075 / 10000 * 30000000 * 30 = $675.00 for 1 month

[1] https://www.fastly.com/pricing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions