BHoM / BHoM_Adapter

GNU Lesser General Public License v3.0
7 stars 6 forks source link

BHoM_Adapter: refactoring-PullTo-implement batches #92

Open alelom opened 5 years ago

alelom commented 5 years ago

The PullTo method (or "Move", as proposed by #91) could implement batches of objects in order to improve stability/performance when dealing with large models.

As discussed with @adecler and @IsakNaslundBh one way of doing it could be to implement PullTo as async. However, this would be in contrast with the rest of the methods, it could be scary to less advanced users, and generally more difficult to debug.

Another way is simply to introduce a mechanism to Pull and Push objects in batches of a certain number.

al-fisher commented 5 years ago

A global approach to coping with asynchronous events is going to be required anyway - so good to have that formally on the road map. It has been discussed a few times recently in context of both Adapter Pushing/Pulling as well as loading/creation of formulas in Excel_Toolkit etc. etc. So will be good to start considering users exceptions and required UI for asynchronous events in a flow based programming environment