Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository information should be cached locally, at least per operation #95

Open
GoogleCodeExporter opened this issue Jun 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. check version log of a file

What is the expected output? What do you see instead?
It works, but it should be faster.

Basically, one of my files got corrupted, so I wanted to check the boar version 
log to see what I had in the repository. Retrieving said log took pretty long, 
so I checked the server logs (see attachment). Basically, the same files are 
checked time and again, but especially the bloblists can be rather large, so 
downloading them more than once per operation doesn't seem to make much sense.

My server is just a machine at my home, a netbook with bitvise ssh server and 
Win7. I'm on a 10MBit/s upstream 50MBit/s downstream connection, but the ssh 
encryption bottlenecks this down to something around 300 kbyte/s in either 
direction. As you can see in the logs, there's a 9MByte bloblist that was 
downloaded 4 times in those transfers alone (and there were more before that), 
each time taking about 15 seconds. That really adds up and slows down 
operations in a way that isn't necessary.

Original issue reported on code.google.com by jannis.u...@stoppe.de on 14 Feb 2013 at 2:00

Attachments:

@GoogleCodeExporter
Copy link
Author

Agreed, listing the log of a file should certainly not be a heavy operation.

Original comment by ekb...@gmail.com on 14 Feb 2013 at 2:27

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant