Skip to Content.
Sympa Menu

metadata-support - Re: [Metadata-Support] Re: optimizing metadata refresh

Subject: InCommon metadata support

List archive

Re: [Metadata-Support] Re: optimizing metadata refresh


Chronological Thread 
  • From: "Cantor, Scott" <>
  • To: Tom Scavo <>
  • Cc: "" <>
  • Subject: Re: [Metadata-Support] Re: optimizing metadata refresh
  • Date: Tue, 24 Mar 2015 20:41:58 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 164.107.81.218) ; incommon.org; dkim=none (message not signed) header.d=none;

On 3/24/15, 4:38 PM, "Tom Scavo"
<>
wrote:
>
>Sure, I understand that the client should check back often (in case
>something *does* change) but if nothing's changed, why bother
>refreshing what's in the cache?

In my case it's basically because I'm not using a conditional GET so there's
no way for it to know whether anything's changed, not efficiently. A swap of
a pointer under a lock just isn't worth worrying about by then.

>Actually, I'm asking about the server. (I'll get back to Ian's tome in
>a minute :) I'm wondering how the server goes about refreshing *its*
>sources. A smart server will only update an etag when the metadata has
>actually changed. (I realize it's not as simple as that.)

Ok, that's a much more complex question that ties into the whole issue of
metadata exchange, to which I will leave you in Ian's hands. I don't think I
want to know how that sausage is made.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page