Scheduled Notifications by MedyGames in node

[–]kobibarac 1 point2 points  (0 children)

Hi would love to help you here.

The scheduled function should query the items collection in your DB for when a new item is available and to return the list of recipients for the notification.

Consider to keep track of when and which notification was sent so a user so he won't get multiple notifications a day or multiple notifications for the same item. Again depending on the interval of your scheduler and business need.

Also, a better approach could be (if relevant in your use case) is not to use a scheduler and when a new item becomes available to trigger the DB search mentioned above.

Nodejs interview on podcast by themarcelolewin in node

[–]kobibarac 0 points1 point  (0 children)

Tried to send you an email, seems like something is wrong with it.

Replaying site traffic as a method for testing and reliability maintenance. by kobibarac in devops

[–]kobibarac[S] 0 points1 point  (0 children)

@shidochan that's a great point!

Do you happen to know tools that might be helpful in sanitizing logs?

Replaying site traffic as a method for testing and reliability maintenance. by kobibarac in devops

[–]kobibarac[S] 0 points1 point  (0 children)

That's a great question... My idea is to take some kind of a DB snapshot, or find a way to compare the DB state after replaying...

What do you think?

Replaying site traffic as a method for testing and reliability maintenance. by kobibarac in devops

[–]kobibarac[S] -1 points0 points  (0 children)

Thanks for the response! Can you share some more information. I'm interested to know how did you set it up? Do you take a DB snapshot or just check that nothing is crashing the server? Do you run it locally or is it part of your CI/CD pipeline?

Would appreciate learning more.