I am building a page where users can generate custom timers. These timers are run on a heroku nodejs backend via setTimeout. I am, however, a little worried about having possibly thousands of long time setTimeouts running concurrently.
I found this SO question, which states that javascript timers are run on a seperate thread in the browser. Is the same the case in nodejs? If so, what is the consequence of having thousands of timers on this thread?
edit: Some more info about what I am trying to do. I am building a synchronizing page, which can be put on a screen, where then users can access the page in the browser and change the content on their instance. This will then be reflected in all open instances of the page. Users should also be able to set timers, which should push new content at timer end. This is what I am considering using server side setTimeouts to do. I know I should probably use one of the heroku scheduler addons, but I would like to keep costs down (this kind of page is not exactly a moneymaker). Lastly, users should be able to generate their own instance of this page, with a new url and such. This is where the scalability question comes into play. If 100 instances of the page exists, and each instance has 10 timers set, that is 1000 timers on the backend.