1. 24 Jun, 2015 2 commits
    • add tests for structure cache · b1346fc7
      use default cache for tests
      add test for when cache isn't configured
      add test for dummy cache
      noop if no cache found
      Adam Palay committed
    • Cache SplitMongo course structures in memcached. · 39ab0f31
      This is primarily to reduce load on MongoDB, where we've lately
      had performance problems that we suspect are caused by very
      large course structures being evicted from MongoDB's cache. This
      may potentially give us a path to better performance as well,
      but that's not the goal of this commit.
      
      Surprisingly, LZ4 seemed to actually run more slowly than zlib
      for this. Possibly because of some overhead in the Python
      bindings? GZip was also surprisingly slow given that it uses
      zlib underneath (something like 5x slower).
      
      Use separate cache backend for caching structures.
      
      Abstract out course structure cache.
      
      add datadog metrics for compressed course structure sizes
      
      Since we're using a different cache background, we don't need to have a cache prefix
      
      Use dummy cache backend for tests.
      
      Fallback to default cache if course_structure_cache doesn't exist.
      David Ormsbee committed
  2. 22 Jun, 2015 13 commits
  3. 19 Jun, 2015 18 commits
  4. 18 Jun, 2015 7 commits