Hops parallel processing

We are experimenting with Hops parallel processing . We have set up a small test with a hops component calling a python function on the Hops server. It all works fine. Except that the component only seems to send two meshes at a time to the server. This means that only two meshes are being processed in parallel.

We have set the following settings:

For the Hops component:

In Grasshopper File > Preferences > Solver

  • Added the server URL, e.g. “http://172.xx.xx.xxx:5000
  • Set “Max concurrent requests” to 100
  • Tried a few settings for “Child Process Count”, e.g. 1, 10

We we run the server as localhost on the same machine it works, in that case many meshes get sent in parallel. But if we run the server on a different machine, then only two meshes get sent. This suggests it might have something to do with the server setup. But we have not done anything special - we just set up the normal Flask/hops-server as shown in the Hops video.

Do we need to add a gateway, e.g. Gunicorn ?

Hi @Patrick_Janssen. Sorry for the delay here. Did you use this guide in setting up your remote machine? If so, there is a section on how to change the server settings after the server has been deployed. You can find that section here.