Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #96917

Re: Apple Server - cache - monitoring

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Apple Server - cache - monitoring
Date 2016-11-15 17:10 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <e90tsdF46dtU1@mid.individual.net> (permalink)
References <lNqdnbuE84pk07fFnZ2dnUU7-IfNnZ2d@giganews.com>

Show all headers | View raw


On 2016-11-14, Alan Browne <alan.browne@freelunchvideotron.ca> wrote:
>
> Assuming I understand the Server Cache correctly, if I use App Store to 
> update mac OS on this machine, then the cached file will automatically 
> be used to update the other machines connected to the server such as my 
> SO's MBA.  Likewise for iOS updates.

As others have said, the caching server caches downloads from *all* Apple
clients on the same network by default.

From Server Help:

<https://help.apple.com/serverapp/mac/5.2/index.html?localePath=en.lproj#/apd74DDE89F-08D2-4E0A-A5CD-155E345EFB83>

---
What is the caching service?

The caching service speeds up the downloading of software distributed by
Apple and of data in users’ iCloud accounts by caching content that
local Mac computers, iOS devices, and Apple TV devices have already
downloaded.

How does it work?

A Mac running the caching service keeps a copy of all content that local
networked devices (called clients) download.

For example, when the first client on your network downloads an
operating system update, the caching service keeps a copy of the update.
When the next client on the network connects to the App Store to
download the update, the update is copied from the caching service
rather than from the App Store.

Because the local network is normally much faster than the Internet, the
second client (and all subsequent clients) download updates much
faster.
---

> Where would I find logged evidence of the second computer using the 
> cached file instead of the internet?

Cache server logs are at /Library/Server/Caching/Logs/. I see entries
like this in the Service.log:

2016-11-14 23:54:38.606 #xr6mwkgfLzUA Received GET request by
"itunesstored/1.0" for
/apple-assets-us-std-000001/Purple71/v4/b4/17/87/b417873b-811d-2ec6-1016-96e8cec08579/pre-thinned4116222498731928807.thinned.signed.dpkg.ipa
2016-11-14 23:54:42.290 #6y6pMiS2Qk8t Received GET request by
"itunesstored/1.0" for
/apple-assets-us-std-000001/Purple30/v4/6d/16/f0/6d16f06e-2058-f86a-29e1-aac05ae2b19d/pre-thinned4583633707797447312.thinned.signed.dpkg.ipa
2016-11-14 23:55:38.052 #6y6pMiS2Qk8t Served all 54.3 MB of 54.3 MB;
54.3 MB from cache, 0 bytes stored from Internet, 0 bytes from peers
2016-11-14 23:55:44.281 #xr6mwkgfLzUA Served all 56.7 MB of 56.7 MB; 0
bytes from cache, 56.7 MB stored from Internet, 0 bytes from peers
2016-11-14 23:55:44.281 Since server start: 9.61 GB returned to clients,
7.28 GB stored from Internet, 0 bytes from peers; 12.0 MB imported.

> Are the files in /Library/Caches or /System/Library/Caches or somewhere else visible?

The default location is /Library/Server/Caching/Data on the startup
volume. If you change it to another volume, the data is stored in a
hidden folder at the root of the volume (don't recall the name of the
folder at the moment, but it's an obvious one).

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Apple Server - cache - monitoring Alan Browne <alan.browne@freelunchvideotron.ca> - 2016-11-14 18:55 -0500
  Re: Apple Server - cache - monitoring Andreas Rutishauser <andreas@macandreas.ch> - 2016-11-15 07:20 +0200
    Re: Apple Server - cache - monitoring Alan Browne <alan.browne@freelunchvideotron.ca> - 2016-11-15 08:49 -0500
      Re: Apple Server - cache - monitoring Jolly Roger <jollyroger@pobox.com> - 2016-11-15 17:13 +0000
        Re: Apple Server - cache - monitoring Alan Browne <alan.browne@freelunchvideotron.ca> - 2016-11-15 18:08 -0500
          Re: Apple Server - cache - monitoring Jolly Roger <jollyroger@pobox.com> - 2016-11-15 23:41 +0000
  Re: Apple Server - cache - monitoring Alrescha <alrescha@gmail.com> - 2016-11-15 09:35 -0500
    Re: Apple Server - cache - monitoring Alan Browne <alan.browne@freelunchvideotron.ca> - 2016-11-15 18:07 -0500
  Re: Apple Server - cache - monitoring Jolly Roger <jollyroger@pobox.com> - 2016-11-15 17:10 +0000
    Re: Apple Server - cache - monitoring Alan Browne <alan.browne@freelunchvideotron.ca> - 2016-11-15 18:09 -0500

csiph-web