Subject: Re: [PATCH v4 8/8] cat-file: add --batch-command remote-object-info command

From: Junio C Hamano <[email-masked]>
Date: Thu, 05 May 2022 12:09:55 -0700

Junio C Hamano <[email-masked]> writes:

> I would have expected to see something like
>
> 	start batch
> 	request 1
> 	request 2
> 	...
> 	request 2000
> 	flush batch
>
> during which the other side patiently listens to our requests.  They
> (meaning the local process that reads the above and talks to a
> remote as needed) can coalesce the requests of the same kind
> (e.g. going to the same remote) while buffering and optimize their
> operation without having the caller of them to worry about it that
> way, no?

Ah, that is in the batch mode, and you were syaing that "one request
with multiple objects" would allow multiple object-info requests to
be hanled efficiently even in non-batch mode.  If that was what you
were talking about, I think that does make sense.  Thanks.