Better explanation about continuous updates (#7)
Browse files- Better explanation about continuous updates (eb5580619e9502d54c61ecfe465ef59e237eafa7)
Co-authored-by: Shih-Ying Yeh <[email protected]>
README.md
CHANGED
|
@@ -39,6 +39,7 @@ Images are provided in the full original form (be that JPG, PNG, GIF or otherwis
|
|
| 39 |
|
| 40 |
The reason for the bucketing is that a single directory would cause pathological filesystem performance, and modulo ID is a simple hash which spreads images evenly without requiring additional future directories to be made or a filesystem IO to check where the file is. The ID is not zero-padded and files end in the relevant extension, hence the file layout looks like this:
|
| 41 |
|
|
|
|
| 42 |
```bash
|
| 43 |
$ tree / | less
|
| 44 |
|
|
@@ -53,8 +54,23 @@ $ tree / | less
|
|
| 53 |
β β β βββ 210001.png
|
| 54 |
β β β βββ 3120001.webp
|
| 55 |
β β β βββ 6513001.jpg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
```
|
|
|
|
|
|
|
| 58 |
|
| 59 |
Currently represented file extensions are: avi/bmp/gif/html/jpeg/jpg/mp3/mp4/mpg/pdf/png/rar/swf/webm/wmv/zip.
|
| 60 |
|
|
|
|
| 39 |
|
| 40 |
The reason for the bucketing is that a single directory would cause pathological filesystem performance, and modulo ID is a simple hash which spreads images evenly without requiring additional future directories to be made or a filesystem IO to check where the file is. The ID is not zero-padded and files end in the relevant extension, hence the file layout looks like this:
|
| 41 |
|
| 42 |
+
|
| 43 |
```bash
|
| 44 |
$ tree / | less
|
| 45 |
|
|
|
|
| 54 |
β β β βββ 210001.png
|
| 55 |
β β β βββ 3120001.webp
|
| 56 |
β β β βββ 6513001.jpg
|
| 57 |
+
β β
|
| 58 |
+
β βββ recent
|
| 59 |
+
β β βββ 0000 -> data-1000.tar
|
| 60 |
+
β β βββ 0001 -> data-1001.tar
|
| 61 |
+
β β
|
| 62 |
+
β βββ updates
|
| 63 |
+
β β βββ 20240319
|
| 64 |
+
β β β βββ dataset-0.tar
|
| 65 |
+
β β β βββ dataset-1.tar
|
| 66 |
+
β β β
|
| 67 |
+
β β βββ 2024xxxx
|
| 68 |
+
β β β βββ dataset-0.tar
|
| 69 |
+
β β β βββ dataset-1.tar
|
| 70 |
|
| 71 |
```
|
| 72 |
+
|
| 73 |
+
Where `data-{1000..1999}.tar` refer to recent update files (should be updated every few months) and `updates` refer to fast patches (should be updated every few days to few weeks).
|
| 74 |
|
| 75 |
Currently represented file extensions are: avi/bmp/gif/html/jpeg/jpg/mp3/mp4/mpg/pdf/png/rar/swf/webm/wmv/zip.
|
| 76 |
|