Versions Compared

Key

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

Table of Contents

Block Structure is the terminology we currently use for the framework that manages and caches data collected and transformed by Block Transformers.  This document proposes a solution to address the issues with the current design for updating and invalidating Block Structure data.

...

  • Multiple versions in memcached. No longer delete the memcached entry as soon as a new version of the course published. With version identifiers, there may now be multiple entries per course at any given time.  
    Jira Legacy
    serverJIRA (openedx.atlassian.net)
    serverId13fd1930-5608-3aac-a5dd-21b934d3a4b4
    keyTNL-6323
  • Separate Queue. Have a separate celery queue for CBS updates, so they can be monitored and horizontally scaled in isolation. Decided against this.  See 
    Jira Legacy
    serverJIRA (openedx.atlassian.net)
    serverId13fd1930-5608-3aac-a5dd-21b934d3a4b4
    keyTNL-6324
    .
  • The CBS Update task should:
    • Not recompute the CBS if there is already a cached entry for the latest version.
    • Store the CBS in S3 and update the pointer in SQL.
    • Not store Store the CBS in Memcached as it is an and let the LRU cache and should be maintained by the Readersbased on Reader access.

Transformer Version Updates

...