Skip to main content
Best Answer

Run the same workbench many time at the same time

  • July 8, 2020
  • 4 replies
  • 48 views

alc33
Contributor
Forum|alt.badge.img+13

Hi!

If 2 workbenchs run at the same time, each one with a workspacerunner calling the same workspace,

 

is that a problem ? Could it create conflict? If translation failed for one user, does it affect the second user?

Thanks!

Best answer by redgeographics

It depends largely on what your workspace is doing. I.e. if both users try to write to the same file that's going to cause issues. Logging could potentially be a problem too.

FME Server may be a better option, but in order to say for sure we'd need to know more about what you're trying to do.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+62
  • Celebrity
  • Best Answer
  • July 8, 2020

It depends largely on what your workspace is doing. I.e. if both users try to write to the same file that's going to cause issues. Logging could potentially be a problem too.

FME Server may be a better option, but in order to say for sure we'd need to know more about what you're trying to do.


alc33
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • July 8, 2020

The input is DWG or shp files. The workspace makes some treatments on the attributes and on the geometry and export shp files. Some others files are called to recover data like .xls but just for reading.

The 2 workspace runner are to output shp files on differents directories.

For FME I just have the desktop version.

What do you mean by "Logging could potentially be a problem too"?

Thanks!


redgeographics
Celebrity
Forum|alt.badge.img+62

The input is DWG or shp files. The workspace makes some treatments on the attributes and on the geometry and export shp files. Some others files are called to recover data like .xls but just for reading.

The 2 workspace runner are to output shp files on differents directories.

For FME I just have the desktop version.

What do you mean by "Logging could potentially be a problem too"?

Thanks!

When you're using a WorkspaceRunner the log for the child workspace gets overwritten at every run, I was wondering if you were trying to do that from 2 different master workspaces it would cause problems when 2 processes try to write the same file at the same time, but that does not seem to be the case. The child logfile will simply be of the last time it's run.

As long as your regular writers are not trying to write to the same file at the same time it should be okay, at least as far as I've been able to figure out so far.


alc33
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • July 8, 2020

When you're using a WorkspaceRunner the log for the child workspace gets overwritten at every run, I was wondering if you were trying to do that from 2 different master workspaces it would cause problems when 2 processes try to write the same file at the same time, but that does not seem to be the case. The child logfile will simply be of the last time it's run.

As long as your regular writers are not trying to write to the same file at the same time it should be okay, at least as far as I've been able to figure out so far.

oh yes the logfile, I didn't think about it.

Thank you for your answer. It comfort me on my choice.