h-REA / hREA

A ValueFlows / REA economic network coordination system implemented on Holochain and with supplied Javascript GraphQL libraries
https://docs.hrea.io
Other
142 stars 15 forks source link

Investigate possible performance problems #402

Open fosterlynn opened 3 months ago

fosterlynn commented 3 months ago

In the Carbon Farm Network app, we are experiencing timeouts due to slow loading of data. This is particularly happening when loading a Plan. I'm not sure if there is a difference with it being the first time loading after saving, because I never get the first time to work. Happens on both Ubuntu (me) and Mac (the user), neither of them super high level hardware, but both of them adequate generally. This is small amounts of data, but it's very interconnected. One plan, maybe 10 processes, maybe 40 commitments, maybe 5 agreements attached to process commitments, with another 5 reciprocal commitments. We have to get down to a very few records to get a Plan to load.

I'll leave it to devs to discuss the technical details.

I assigned this to @LeosPrograms because he is working on an experiment to further assess where the problems might be, and hoping to get the Plan working for CFN asap, as timing is a priority for them. @pospi feel free to chime in, and add yourself if you like.