Slow down in performance / Redis / self host
Hey, we've got a staging and production setup of Novu running on AWS ECS. When we've tested and tweaked things in the staging environment, we simply push the docker image to production and get it up and running there.
But, here's the thing: lately, we've noticed that the production instance (which isn't heavily used right now) tends to slow down over time. Certain endpoints like
However, we stumbled upon something interesting today. We found that if we restart our Redis instance (which we don't normally do during deployments), Novu instantly becomes more responsive.
I am unsure if the slow down is something that happens over time on its own, or if it is related to not restarting Redis when a new deployment takes
Anyway, just wanted to share this observation with you. Let me know if you have any thoughts or suggestions.
But, here's the thing: lately, we've noticed that the production instance (which isn't heavily used right now) tends to slow down over time. Certain endpoints like
feed and markAs take up to 40 seconds to complete, even for users with less than ten notifications.However, we stumbled upon something interesting today. We found that if we restart our Redis instance (which we don't normally do during deployments), Novu instantly becomes more responsive.
I am unsure if the slow down is something that happens over time on its own, or if it is related to not restarting Redis when a new deployment takes
Anyway, just wanted to share this observation with you. Let me know if you have any thoughts or suggestions.