Fantastic question. I'm not even doing that yet. How embarrassing!
Right now I'm just spawning sub processes like crazy and hope they don't overwhelm my machine. In the future, I plan to use a queue and also to monetize on API queries.
I haven't looked into queues in Javascript yet. If you have recommendations, that be appreciated :)
This is really just an MVP to see how the internet crowd reacts to it. I'm glad it does in a positive way :)