Skip to content

Commit

Permalink
Documentation updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Janee committed Apr 3, 2016
1 parent d8f4e8f commit 5f14ff6
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Caching is employed in several places. All caches are emptied when
EZID is reloaded.

ezid.conf settings
Cached in various modules. Loaded at module load time. Invoking
the "Reload EZID" admin function causes all settings to be
reloaded (except Django and logging settings).
The settings used in modules are cached by those modules. Loaded
at module load time. Reloading EZID causes all settings to be
reloaded except Django and logging settings.

userauth._ldapCache authentication cache
A dictionary that maps local usernames to (hashed password, time,
Expand Down Expand Up @@ -83,6 +83,17 @@ EZID is reloaded.
Cached in agent identifiers for the purposes of storage redundancy
and locality only. Written only, never read.

shoulder.py
Caches shoulder and datacenter objects from the store database;
the database itself caches the content of the external shoulder
file. Loaded when shoulders are first referenced. Note that
shoulders and datacenters are never changed within EZID.

store_group.py
Caches group objects from the store database. Loads objects on
demand, as they're referenced. Emptied when EZID is reloaded and
when groups are modified or deleted.

search database
The search database is not a cache, strictly speaking, but as a
quasi-clone of the store database it engenders the same kinds of
Expand All @@ -94,14 +105,7 @@ EZID is reloaded.

search_identifier.py
Caches user, group, datacenter, and profile objects from the
search database. Loads objects on demand, as they're referenced,
and also inserts referenced datacenters and profiles that aren't
in the database yet.

shoulder.py
Caches shoulder and datacenter objects from the store database,
which are themselves a cache of the content of the external
shoulder file.
search database. Loads objects on demand, as they're referenced.

4. Identifier metadata
----------------------
Expand Down

0 comments on commit 5f14ff6

Please sign in to comment.