From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DDD161F803 for ; Wed, 9 Jan 2019 22:49:13 +0000 (UTC) Received: by mail-io1-xd2c.google.com with SMTP id r200so7372951iod.11 for ; Wed, 09 Jan 2019 14:49:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mJSPJGCC5blNabaRNaBDbG1YylFWuYk/Q/IOazBWf20=; b=ZlPhqRCmTYLO5O/LXSzzBqUHqiz6f6zdldzEr3XdaKhzxeYHlKApXeNVWkR7GGPw/R SKJpbwcHpXoPy1Fec1jyLKEqmTOm2Hcu7gLFJSQkqlYC7/DRmhAO0bgAGkt26yYeHfBT aTEu20rAlWOPZsMB2ni64NXISaTkeLxEPp3lg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=mJSPJGCC5blNabaRNaBDbG1YylFWuYk/Q/IOazBWf20=; b=UyJrq74588szBOy2wYfX3wlKXDiSd70T/9ASvuxI8sbrplHXKfJAMMfAV472ME7B20 n6V30k8+9tkAUzRmavNC7IWPJ1zIAt23D50+/DsF5cIp9hT1Ep7PzkFFEOFl5igVtzuO e3A+/PV8ABIKqm8ARkpkpOJgZ/V/SMyvvFVPFTDIjO3xMGMR3jDU4+xOQSxIkEtKT4rL ZpBLxzH9g1oanWkyPFQVLANi9ZqOebcWLd5S1ARQ495qenL++vWX7tYFwQPLqN/h7XHW dANxGfQfSsYlAl4XCU94B4xbTDW6YXPGHydNymd0x0Iu2tHuQMKAQJXJFLOP1Gm78xwV F7pQ== X-Gm-Message-State: AJcUukdHrXgfMvQpM0AbdUBt9oM9MDkVt8o85puTMd3ozdZwG0qiyDFW jnUm3fsjj0HB+Nv4i5YypuvOAA== X-Google-Smtp-Source: ALg8bN6rVKdL6g/Y7THBX5f8SZjxJ99sopc39+elyALPptqy2WNQ3spfKaQl65loi7N+LZc3HI15qg== X-Received: by 2002:a6b:8f08:: with SMTP id r8mr5294117iod.56.1547074152700; Wed, 09 Jan 2019 14:49:12 -0800 (PST) Received: from pure.paranoia.local ([198.144.156.49]) by smtp.gmail.com with ESMTPSA id y76sm9473205ita.18.2019.01.09.14.49.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jan 2019 14:49:12 -0800 (PST) Date: Wed, 9 Jan 2019 17:49:09 -0500 From: Konstantin Ryabitsev To: Stefan Beller Cc: Eric Wong , git , meta@public-inbox.org Subject: Re: "IMAP IDLE"-like long-polling "git fetch" Message-ID: <20190109224909.GC8258@pure.paranoia.local> Mail-Followup-To: Stefan Beller , Eric Wong , git , meta@public-inbox.org References: <20181229034342.11543-1-e@80x24.org> <20181229035621.cwjpknctq3rjnlhs@dcvr> <20181229043858.GA28509@pure.paranoia.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: On Wed, Jan 09, 2019 at 02:27:25PM -0800, Stefan Beller wrote: > > > I would've thought somebody had done this by now, but I guess > > > it's dependent on a bunch of things (TLS layer nowadays, maybe > > > HTTP/2), so git-daemon support alone wouldn't cut it... > > > > Polling is not all bad, especially for large repository collections. > > I disagree with that statement. > > IIRC, More than half the bandwidth of Googles git servers are used > for ls-remote calls (i.e. polling a lot of repos, most of them did *not* > change, by build bots which are really eager to try again after a minute). Oh, that's not the kind of polling I meant -- we monitor a single manifest file containing the state of all repositories. It's a static file served directly by any httpd daemon, and the only traffic is usually the "not modified" http header. -K