dmulligan
NNovu
•Created by dmulligan on 10/6/2023 in #💬│support
MongoDB : Jobs table - High number of records returned
We noticed a speed increase for fetching a non-cached feed for a subscriber from around 10/15 seconds to 50-80ms.
11 replies
NNovu
•Created by dmulligan on 10/6/2023 in #💬│support
MongoDB : Jobs table - High number of records returned
@todd only a few of the indexes were created to get us our of a hole, I will loop back around and check to see what others need to be created.
11 replies
NNovu
•Created by dmulligan on 10/6/2023 in #💬│support
MongoDB : Jobs table - High number of records returned
Just answering this for anyone else that has issues with AWS DocumentDB. I was seeing slow performance and in this question was interested to see if the number of records in the database was a factor. While I still need to investigate if records will get cleaned up on their own, I have a feeling they may not as
expireAt
is not set for job
s or message
s, the issue here was missing indexes. There appears to be a compatibly issue when it comes to creating indexes in DocumentDB. When I identified this, and created the missing indexes on the job
and message
table, I noticed a huge speed increase.11 replies
NNovu
•Created by dmulligan on 9/4/2023 in #💬│support
Postmark email issue
Within the code, I only see a few references to 'PostmarkError' and they are around the checking of the integration. I assume in the first image I shared, the content of the json is getting populated some other way rather than the hard coded 'PostmarkError'
17 replies
NNovu
•Created by dmulligan on 9/4/2023 in #💬│support
Postmark email issue
That looks exactly like what I would expected, and thanks for that review. I guess the issue is that there clearly is a problem with my env, but the error log does not report any exception at all, yet their is an error displayed within the web application.
17 replies
NNovu
•Created by dmulligan on 9/4/2023 in #💬│support
Postmark email issue
Just not via the API. In app notifications work just fine.
17 replies
NNovu
•Created by dmulligan on 9/4/2023 in #💬│support
Postmark email issue
What is odd, if I click the 'Test' tab in the template, and send an email it works
17 replies
NNovu
•Created by dmulligan on 9/4/2023 in #💬│support
Postmark email issue
2. curl --location 'https://xxxxx:443/api/novu/v1/events/trigger' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer XXXXX' \
--data-raw '{
"name": "email-template-pref-test",
"to": [{
"subscriberId": "644cf8d6-bed3-4c8d-a38c-87042c04166f",
"email": "xxxxxxx",
"firstName": "John",
"lastName": "Doe"
}],
"payload": {
}
}'
17 replies
NNovu
•Created by dmulligan on 9/4/2023 in #💬│support
Postmark email issue
I have not noticed an error / exception in the log files.
17 replies
NNovu
•Created by dmulligan on 7/17/2023 in #💬│support
@novu/shared tweaks
FYI, I have shared the fix back as a PR https://github.com/novuhq/novu/pull/3814
18 replies
NNovu
•Created by dmulligan on 7/17/2023 in #💬│support
@novu/shared tweaks
That worked, once the version is locked, it will use the local version of
@novu/shared
. A huge thank you for that information.18 replies
NNovu
•Created by dmulligan on 7/17/2023 in #💬│support
@novu/shared tweaks
I will try as you suggested next
18 replies
NNovu
•Created by dmulligan on 7/17/2023 in #💬│support
@novu/shared tweaks
I added the following to
apps/web/Dockerfile
And within the created web container, I ran the following commands. You can see that @novu/shared
is getting built correctly, but a different copy of Novu shared is included within the web's copy of node_modules
18 replies
NNovu
•Created by dmulligan on 7/17/2023 in #💬│support
@novu/shared tweaks
Thanks for your message @dimagrossman the web package.json file is an exact match to https://github.com/novuhq/novu/blob/v0.16.1/apps/web/package.json
18 replies
NNovu
•Created by dmulligan on 7/17/2023 in #💬│support
Slow down in performance / Redis / self host
Is there a simple way to see the outstanding tasks at a given point in time?
7 replies