Replies: 2 comments 7 replies
-
The description of your architecture is not very clear.... |
Beta Was this translation helpful? Give feedback.
-
You seem to be confused about what You cannot "put" a file into Based on your workflow description, your master node needs to take the response from the slave node as a This is a very inefficient way to deliver a file to a user. Storing your files in a common distributed solution, as ThiefMaster noted, will be more efficient and maintainable. |
Beta Was this translation helpful? Give feedback.
-
I have a master/slave architecture with master and slave flask restful apps and I want to send file from slave node to master node to send it further to user (different node).
I used send_from_directory function to do it, but after applying that function on slave node, the request on master node doesn’t have files attribute, so can neither push it forward to user node nor save it in tmp folder and send it to user from file system with send_from_directory.
Could anyone help me with my problem?
I’ve spent several days for that without any success.
Beta Was this translation helpful? Give feedback.
All reactions