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=unavailable autolearn_force=no version=3.4.2 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 D96F91F405 for ; Sat, 29 Dec 2018 04:39:03 +0000 (UTC) Received: by mail-io1-xd33.google.com with SMTP id a2so5705906iok.7 for ; Fri, 28 Dec 2018 20:39:03 -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=jmT5EcoSH3j6NrjuhbCfVtz1qfu+yWzNedpvjUhwuX0=; b=ZXzOhIDbsGu0NJ0yp+HkAyDgFgETWG9a0NwNBAosSzCSwFsSCaTyOFFTdZDHy0krHh +L/u036wYXH9qWxsNYShBEGfnfIIGjP0/htz3KcyTcvqHRud4gPTAJByvHU8xXviWGx/ 156EiTPTKIs57izV6Cdl0URciJKk7HfdzvDag= 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=jmT5EcoSH3j6NrjuhbCfVtz1qfu+yWzNedpvjUhwuX0=; b=aJRCDU+atQK2I0kRMaG1ErpXUSxiVkF3C8iD54dYBXvwQR16s2mUj8gq4tLZfDfKcV zpvXUMOSQeOuUvTAKkY+o1oG7EivUvOXQ4c18DwzDN/OSxlWiwVw9o3NK2ahyYr2DENf 0xxPyziUJOncqGhaTs93uwAkwabgt+B57hHVSBsz2HXwPS/LO6jfiVoC3ut+9CrpV/uJ wx7RZo0UnHit9vIwa0CUn8X7Kwtkn+gJQc8hfE6pgh9oVJCsCQ8VUjcpB19hj8bsNqmx Iw3jxx/6eZJ9VnWRU8Y9tWDe4mq7MWMNxEzTpbVdFnZi71Pj1Yl8et7WYvkluv0pWfoc uMDw== X-Gm-Message-State: AJcUukeEnVep5lmra4eKN2eCxxWAt43yHGxdT2eEqy+2ZnTVWTnGa1XX 95IbQbCXB9t2enqwfi4Ce3M9sw== X-Google-Smtp-Source: ALg8bN6zCGU64ouxTwktdtmBvyiA67P/A+fG1EjIRMUnSXPhYO0hnxTonk/FCtJFEGzu8iW6D0ZnhQ== X-Received: by 2002:a5d:930f:: with SMTP id l15mr14044390ion.302.1546058342786; Fri, 28 Dec 2018 20:39:02 -0800 (PST) Received: from pure.paranoia.local ([198.144.156.49]) by smtp.gmail.com with ESMTPSA id r85sm19141547iod.13.2018.12.28.20.39.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Dec 2018 20:39:01 -0800 (PST) Date: Fri, 28 Dec 2018 23:38:58 -0500 From: Konstantin Ryabitsev To: Eric Wong Cc: git@vger.kernel.org, meta@public-inbox.org Subject: Re: "IMAP IDLE"-like long-polling "git fetch" Message-ID: <20181229043858.GA28509@pure.paranoia.local> Mail-Followup-To: Eric Wong , git@vger.kernel.org, meta@public-inbox.org References: <20181229034342.11543-1-e@80x24.org> <20181229035621.cwjpknctq3rjnlhs@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181229035621.cwjpknctq3rjnlhs@dcvr> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: On Sat, Dec 29, 2018 at 03:56:21AM +0000, Eric Wong wrote: > Hey all, I just added this to the TODO file for public-inbox[1] but > obviously it's intended for git.git (meta@public-inbox cc-ed): > > > +* Contribute something like IMAP IDLE for "git fetch". > > + Inboxes (and any git repos) can be kept up-to-date without > > + relying on polling. > > 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'm not sure you want to "idle" individual repositories when there's thousands of them. We ended up writing grokmirror for replicating repo collections using manifest files. > Anyways, until this is implemented, feel free to continue > hammering a way on https://public-inbox.org/git/ with frequent > "git fetch". I write C10K servers in my sleep -_- The archive is also mirrored at https://git.kernel.org/pub/scm/public-inbox/vger.kernel.org/git.git, and also on kernel.googlesource.com. -K