Closed
Bug 985991
Opened 11 years ago
Closed 11 years ago
Loop Server —implement a redis store
Categories
(Hello (Loop) :: Server, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alexis+bugs, Assigned: rhubscher)
References
Details
Attachments
(2 files)
Sessions and Tokens from our provider will not be stored for a long period of time and should go into a specific in-memory store.
Elasticache seems the option here, which has different backends itself. We would need a connector to memcache here.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → rhubscher
Reporter | ||
Comment 2•11 years ago
|
||
After some discussions with ops, it seems clear we want to do that with memcached.
Assignee | ||
Comment 3•11 years ago
|
||
I'd like to use this https://www.npmjs.org/package/uber-cache and use their API.
Assignee | ||
Comment 4•11 years ago
|
||
https://github.com/serby/uber-cache-memcached as been landed.
I am changing loop-server to handle the new store API.
Assignee | ||
Comment 5•11 years ago
|
||
So the next step was to have a helper that helps getting the cache backend from the configuration.
Attachment #8398616 -
Flags: review?(alexis+bugs)
Reporter | ||
Comment 6•11 years ago
|
||
So, it actually seems that catbox already provide what we want, maybe we should just use it rather than reimplement it? https://github.com/spumko/catbox
Assignee | ||
Comment 7•11 years ago
|
||
Ok, I just released https://www.npmjs.org/package/uber-cache-helpers so that the work we did on it is not lost. And I told Paul Serby that we will use catbox. He should release uber-cache-memcached soon.
Reporter | ||
Updated•11 years ago
|
Attachment #8398616 -
Flags: review?(alexis+bugs) → review-
Reporter | ||
Comment 8•11 years ago
|
||
I'm changing the name of this ticket since we want to use redis for everything and not memcache here.
Summary: Loop Server —implement a memcache store → Loop Server —implement a redis store
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8405046 -
Flags: review?(alexis+bugs)
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 8405046 [details] [review]
Link to GitHub PR.
https://github.com/mozilla-services/loop-server/commit/130d944d116f522adac8a3e975242883b22fa10f
Attachment #8405046 -
Flags: review?(alexis+bugs) → review+
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 11•11 years ago
|
||
Verified in code and verified the work on the OPs side...
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•