Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

User Stories and Features 

  1. Rest API 
  2. HTML UI interface showing summary info
  3. Stats
    1. resource count
    2. ocfl-size
    3. binary resource count
    4. binary byte count
    5. binary byte and resource count  by mimetype
    6. binary bytes in over the last n number of days, weeks, months
    7. bytes out over the last n number of days, weeks, months
    8. resources created over the last n number of days, weeks, months
  4. Provide some basic custom query capability
  5. API response bodies returned as JSON
  6. API response bodies returned as RDF serializations?

Components 

REST API

Documentation: Statistics

HTML UI

State Management

  • statistics are stored in the database along with the other indexes
  • on startup, the stats are compiled as part of the reindexing process.
  • As resources are created, retrieved, updated and deleted, statistics recorded in the database
  • Frequently used stats queries can be cached if necessary.

...