Re: Balanced packing strategy
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 13, 2005, 02:34 UTC
- Message-ID
- <7vveyxcm3p.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <b6abcb70496730705046934973221b93@codefountain.com>
Craig Schlenter <craig@codefountain.com> writes:
> Does the pack index file contain enough information to enable a client > to send http byte range requests to grab individual objects from a pack? > It does seem to store object offsets...
Yes, it is certainly doable; there is enough information. I am not sure if it is worth the complexity, though.
Many objects are stored delitified, so your byte range requests would return delta and base object name. After you read what was returned and find out the base object name, you would need to get it, which can be another delta against its base object. This would make tangling a delta chain would become a serialized sequence of requests.