Hey everyone, I’ve got a general Node question rat...
# orm-help
j
Hey everyone, I’ve got a general Node question rather than Prisma. I want to trigger notifications and emails at certain times, e.g a 2 days after a user has watched a video or clicked a button. Does anyone have any recommendations about queuing these kind of jobs in Node? My initial thinking was to create a micro-service and use something like https://www.npmjs.com/package/cron? Any pointers would be greatly appreciated, and if you think this question is better suited somewhere else just say and I’ll post it there! Thanks 👍
Or potentially implementing something like: https://github.com/OptimalBits/bull My current setup uses Prisma + Aurora
m
Nice question, I think I'll need something like this soon as well. From the top of my head I was maybe thinking about using Lambda with scheduled events (https://docs.aws.amazon.com/lambda/latest/dg/with-scheduled-events.html).
m
I'd be really interested to hear any answers to this as well!
j
Just spoke to the backend engineers at my work and they are recommending Redis, once I’ve got something setup I’ll post how it went back here, if it goes well I’ll write up a quick article too 👍
m
That would be awesome, I'd love to read it. I'm working on something that will most definitely require cron type operations in the near future. Best of luck!