|
The result of performance measurement which has been done on a smaller data set (1 customer with 10 orders, each order has 100 orderitems) has shown 96% performance gain (please refer to the result below). This is on a standalone environment without network overhead. It is sure that the performance improvement will be much greater if the data cache is on a separate machine.
Test scenario: reload the customer which has 10 orders, each order has 100 orderitems. All relationship are EAGER. DataCache is turned on with plug-in to an IBM caching products. Performance result: - average time without the new (getAll) implementation: 11.38 sec. - average time with this (getAll) implementation: 5.8 sec. Please refer to the final patch (OpenJPA-263.patch) for the complete changes. attach the same patch with granting license to ASF...
The result of performance measurement which has been done on a smaller data set (1 customer with 10 orders, each order has 100 orderitems) has shown 96% performance gain (please refer to the result below). This is on a standalone environment without network overhead. It is sure that the performance improvement will be much greater if the data cache is on a separate machine.
Test scenario: reload the customer which has 10 orders, each order has 100 orderitems. All relationship are EAGER. DataCache is turned on with plug-in to an IBM caching products. Performance result: - average time without the new (getAll) implementation: 11.38 sec. - average time with this (getAll) implementation: 5.8 sec. Please refer to the final patch (OpenJPA-263.patch) for the complete changes. > The implementation to handle relationship of Map type will be provided later.
> Currently it handles only Collection type. Does this mean that objects with Map fields will not be supported at all, or that they will go through the existing (less-efficient) pathways? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
datacache.patch contains the changes to datacache package in support of this feature
kernel.patch contains the changes to kernel package in support of this feature
Please provide any comments on this feature implementation.
The implementation to handle relationship of Map type will be provided later. Currently it handles only Collection type.