Skip to content

Halfway multi tenancy

Sef Kloninger edited this page Oct 4, 2013 · 2 revisions

Instead of doing true multi-tenancy, this is an immediate solution that will allow us to have multiple instances sharing much of the infrastructure, without fully duplicated instances.

Stanford is doing this to support two additional instances.

Requirements

Goals

  1. Ability to support different themes
  2. Data segregation
  3. Done with what we have now
  4. Course separation
  5. Account separation

Non-Goals

  1. Different code bases -- we want to install the same code to all instances
  2. Shared everything
  3. Full isolation

Proposal

Before Diagram

Pre

After Diagram

Note the additions for CME are in blue, Carnegie in red.

Post

Issues

  1. Shared Studio? No, too weird, and "view live" gets exciting.

  2. Redirects between instances? Hope not.

8/13 Review Notes

Jarv: why not just run separate silos (new cloudformation runs)?

Summary

  1. Split frontends - OK

  2. Shared databases with different instances -- fine, don't just separate instances, separate accounts as well

  3. Shared memcache but with prefix key -- fine

  4. Rabbit / celery - virtual hosts, OK

  5. Separate workers - OK

  6. Separate heroku - OK

Clone this wiki locally