News for hackers. Stuff that matters.
Re:CernVM File System by breatheoften on Friday September 09, 2022 @10:23AM (#32779622)
How/when do changes propagate to clients? Do clients cache the contents they read forever ?
Re:CernVM File System by mboisso on Friday September 09, 2022 @10:30AM (#32779710)
Clients fetch content from stratum 1 servers as needed. Multiple layers of cache are possible/recommended, including 1) a local SQUID proxy (in the case of large infrastructure) 2) the client's local disk 3) a networked/parallel filesystem

Cache invalidation happens through checksums and catalogs (each revision has one or multiple nested catalogs, content is checksummed, and clients can know if one or multiple catalogs are outdated by comparing checksums they have to upstream checksums).