You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
When a user leaves, and a new notification comes in, we clear the node and return a 503 to try again. That can push a decent amount of work onto the app-server, it would likely be better to actually continue the logic in endpoint, such that:
clear the node entry
save the notification
new node lookup
tell node to fetch messages if there
So essentially all we'd do is remove the raise exception, and let the message be saved immediately. That would reduce this 503 path, without much of a db hit change since most of the time the user has left and we are going to be storing the message for awhile.
The text was updated successfully, but these errors were encountered:
When a user leaves, and a new notification comes in, we clear the node and return a 503 to try again. That can push a decent amount of work onto the app-server, it would likely be better to actually continue the logic in endpoint, such that:
So essentially all we'd do is remove the raise exception, and let the message be saved immediately. That would reduce this 503 path, without much of a db hit change since most of the time the user has left and we are going to be storing the message for awhile.
The text was updated successfully, but these errors were encountered: