Catalogue / hibp-2018-pwned-passwords-serverless

Pwned Passwords answers 141M queries a month from Cloudflare's cache, with an Azure origin that costs 2.6 cents a day

Have I Been Pwned, 2018. Pwned Passwords range-query API.

Organisation
Have I Been Pwned
Evidence
Reported from production
Source
Serverless to the Max: Doing Big Things for Small Dollars with Cloudflare Workers and Azure Functions

troyhunt.com, published 2018-09-05

Records

Decision#d1

Answer nearly every query from the CDN's edge cache, and normalise query casing there to raise the hit rate

Decision#d2

Run the origin API as a pay-per-execution function instead of as endpoints inside the web application

Decision#d3

Store the hashes as one blob file per query prefix so that a lookup is a single file read

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.