2 ms·
This is super cool - can't wait to implement it. Do you have any stats on how long calls usually take (mostly asking because of the DNS check)?
by swampthing 13y ago
This is super cool - can't wait to implement it. Do you have any stats on how long calls usually take (mostly asking because of the DNS check)?
- russjones 13y agoI only have performance numbers for the parser right now, and on average it takes about 0.07 milliseconds to parse and validate an address. That's the pure RFC syntax part. The longest part of validation service is DNS checks, but once the DNS server warms up and starts caching lookups the roundtrip time is going to be the longest part of the request. We're still collecting reliable statistics and once we have them we can follow up with you.
- old-gregg 13y ago99+% of the time it's a couple of in-memory lookups plus a bit of CPU for syntax validation. The API endpoint is hosted in Chicago on a dedicated aggregation to DC networks (nice to be on Rackspace). Should be fast.