Can anyone give me a definitive answer as to which process actually runs the scripts that have been called via the PHP API ( is it fmse or cwpe ) and if so which server would take the CWP scripting process load in a two server FMS install?
Just trying to resolve some performance issues and looking at whether or not a second server will help by moving this to a different machine than the master db server. We've setup some new incoming interfaces that use CWP ( in this case via RESTfm ) and there is quite a heavy post processing script that runs on incoming records.
As the simple test ( looping set variable with Random function ) on FMS13, fmscwpc.exe in worker uses all CPU, database server is idle.
But of course, this test access no data. If you need commiting data in script, it should use dbserver.