All of lore.kernel.org
 help / color / mirror / Atom feed
* RGW object purging in upstream caches
@ 2013-01-22 16:41 Wido den Hollander
  2013-01-22 17:15 ` Jeff Mitchell
  2013-05-07 19:45 ` John Nielsen
  0 siblings, 2 replies; 5+ messages in thread
From: Wido den Hollander @ 2013-01-22 16:41 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,

(http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/12316)
 > Hopefully not Varnish-specific; something like the Last-Modified header
 > would be good.
 >
 > Also there are tricks you can do with queries; see for instance
 > http://forum.nginx.org/read.php?2,1047,1052

It seems like a good discussion to have, since more people are looking 
at this.

Yehuda started a thread in May last year about the future directions of 
the RGW: http://www.spinics.net/lists/ceph-devel/msg06257.html

To improve performance I still think using a proxy like Varnish or Nginx 
can help a lot.

Now, when running just one Varnish instance which does loadbalancing 
over multiple RGW instances is not a real problem. When it sees a PUT 
operation it can "purge" (called banning in Varnish) the object from 
it's cache.

When looking at the scenario where you have multiple caches you run into 
the cache-consistency problem. If an object is modified the caches are 
not notified and will continue to serve an outdated object.

Looking at the Last-Modified header is not an option since the cache 
will not contact RGW when serving out of it's cache.

To handle this there has to be some kind of "hook" inside RGW that can 
notify Varnish (or some other cache) when an object changes.

Is this something that's on the roadmap? Thoughts?

Wido

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-07 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22 16:41 RGW object purging in upstream caches Wido den Hollander
2013-01-22 17:15 ` Jeff Mitchell
2013-05-07 19:45 ` John Nielsen
2013-05-07 22:25   ` Yehuda Sadeh
2013-05-07 23:01     ` John Nielsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.