per-entity - Fwd: [Per-Entity] Latency figures for CDNs
Subject: Per-Entity Metadata Working Group
List archive
- From: Patrick Radtke <>
- To: Per-Entity Metadata Working Group <>
- Subject: Fwd: [Per-Entity] Latency figures for CDNs
- Date: Thu, 1 Sep 2016 16:14:41 -0700
- Ironport-phdr: 9a23:tbq3oh8NGwdic/9uRHKM819IXTAuvvDOBiVQ1KB90OscTK2v8tzYMVDF4r011RmSAtWdtqkP0reempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBX660e/5j8KGxj5KRE9ZqGsQtaT3IyL0LWK9oeWTgNUhSasKZZ/MBy6pBnY/vYRm4hjLKl55QHOv2MAL/xb3yZlI06SgwfU58G7+5tm9CIWvOguoZ1uS6L/KpwxUaZZBzduCWk5+M7m/U3bRBeV53Afem4XiABVGAnJ4RfmX4vg9CD9s7wui2GhIcTqQOVsCnyZ5KBxRUqt0X9fOg==
I realized I didn't reply to the list when I wrote this.
I setup Cloudfront as a caching CDN for the beta mdq server. Details
in the forwarded message below, along with my latency figures.
---------- Forwarded message ----------
From: Patrick Radtke
<>
Date: Fri, Aug 26, 2016 at 3:57 PM
Subject: Re: [Per-Entity] Latency figures for CDNs
To: David Walker
<>
On Fri, Aug 26, 2016 at 1:56 PM, David Walker
<>
wrote:
> Getting back to Nick's original question, I guess I am concerned about the
> latency times for 12KB objects (~0.4 secs in the US), unless we think
> InCommon sites have much better connectivity than Frost and Sullivan's
> average (and that the predominant latency factor is the last-mile network).
>
> This, of course, brings us back to Chris's admonition that we focus on
> business needs. What delay is acceptable when an IdP or SP needs to
> retrieve the metadata for some other SP or IdP? 0.4 seconds sounds pretty
> long to me, but it is a rare event, we think.
I setup Cloudfront (US, Canada and Europe locations) to be a caching
proxy for the beta MDQ server.
A cache miss in the edge location closest to you will result in a
query going to the MDQ server. Cloud front will cache the result for
an hour.
You can test it by using http://drhqoesel6yr5.cloudfront.net/ in place
of http://mdq-beta.incommon.org/
Using curl to do the timing
curl -o /dev/null -s -w \
%{time_connect}:%{time_starttransfer}:%{time_total} \
http://drhqoesel6yr5.cloudfront.net/global/entities/https%3A%2F%2Ffm.incommon.org%2Fsp
I get, for a cache hit,
10-20 ms from an EC2 instance
33-50 ms from home
cache misses seemed to add 1 second.
If I hit the MDQ beta server directly I get
10-30 ms from EC2 instance (this surprised me)
175-200 ms from home.
I'd be curious to see what the variance is for people on this list.
Your first curl will be likely be a cache miss in the CDN.
-Patrick
--
Patrick Radtke
CTO
Cirrus Identity
- Fwd: [Per-Entity] Latency figures for CDNs, Patrick Radtke, 09/01/2016
- Re: Fwd: [Per-Entity] Latency figures for CDNs, Scott Koranda, 09/06/2016
- Re: Fwd: [Per-Entity] Latency figures for CDNs, Scott Koranda, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Tom Scavo, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Tom Scavo, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Patrick Radtke, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Tom Scavo, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Patrick Radtke, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Tom Scavo, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Patrick Radtke, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Tom Scavo, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Patrick Radtke, 09/06/2016
- Re: [Per-Entity] Latency figures for CDNs, Tom Scavo, 09/06/2016
- <Possible follow-up(s)>
- Re: [Per-Entity] Latency figures for CDNs, Chris Phillips, 09/06/2016
Archive powered by MHonArc 2.6.19.