From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1goccU-0002Bm-QC for mharc-gwl-devel@gnu.org; Tue, 29 Jan 2019 18:16:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goccS-0002BY-Rv for gwl-devel@gnu.org; Tue, 29 Jan 2019 18:16:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goccS-0000wO-2v for gwl-devel@gnu.org; Tue, 29 Jan 2019 18:16:40 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21015) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1goccR-0000uV-Ju for gwl-devel@gnu.org; Tue, 29 Jan 2019 18:16:39 -0500 References: <87bm40qta0.fsf@elephly.net> <875zu7refm.fsf@elephly.net> <87womnptym.fsf@elephly.net> <874l9rpeiq.fsf@elephly.net> From: Ricardo Wurmus In-reply-to: Date: Wed, 30 Jan 2019 00:16:31 +0100 Message-ID: <87womnnjg0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: support for containers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zimoun Cc: gwl-devel@gnu.org zimoun writes: > What it is not clear to me is: how many store do we consider? > 1. one managing the package. Everything already here. Nothing to tell mo= re. :-) > 2. one about scripts > 3. one about data > Or the scripts and the data do they live in the same store? And the > script is just considered as a kind-of derivation for the data. Scripts and data are closely related. Since we don=E2=80=99t hash the data (because it=E2=80=99s expensive) the s= cripts are =E2=80=9Cproxies=E2=80=9D for the data files. We compute the hashes over t= he dependent scripts and assume that this is enough to decide whether to recompute data files or to serve them from the cache/store. -- Ricardo