Manage Future Event Notification Using Node.js, Redis, and CouchDB -



Manage Future Event Notification Using Node.js, Redis, and CouchDB -

i'm trying manage date/time event notifications using node.js on server. there programming pattern can utilize , apply javascript?

currently, i'm using named settimeouts , redis store boolean value each timeout. when timeout fires checks redis boolean value. if returns true, notification executes. if value returns false, means user has removed event , there no notification.

this solution works, don't believe scale-able several reasons: 1) events days away. don't trust redis store these event long.2) there potentially thousands of events , don't want settimeouts running on place. after event removed.

i know problem has been solved, i'm hoping can point me resource or offer mutual pattern.

are looking node-cron?

node.js events calendar redis couchdb

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -