[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    Re: [RFC] use buffered stdio (lightly tested)
From:       Eric Wong <e () 80x24 ! org>
Date:       2019-01-05 22:02:08
Message-ID: 20190105220208.GA17849 () dcvr
[Download RAW message or body]

In the future, I think it could be even more beneficial to
buffer to zlib (if the client accepts gzip) and bypass stdio
buffering in those cases.  Smaller responses via gzip means less
IPC overhead and wakeups for the reader.

cgit is linked against zlib anyways because of git, so no extra
linkage, either.  But we'll need uncompressed code paths anyways
for clients which don't support gzip.
_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/cgit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic