\On Sunday, 2010-02-07, at 4:26 , Eric Kow wrote:
For the interested, here is the latest status on this bug:
http://bugs.darcs.net/msg9192 (issue1447 update 2009-11).
The bad news: I'm afraid our attention is focused on other
performance issues right now.
..
The good news: We'll be seeing Benedikt Schmidt, author of the
filecache optimisation at the Zurich hacking sprint.=
Go Benedikt Schmidt!
One short-term solution might to use a git mirror as a sort of
cache for the website.
That's an interesting idea, but it sounds like work.
Progress: I've extended darcs-benchmark for better darcs annotate
support.
Thank you!
I updated the ticket with the following comments:
So fixing this would only really matter for the case where users
specifically decide to run the source browser on an older version
of a file or directory.
Just to be clear this is a common case. If you want to browse the
most recent version of the source you can just use your text editor
on your local repo, but if you want to browse an older version you
need more tool support. We often browse older versions in the Tahoe-
LAFS development process.
Another problem is that trac locks the entire database while invoking
trac-darcs. So if any user clicks on "annotate" then all users get a
timeout from the entire web site http://allmydata.org/trac/tahoe-lafs
until the "darcs annotate" completes.
Now that's clearly something that could be improved by trac itself --
if it knew which queries to the revision control plugin were side-
effect free then it could leave the database unlocked when issuing
those commands. Then other users would not be blocked and as long as
the revision control tool was concurrency-safe for multiple
simultaneous read queries and at most one write command nothing bad
would happen.
However, it would be really nice if darcs were so fast that it was
usuable for this use case even when trac locks the database for all
queries.
Regards,
Zooko
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users