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
Currently the server refreshes it's in memory cache every x seconds. This is bad design and puts unnecessary load on the server and the database. Earlier we had kept it to 5 minutes to keep the load low, but that lead to this substantial delay in reflecting the edits.
We should use mongodb change streams to only update the urlmap when there is a change in the database collection storing the urls.
The text was updated successfully, but these errors were encountered:
Currently the server refreshes it's in memory cache every
x
seconds. This is bad design and puts unnecessary load on the server and the database. Earlier we had kept it to 5 minutes to keep the load low, but that lead to this substantial delay in reflecting the edits.We should use mongodb change streams to only update the urlmap when there is a change in the database collection storing the urls.
The text was updated successfully, but these errors were encountered: