node.js schedule reminder system

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


node.js schedule reminder system



I am trying to build a system based on nodejs where users will be receiving push notifications from server. Use case:


from (Date), to (Date), remindTime (time), message (text)



I have problem with design it effectively. Based on my days of surfing I have reached the following solution:


/remind


_id


remindTime



I am not sure that it is right approach to solve this problem.
I've read about redis-queue based solutions using ZSET, but I don't feel where is the power of using such approach.
My system is not time critical - if user will receive notification +/- 5min nothing bad will happened. I must stick to self-hosted solutions without any third-party services.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Makefile test if variable is not empty