We're updating the issue view to help you get more done. 

Add Caching of Plugin Instantiator to improve performance of plugin endpoint invoke

Description

Currently when we invoke a plugin endpoint given plugin artifact, name, type, method-name and body.

we find the plugin artifact, then pick parent artifact of the plugin.
create a classloader with the parent artifact classes and plugin classes
instantiate plugin and invoke plugin method and return response.
delete the tmp directory used by classloader and plugin instantiator.

this step is expensive and we should look to reuse plugin instantiator using a cache.

Release Notes

None

Activity

Show:
Shankar Selvam
April 14, 2016, 1:02 AM

Assignee

Shankar Selvam

Reporter

Shankar Selvam

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Affects versions

Priority

Major
Configure