Comments (5)
This is not reproducible on Stage
from addons.
For context, this is how the code is expected to work:
- user performs an action that causes a DB write (such as submitting a review)
- they get a cookie that pins them to the master MySQL DB for 15 seconds
- each subsequent request should get data from the master DB instead of a slave DB
- this prevents them from seeing any noticeable lag
Some theories:
- maybe 15 seconds is too short on AWS and we need to increase it. We're still trying to find evidence of laggy slaves or not.
- maybe django-cache-machine is involved? That deals with selecting data from memcache instead of the db. Not sure if it's related though.
from addons.
This is causing problems with login related to new users see #1618 - ops are investigating.
from addons.
Update: @jasonthomas increased the size of redis and the cache lag seems to have gone away. That is, I can no longer reproduce the add/delete/refresh test on the review page. This suggests that the key flush lists which were stored in redis were getting evicted before the associated memcache keys were evicted, resulting in memcache keys that never got flushed. Redis is at version 2.8.23 and is currently configured for volatile-lru. Jason is monitoring it and we'll have to see if the problems come back once the larger redis instance hits its max memory.
from addons.
Thanks for verifying. I am skeptical that this is actually fixed :) But we'll see what happens when the larger redis instance hits its memory max and has to start evicting the cache. We can always re-open though.
from addons.
Related Issues (20)
- API keys - confirmation email wasn't sent, no way to resend email confirmation HOT 1
- [Bug]: Cinder - changes which should be tracked
- [Task]: Allow AMO reviewers to mark abuse reports as being invalid HOT 5
- [Task]: send enforcement action to cinder api when notifying about a decision HOT 9
- [Task]: use new jobs/.../decision api to make decisions on job HOT 3
- [Bug]: [DEV] Searching with special characters will not return any suggestions HOT 1
- [Task]: implement adding and removing a block for versions of an add-on in the reviewer tools
- [Task]: Implement editing a block for a set of versions for an add-on in the reviewer tools HOT 1
- [Task]: Implement bulk blocklist block creation/deletion/edit for multiple add-ons in the reviewer tools HOT 1
- [Task]: Add persistent volume for local data
- [Bug]: Send the correct email to reporters for "Developer feedback" and "Not enough information" HOT 6
- [Task]: Update copy of support options on supressed email page HOT 4
- [Bug]: Makefile incorrectly creates and uses values stored in .env
- [Bug]: All amo reviewer actions should be registered in Cinder's Decisions tab HOT 9
- [Task]: Udpate docs HOT 1
- [Bug]: Fix digest not being read. HOT 2
- [Task]: only sync AMO specific policies from cinder HOT 3
- [Task]: Run github actions with docker compose
- [Bug]: Several pending rejections for the same version leading to using the wrong rejection message HOT 3
- [Bug]: browser crash when downloading/saving webp as jpg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addons.