Re: [RFC/PATCH 0/3] protocol v2
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 24, 2015, 18:00 UTC
- Message-ID
- <xmqq619q6zsx.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAGZ79kZ22Fo5xGrk3x5+hV6WdbUg0A0h1fXgPBukenOxqyxVZw@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 5 quoted lines
> So I started looking into extending the buffer size as another 'first step' > towards the protocol version 2 again. But now I think the packed length > limit of 64k is actually a good and useful thing to have and should be > extended/fixed if and only if we run into serious trouble with too small > packets later.
I tend to agree. Too large a packet size would mean your latency would also suck, as pkt-line interface will not give you anything until you read the entire packet. The new protocol should be designed around a reasonably sized packets, using multiple packets to carry larger payload as necessary.