How to run a segment of code only in one cluster, and not the rest, using Node.js and Redis?

后端 未结 0 1875
轻奢々
轻奢々 2020-12-05 19:12

I need to separate some code that\'s only to be ran once at the start of the server, then store the information into Redis. But as the clusters horizontally scale, they will

相关标签:
回答
  • 消灭零回复
提交回复
热议问题