ftsrg / mondo-collab-framework

MONDO Collaboration Framework (WP4)
Eclipse Public License 1.0
3 stars 1 forks source link

Offline FW performance: share gold model and security arbiter across lens invocations #45

Open bergmanngabor opened 8 years ago

bergmanngabor commented 8 years ago

There are two use cases where many offline lens operations with the same gold model are performed in succession:

In these cases, we could save some time by...

...only once for this bunch of lens executions. This optimization, however, clearly requires some redesign of the offline daemon API + the hook scripts.

Note that the online FW already does this.

Warning: commits can update the MACL file. Using this shared arbiter for the PUTBACK operation should be allowed only if the MACL file is already updated by the commit (and we have already verified that it is allowed to be updated) at the time the lens are executed. If this cannot be made sure, apply the optimization for the GETs only.