DescriptionThis patch contains storage and performance improvements to help scaling issues that I see with Chromium's Rietveld instance. I originally thought they could use the same checksum to accomplish their task, which proved unworkable, however this explains why they ended up being together :)
Reuse base files when a copy already exists on the server. This cuts down on upload time, and more importantly, on storage space (Chromium's instance is using 100MB/week!).
Don't keep recalculating the delta links each time an issue is shown. On an issue with double digit patchsets and files, we see DeadlineExceededError often. This caches the data once it's been calculated. On one medium sized issue, it now takes 0.5s instead of 3s to generate the issue page.
Patch Set 1 #Patch Set 2 : update #Patch Set 3 : update to not do multi-entity puts, which I saw problems with on chromium's instance #Patch Set 4 : Take2: update to not do multi-entity puts, which I saw problems with on chromium's instance #Patch Set 5 : update #Patch Set 6 : update #Patch Set 7 : update #
MessagesTotal messages: 6
|
||||||||||||||||||||||||||||||||||||||||||||||