Closed
Bug 934594
Opened 11 years ago
Closed 11 years ago
Add memcached support to buildapi
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
Details
Attachments
(1 file)
9.22 KB,
patch
|
catlee
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
Buildapi currently uses redis as a caching backend. It has a stub implementation of memcached, but no actual code. We'll need to add memcached support in order to move off of redis.
Assignee | ||
Comment 1•11 years ago
|
||
Chris, per our meeting yesterday, I think it's reasonable for me to proceed with this - sound good? For signing (bug 934623), the proper solution remains to be seen.
Flags: needinfo?(catlee)
Comment 2•11 years ago
|
||
sure, sounds good. One thing to watch out for is max value size. I think we ended up having to gzip some data so it would fit in a single redis key.
Flags: needinfo?(catlee)
Assignee | ||
Comment 3•11 years ago
|
||
The max for a Redis key is 512M, while the max for Memcached is 1MB. The biggest key I see in redis right now is a bit over 3K. So I think we're safe..
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #829515 -
Flags: review?
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 829515 [details] [diff] [review] bug934594.patch I'm not particularly sure what to do with the test script, but it did uncover bugs in the redis implementation.
Attachment #829515 -
Flags: review? → review?(catlee)
Assignee | ||
Comment 6•11 years ago
|
||
As I mentioned yesterday, I'd like to land this regardless of whether we we use memcached, since it fixes redis bugs. If you'd like, I can redraft with the memcached stuff removed.
Updated•11 years ago
|
Attachment #829515 -
Flags: review?(catlee) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #829515 -
Flags: checked-in+
Assignee | ||
Comment 7•11 years ago
|
||
I made the log.exception change you mentioned in irc.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•