Skip to Content.
Sympa Menu

per-entity - Re: [Per-Entity] distribution of aggregate metadata

Subject: Per-Entity Metadata Working Group

List archive

Re: [Per-Entity] distribution of aggregate metadata


Chronological Thread 
  • From: Thomas Lenggenhager <>
  • To: Per-Entity Metadata Working Group <>
  • Subject: Re: [Per-Entity] distribution of aggregate metadata
  • Date: Fri, 12 Aug 2016 16:46:19 +0200
  • Ironport-phdr: 9a23:QWtGHRyiyA1LqHLXCy+O+j09IxM/srCxBDY+r6Qd0e4TIJqq85mqBkHD//Il1AaPBtqLra8fwLOL+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6aijSI4DUTAhTyMxZubqSwQ9aKzpeB/rvtoNiLP00I2WL8MvtOK0COoB+Um88KgJdzYoM81hLFq2dBM9tR32BpI13bsAz7+9/4qIZu6WFdve4g699oUKPxeKE9SroeCy4pZTMb/sru4CXDSg6G/TM4X2MZnRdOAwHK4QuyCpP8tCT1u+x90SaXJ+XtUrEoUjTk5Kc9G0ygszsOKzNsqDKfscd3lq8O5U/5qg==
  • Organization: SWITCH

On 11.08.16 21:55, Cantor, Scott wrote:
Scott C, do you envision for "caching"

a) writing to disk the metadata for an entity each time it has
been fetched successfully to be used to accomplish a SAML flow

Yes. Currently we cache only in RAM. It may be possible to tweak the Java
code to enable the HttpClient cache to persist, but our initial suspicion is
that doing that would be risky and confusing and potentially not work anyway,
because it's really like a browser, it doesn't necessarily just use the
cached copy if the remote one is unavailable, at least not predictably.

a) could be improved by a helper process that refreshes a set of 'favorite' entities proactively without waiting for a further user access or timeout to keep these favorites fresh.

The set of favorites could either be configured or dynamically be maintained based on actual repetitive entity usage over some period.

Such an approach could reduce the risk for important entities that are not used every day and make b) unnecessary.

Thomas

--
SWITCH
------
Thomas Lenggenhager
P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 1505 direct +41 44 268 1541
https://www.switch.ch



Archive powered by MHonArc 2.6.19.

Top of Page