AN1RUDH
AN1RUDH
Explore posts from servers
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
Hi Vikram, sorry I missed this notification. We noticed that we have Find and FindAndUpdate queries in particular on jobs collections, that are taking a lot of time. I'll be trying to find what those queries are (exactly) and if we have correct indexes. Do you have the same issue? If you're on mongoDB atlas, you should be able to see slow queries I think. 🤔
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
Yes sure, Thank you very much!
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
btw we use Azure Cache for Redis. Tho I don't think it should be an issue -- I did see Azure cache for redis related env vars in Novu's codebase, but not sure if I should set those.
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
No description
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
Thank you for sharing, if you don't mind, can you share whats the avg (or if possible p90/p99) and max mongo request duration? Also, do you send notifications to topics? -- We send notifications to topics having many subscribers.
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
No description
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
No description
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
yes I have. I have these environment variables set on API and worker - REDIS_HOST - REDIS_PASSWORD - REDIS_PORT - REDIS_CACHE_SERVICE_HOST - REDIS_CACHE_SERVICE_PORT
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
Thank you for responding. I have created indexes from here -- https://github.com/novuhq/novu/tree/next/libs/dal/src/repositories (on every collection). And its still pretty slow (checkout my message (screenshot) above from yesterday) and the initial message. If its possible, can you share how many notifications you send daily?
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
Frequent operations that we do: - trigger (20-25k triggers for a specific workflow everyday. -- sent to topics) - update topics and subscribers in topics (e.g. insertion/deletion) - subscriber creation - reading notifications
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
@Support Sorry for tagging, Again, I'm aware that support for self-hosting is not provided but just wanted to get your eyes on it and wanted to confirm if this happens w/everyone or not. (in case we have some misconfigurations or something). Thank you.
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
No description
22 replies
NNovu
Created by AN1RUDH on 9/29/2024 in #💬│support
Novu is slow even after creating indexes
No description
22 replies
NNovu
Created by AN1RUDH on 9/4/2024 in #💬│support
Events keep getting merged with same old trigger event (Digest issue)
I was able to do this. Seems to be working now. Thanks for the help. Also --
Also, novu seems very slow (again, can be seen in the video). We've had M40 (16GB RAM, 4vCPU) tier mongo instance, yet we kept getting notifications form mongo for these -- Query Targeting: Scanned Objects / Returned has gone above 1000 System: CPU (User) % has gone above 95 The DB name created by default was test (not sure if this is expected).
I wasn't expecting for mongo instance to struggle w/M40 config. Are there any optimizations that could help here? (I was thinking indices, but I'm not familiar w/Novu codebase that much so can't make a good decision there).
9 replies
NNovu
Created by AN1RUDH on 9/4/2024 in #💬│support
Events keep getting merged with same old trigger event (Digest issue)
Got it. Thanks for responding. I'll try and do that.
9 replies
NNovu
Created by AN1RUDH on 9/4/2024 in #💬│support
Events keep getting merged with same old trigger event (Digest issue)
Thanks Pawan for responding. I tried this, but it didn't work. I think its because of this - https://github.com/novuhq/novu/blob/next/apps/api/src/app/events/usecases/cancel-delayed/cancel-delayed.usecase.ts#L62 It seems like its just updating the main digest. I still see the same issue.
9 replies
NNovu
Created by AN1RUDH on 6/18/2024 in #💬│support
Triggering a workflow using topics does not do anything
This solved the issue ✔️
8 replies
NNovu
Created by AN1RUDH on 6/18/2024 in #💬│support
Triggering a workflow using topics does not do anything
ig I found the answer. I'll give it a shot.
8 replies