# hop - tar 보다 10배 빠른 아카이브 포맷

> Clean Markdown view of GeekNews topic #5373. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5373](https://news.hada.io/topic?id=5373)
- GeekNews Markdown: [https://news.hada.io/topic/5373.md](https://news.hada.io/topic/5373.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-11-14T10:00:01+09:00
- Updated: 2021-11-14T10:00:01+09:00
- Original source: [github.com](https://github.com/Jarred-Sumner/hop)
- Points: 8
- Comments: 4

## Topic Body

- 전체 아카이브를 풀지않고 랜덤으로 빠르게 특정 파일만 읽어내는 아카이브 포맷

ㅤ→ 압축 안함, 랜덤 억세스, 빠른 추출 및 아카이빙 지원

ㅤ→ unzip보다 25배, tar보다 10배 빠름

- tar보다 단점은 append가 불가능하다는 것

- 파일 경로의 해시배열을 저장하고, 파일을 사전순으로 정렬해서 저장해서 빠르게 처리

- 제작자가 개발중인 빠른 번들러 bun 에서 사용 예정

## Comments



### Comment 24480

- Author: zihado
- Created: 2024-04-16T19:23:36+09:00
- Points: 1

개발이 이제 중단되었나보네요 ㅜㅜ

### Comment 7597

- Author: v08zbv8fvlkjasdflkj
- Created: 2021-11-15T12:47:47+09:00
- Points: 1

저는 데이터 처리용으로 압축안하고(store) zip 만들고 이걸 mount해서 사용하고 있는데, 근데 읽다보니 컨셉이 이해가 안가네요. zip도 전체 아카이브 안풀고 파일 읽을 수 있는데 왜 unzip과 비교를 하는거죠

### Comment 7590

- Author: kunggom
- Created: 2021-11-15T08:45:28+09:00
- Points: 1

생각보다 별로 범용적인 것 같지는 않은데… 하고 생각했는데, 개발 목적이 확실하군요. 번들러에서 쓸 것이니 최대 파일 크기가 4GB 이상일 필요가 없고, 기본적으로 읽기 전용이며, 대신 개별 파일에 대한 랜덤 액세스 속도는 빠르게 하여 자잘한 파일이 많은 node_modules 폴더 처리를 개선하겠다는 그런 식이로군요.

### Comment 7587

- Author: choijaekyu
- Created: 2021-11-14T13:57:39+09:00
- Points: 1

zig 언어는 처음 보네요
