-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Beta4
-
None
ServerOperationResolver gets called for each operation in a composite.
For each call it clones the configuration model.
It then calls node.asPropertyList() in various spots, which in turn results in a clone of the value of each Property. In particular it does this over the profiles, which means each profile gets cloned.
For very large configurations, this is extremely inefficient. One user was experimenting with adding 1000s of data sources and found it would take over an hour to complete the work. I was able to do it in 30 seconds by correcting these problems.
There are other areas where we may be incurring unneeded expense via calls to node.asPropertyList().
- is related to
-
WFCORE-922 Remove unneeded cloning of model nodes when persisting the kernel configs
- Resolved
-
WFLY-5234 Use of ModelNode.asPropertyList() is slow when marshaling potentially large subsystem model chunks
- Closed
-
WFCORE-936 PersistentResourceXMLDescription & friends shouldn't use ModelNode#asPropertyList()
- Resolved