List for cgit developers and users
 help / color / mirror / Atom feed
* Caching and concurrency?
@ 2013-04-13 13:54 lekensteyn
  2013-04-13 14:37 ` john
  0 siblings, 1 reply; 2+ messages in thread
From: lekensteyn @ 2013-04-13 13:54 UTC (permalink / raw)


Hi,

I was wondering how well the caching mechanism of cgit works. Is it designed 
for concurrent access to the cache folders? I am tempted to use nginx cache 
mechanism, but a downside of that is that duplicate cache entries may occur 
(?id=d34db33f vs ?id=d34db33f000000 are possibly the same, but I guess nginx 
sees it as the same) and that entries are at least as old as the nginx cache 
expirity time.

Anyway, the questions:
- Is cgits cache immediately updated whenever the git tree is updated? If not, 
what delay can I expect?
- Is it better to use a dedicated caching proxy (nginx) instead of cgit when 
available?
- How well prepared is cgit for concurrent access?

Of course I should measure it myself too, but are there any obvious points I 
should take into account when considering a cache mechanism?

Regards,
Peter




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

end of thread, other threads:[~2013-04-13 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-13 13:54 Caching and concurrency? lekensteyn
2013-04-13 14:37 ` john

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).