git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* read-for-fill and caching in gitweb (Re: kernel.org mirroring)
@ 2006-12-28 20:45 Martin Langhoff
  2006-12-29  3:21 ` Robert Fitzsimons
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Langhoff @ 2006-12-28 20:45 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jeff Garzik, H. Peter Anvin, Rogan Dawes, Kernel Org Admin,
	Git Mailing List, Jakub Narebski

On 12/9/06, Linus Torvalds <torvalds@osdl.org> wrote:
> Actually, just looking at the examples, it looks like memcached is
> fundamentally flawed, exactly the same way Apache mod_cache is
> fundamentally flawed.

memcached is really fast internally, but can be rather slow from the
POV of the client code, as it forces a costly
marshalling/unmarshalling of data. For perl-only situations where it
is OK to have per-server caches, I have been looking at
Cache::FastMmap. I will probably try to implement caching for the
projects, summary & log/shortlog pages using Cache::FastMap

And I'll do read-for-fill for it, and see how that goes.

(BTW, in the last week I've had to implement a similar
anti-thundering-herds cache in PHP using memcached and/or eaccelerator
-- a shmem cache -- and I've done a read-for-fill for both of them
that works reasonably well.)

cheers,


martin

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

end of thread, other threads:[~2006-12-29 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 20:45 read-for-fill and caching in gitweb (Re: kernel.org mirroring) Martin Langhoff
2006-12-29  3:21 ` Robert Fitzsimons
2006-12-29 10:40   ` Jakub Narebski
2006-12-29 11:46     ` Martin Langhoff
2006-12-29 12:47       ` Jakub Narebski
2006-12-29 19:31     ` Robert Fitzsimons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).