-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove redudant db commit when getting serialised service #4337
Conversation
bfb23f9
to
06c36fd
Compare
this was introduced here: 46dbcb7
concurrent db connection count is not as big a concern for us right this second as it used to be |
If it makes sense to remove this we should also remove the one for
…and notifications-api/app/serialised_models.py Line 130 in 84e7981
But (without a description in your PR) I’m not understanding the benefit/rationale for doing this now. |
06c36fd
to
f582fb4
Compare
f582fb4
to
c40242e
Compare
i'm still a little skeptical about this:
|
Yes this PR will not solve the actual redis issue but it may stop 504 error when redis connection is closed |
Recent P1 stared with eventlet timeout for |
We have investigated P1 504 outage and came across following possible issue. This PR is to remove db commit which was added previously to close the transaction to improve the performance.
First we get redis error - kibana
then pg connection closed error - kibana
Possible scenario we found during the P1 504 outage: