Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This Document explains:

  • Issues with current course API implementations - duplicated metrics in multiple tables

  • Enhancements to all course APIs- creating new API from existing API, redesign the tables schema

Current Design:

Key Problems:

  • Maintaining progress and assessment info for content in multiple tables

  • Maintaining few metrics of content like completecount, viewcount in both user_content_consumption and user_activity_agg table

  • Removing the common metrics will increase performance of Content State API

  • Content State Read API - Fetching progress and assessment score from different tables, user_activity_table for fetching both the progress/content state can decrease the cassandra reads

Proposed Design:

Solution 1:

Pros

  • Few changes required

Cons

  • Multiple Cassandra Reads

Solution 2:

Pros

  • No labels