How to isolate physical resources when multiple users call workflows at the same time

How to isolate physical resources when multiple users call workflows at the same time?For example, writing the same file at the same time。

Hi @Sally, n8n wouldn’t do this by default, so you would need to implement the required logic yourself.

The most straightforward way would be to utilize some kind of queue. Send all write operations into the queue (unless you’re processing a very high volume pretty much any database capable of handling multiple connections should do), then process these queued entries in regular intervals.

Thank you! I got it!

1 Like