Hey guys,I have been working on a small node project, and I wanted to cluster it, which is new for me. Just in case this matters at all, I'm also using redis/postgres. My main question is what is the best way to handlesetInterval(() => ..., x); assuming I only this interval to be executing once every so often, and not once per thread (or am I just overthinking this)?Secondly, if anybody has a recommendation for a cluster framework/library, I would take that into consideration. I see a couple out there like throng, but yeah, if anybody has a recommendation. Probably doesn't matter too much in the end.Thank you.
Submitted January 28, 2020 at 03:20AM by TexasChiliBowel
No comments:
Post a Comment