Closed Bug 756204 Opened 13 years ago Closed 7 years ago

kumascript: Implement key prefix for memcache usage

Categories

(developer.mozilla.org Graveyard :: KumaScript, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lorchard, Unassigned)

Details

jakem commented in bug 740093: > Okay, so we'll need to run a local memcache for the dev node then, because > otherwise with a prefix of just "kuma" and "kumascript", dev/stage/prod will all > conflict with each other. This probably won't scale well (in terms of # of > servers needed), so if it's something we can fix on the 2 apps eventually, that > would be good. But, developer-dev.allizom.org is just one server, so a local > memcached will work just fine. Two possible solutions: 1) Patch node-memcached to support a key prefix, upstream the change to the project. Use a private fork until/unless the upstream pull request is accepted. 2) Intercept memcache calls within kumascript and add a key prefix Most ideal is #1, assuming the upstream project will accept the patch. If it never does, then we're stuck with a private fork that we'll hopefully keep updated. Less ideal is #2, which depends less on upstream changes but will probably be a hack.
Blocks: 710728
Blocks: 756263
No longer blocks: 710728
Moving this to post-july, because we've discovered that Django 1.2 doesn't support key prefixes either. So, even if kumascript could be moved to memcache servers shared by multiple apps, kuma itself couldn't be
Blocks: 756266
No longer blocks: 756263
Version: Kuma → unspecified
Component: Docs Platform → Editing
No longer blocks: 756266
Component: Editing → KumaScript
Severity: normal → enhancement
This appears to be about using the same memcache server in different environments (prod / stage / dev). The best practice in 2018 is to run a different server for each environment.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.