Hannes Mehnert hannes
  • Joined on 2024-08-21
hannes commented on pull request robur/opam-mirror#28 2024-11-22 11:24:59 +00:00
Reserve an area for dumping the Serve.t -- basically the tarball and last_modified date

that's a good suggestion. yes we should :) (I noticed we already use Marshal for the md5/sha512 maps)

hannes created pull request robur/opam-mirror#28 2024-11-21 13:21:03 +00:00
Reserve an area for dumping the Serve.t -- basically the tarball and last_modified date
hannes created branch index-startup in robur/opam-mirror 2024-11-21 13:19:28 +00:00
hannes pushed to index-startup at robur/opam-mirror 2024-11-21 13:19:28 +00:00
1e5d412d2d Reserve an area for dumping the Serve.t -- basically the tarball and last_modified date
hannes commented on pull request robur/opam-mirror#27 2024-11-21 11:19:33 +00:00
specify sizes of partitions in MB, not in sectors

I don't recall why we used sectors in the first place. I know that nowadays the sector_size is configurable, and it is much more convenient to specify sizes in terms of MB.

hannes commented on pull request robur/opam-mirror#25 2024-11-21 11:16:57 +00:00
WIP: Cache only version

Ah, but maybe it is a cache that understands opam and retrieves all the needed artifacts in the cache upfront!?

hannes commented on pull request robur/opam-mirror#25 2024-11-21 11:16:21 +00:00
WIP: Cache only version

I do like the idea of purely acting as a cache... but then I wonder what the advantage over a "normal" HTTP caching proxy (such as squid in the old days) is?

Basically for each HTTP request, do…

hannes created pull request robur/opam-mirror#27 2024-11-21 11:12:31 +00:00
specify sizes of partitions in MB, not in sectors
hannes created branch specify-in-mb in robur/opam-mirror 2024-11-21 11:12:14 +00:00
hannes pushed to specify-in-mb at robur/opam-mirror 2024-11-21 11:12:14 +00:00
c5e091a294 specify sizes of partitions in MB, not in sectors
hannes created pull request robur/opam-mirror#26 2024-11-20 11:43:01 +00:00
add some Lwt.pause during Disk.check to allow the web server to process requests
hannes created branch add-pause-during-check in robur/opam-mirror 2024-11-20 11:42:41 +00:00
hannes pushed to add-pause-during-check at robur/opam-mirror 2024-11-20 11:42:41 +00:00
c57b070d87 add some Lwt.pause during Disk.check to allow the web server to process requests
hannes commented on issue robur/opam-mirror#20 2024-11-20 10:41:35 +00:00
Git to/of_octets and startup

From further discussion, it became clear to me:

  • revise partitions: add space for index.tar.gz etc.
  • also increase git dump partition and play around with level
hannes closed issue robur/opam-mirror#18 2024-11-20 10:39:26 +00:00
At startup, always check the digests of the files
hannes commented on issue robur/opam-mirror#18 2024-11-20 10:39:25 +00:00
At startup, always check the digests of the files

done in #24

hannes commented on issue robur/opam-mirror#21 2024-11-20 10:39:07 +00:00
Different URL with same checksum

done in #24

hannes closed issue robur/opam-mirror#21 2024-11-20 10:39:07 +00:00
Different URL with same checksum
hannes commented on issue robur/opam-mirror#13 2024-11-20 10:38:59 +00:00
Take the mirror into account in url

done in #24

hannes closed issue robur/opam-mirror#13 2024-11-20 10:38:59 +00:00
Take the mirror into account in url