Reading few posts, I came to know that node-red is single threaded. Hence need to spin up new instance per user.But wanted to know the granularity of single threadedness.
For eg, for one user "utkarsh", I want to connect to postges and put the data to mysql
also for same user, there is another flow which connect to mongodb and then put data to timeseries database.
Will they work in parallel or there will be some issue in it also.
Thanks a lot for letting me know.I can now create multiple flows for each user.
Is there any example to trigger these flows on demand i.e. when i want i can trigger it and keep it stopped programatically.
Flows don't stop and start. They are potentially running all the time, but won't actually do anything unless something happens to start a message flowing through it. For example it may be triggered by some external event, or an Inject node configured to regularly inject.