unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/2] githttpbackend: dumb HTTP fallbacks
@ 2016-04-28  1:56 Eric Wong
  2016-04-28  1:56 ` [PATCH 1/2] githttpbackend: fall back to dumb if smart HTTP is off Eric Wong
  2016-04-28  1:56 ` [PATCH 2/2] githttpbackend: clamp to one smart HTTP request at-a-time Eric Wong
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Wong @ 2016-04-28  1:56 UTC (permalink / raw)
  To: meta

Smart HTTP cloning is nice for bandwidth utilization, but it
can eat up memory and CPU on a busy server; so fall back to
dumb HTTP if there is already a running backend or if an admin
decides to set `http.uploadpack' to `false' entirely.

Not that our large static file serving is great when it comes
to slow clients, at the moment; but of course I shall
improve on that...

Eric Wong (2):
      githttpbackend: fall back to dumb if smart HTTP is off
      githttpbackend: clamp to one smart HTTP request at-a-time

 lib/PublicInbox/GitHTTPBackend.pm | 52 ++++++++++++++++++++++++++++-----------
 t/httpd.t                         |  9 +++++++
 2 files changed, 46 insertions(+), 15 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-28  1:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28  1:56 [PATCH 0/2] githttpbackend: dumb HTTP fallbacks Eric Wong
2016-04-28  1:56 ` [PATCH 1/2] githttpbackend: fall back to dumb if smart HTTP is off Eric Wong
2016-04-28  1:56 ` [PATCH 2/2] githttpbackend: clamp to one smart HTTP request at-a-time Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).