On Thu, May 20, 2010 at 12:03 PM, Sitaram Chamarty <
sit...@atc.tcs.com> wrote:
>
> on 20/05/10 14:53 Christian MICHON wrote:
>
>> working fine, thanks a lot
>>
>>>>>
>>>>> I'm curious how this information helps...
>>>>>
>>>>
>>>> Figure out the load of the gitolite server, especially parallel
>>>> uploads/downloads :-)
>>>
>>> I wonder how many people even look at the existing log file; I know I
>>> only created it for audit purposes, not performance. �Anyway let me know
>>> if the patch works for you.
>>>
>>
>> I do care :-)
>
> The original purpose of gitolite is security, and hence auditability of
> access is relevant. Performance is not really central to gitolite's goals.
This is not about performance actually. It's more about knowing how
much data securely flows in and out, and the load required from that
machine.
>
> I also feel you should wrap "git-shell" on the server to acquire and log
> that info -- that is, it should not be a "gitolite" thing but a "git"
> thing, if you see what I mean.
Yes, I agree.
>
> Due to these reasons, I'm not too keen on putting this into mainline.
> Would you mind maintaining it as a patch on your side unless we hear
> from a few others that they also want it?
I'm fine with this.
I believe there's more value added in removing the 'system' calls from
your perl scripts to make it more robust or multi platform. I noticed
a lot of these calls when trying to setup a gitolite server on a linux
machine where only /bin/csh is allowed as login shell.
>
> My fear is that now you have elapsed time. Soon the perf guys will want
> CPU and IO time, and so on and on... sorry but I will not be getting
> into all that :) I'd rather nip it in the bud!
I'm not a perf guy. I'm concerned about security as you are (corporate
environment) and yet at the same time I want to know if I need to
upgrade or migrate the gitolite server if it is overloaded.
>
> I hope you don't mind :)
>
No problem :-)