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)
developer.mozilla.org Graveyard
KumaScript
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.
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 1•13 years ago
|
||
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
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Docs Platform → Editing
Updated•11 years ago
|
Component: Editing → KumaScript
Updated•11 years ago
|
Severity: normal → enhancement
Comment 2•7 years ago
|
||
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
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•