[jira] Created: (GERONIMO-3718) ResourceRef lookups are now reallyslow
6 Message(s) by 2 Author(s) originally posted in developer geronimo java
| From: David Jencks |
Date: Saturday, December 22, 2007
|
ResourceRef lookups are now really slow
---------------------------------------
Key: GERONIMO-3718
URL:
https://issues.apache.org/jira/browse/GERONIMO-3718
Project: Geronimo
Issue Type: Improvement
Security Level: public (Regular issues)
Components: connector, naming
Affects Versions: 2.0.x, 2.1
Reporter: David Jencks
Assignee: David Jencks
Fix For: 2.1We had to turn off jndi
reference lookup result
caching since the tck is now
testing that e.g. datasource lookups give you a different
object each time. Some of Matt's performance tests indicate that finding the MCFWRAPPER gbean takes an inordinate amount of time.
One possibility is to, instead of caching the lookup result, look up the gbean when the jndi
tree is set up for the JAVAee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder.
--
This
message is automatically generated by JIRA.
-
You can
reply to this email to add a
comment to the issue online.
| From: David Jencks |
Date: Sunday, December 23, 2007
|
[
https://issues.apache.org/jira/browse/GERONIMO-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks updated GERONIMO-3718:
-----------------------------------
Attachment: GERONIMO-3718-1.
patch
Attached patch seems to work ok for connection factories and
admin objects but doesn't work for
mail or uddi. It should be sufficient to test lookup speed on however.
ResourceRef lookups are now really slow
---------------------------------------
Key: GERONIMO-3718
URL: https://issues.apache.org/jira/browse/GERONIMO-3718
Project: Geronimo
Issue Type: Improvement
Security Level: public(Regular issues)
Components: connector, naming
Affects Versions: 2.0.x, 2.1
Reporter: David Jencks
Assignee: David Jencks
Fix For: 2.1
Attachments: GERONIMO-3718-1.patch
We had to turn off jndi reference lookup result caching since the tck is now testing that e.g. datasource lookups give you a different object each time. Some of Matt's performance tests indicate that finding the MCFWRAPPER gbean takes an inordinate amount of time.
One possibility is to, instead of caching the lookup result, look up the gbean when the jndi tree is set up for the JAVAee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
| From: David Jencks |
Date: Sunday, December 23, 2007
|
[
https://issues.apache.org/jira/browse/GERONIMO-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks updated GERONIMO-3718:
-----------------------------------
Attachment: GERONIMO-3718-2.patch
Previous patch did not actually work.... this one seems to for non-mail/uddi resource-refs.
ResourceRef lookups are now really slow
---------------------------------------
Key: GERONIMO-3718
URL: https://issues.apache.org/jira/browse/GERONIMO-3718
Project: Geronimo
Issue Type: Improvement
Security Level: public(Regular issues)
Components: connector, naming
Affects Versions: 2.0.x, 2.1
Reporter: David Jencks
Assignee: David Jencks
Fix For: 2.1
Attachments: GERONIMO-3718-1.patch, GERONIMO-3718-2.patch
We had to turn off jndi reference lookup result caching since the tck is now testing that e.g. datasource lookups give you a different object each time. Some of Matt's performance tests indicate that finding the MCFWRAPPER gbean takes an inordinate amount of time.
One possibility is to, instead of caching the lookup result, look up the gbean when the jndi tree is set up for the JAVAee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
| From: David Jencks |
Date: Monday, December 24, 2007
|
[
https://issues.apache.org/jira/browse/GERONIMO-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks updated GERONIMO-3718:
-----------------------------------
Attachment: GERONIMO-3718-3.patch
3rd time's the charm... this one works for datasources, mail, and jaxr.
ResourceRef lookups are now really slow
---------------------------------------
Key: GERONIMO-3718
URL: https://issues.apache.org/jira/browse/GERONIMO-3718
Project: Geronimo
Issue Type: Improvement
Security Level: public(Regular issues)
Components: connector, naming
Affects Versions: 2.0.x, 2.1
Reporter: David Jencks
Assignee: David Jencks
Fix For: 2.1
Attachments: GERONIMO-3718-1.patch, GERONIMO-3718-2.patch, GERONIMO-3718-3.patch
We had to turn off jndi reference lookup result caching since the tck is now testing that e.g. datasource lookups give you a different object each time. Some of Matt's performance tests indicate that finding the MCFWRAPPER gbean takes an inordinate amount of time.
One possibility is to, instead of caching the lookup result, look up the gbean when the jndi tree is set up for the JAVAee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
| From: David Jencks |
Date: Monday, December 24, 2007
|
[
https://issues.apache.org/jira/browse/GERONIMO-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks reassigned GERONIMO-3718:
--------------------------------------
Assignee: Matt Hogstrom (was: David Jencks)
Any chance of trying the third patch out for speed?
ResourceRef lookups are now really slow
---------------------------------------
Key: GERONIMO-3718
URL: https://issues.apache.org/jira/browse/GERONIMO-3718
Project: Geronimo
Issue Type: Improvement
Security Level: public(Regular issues)
Components: connector, naming
Affects Versions: 2.0.x, 2.1
Reporter: David Jencks
Assignee: Matt Hogstrom
Fix For: 2.1
Attachments: GERONIMO-3718-1.patch, GERONIMO-3718-2.patch, GERONIMO-3718-3.patch
We had to turn off jndi reference lookup result caching since the tck is now testing that e.g. datasource lookups give you a different object each time. Some of Matt's performance tests indicate that finding the MCFWRAPPER gbean takes an inordinate amount of time.
One possibility is to, instead of caching the lookup result, look up the gbean when the jndi tree is set up for the JAVAee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
| From: Matt Hogstrom |
Date: Monday, December 24, 2007
|
[
https://issues.apache.org/jira/browse/GERONIMO-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554318 ]
Matt Hogstrom commented on GERONIMO-3718:
-----------------------------------------
I will give it a spin.
ResourceRef lookups are now really slow
---------------------------------------
Key: GERONIMO-3718
URL: https://issues.apache.org/jira/browse/GERONIMO-3718
Project: Geronimo
Issue Type: Improvement
Security Level: public(Regular issues)
Components: connector, naming
Affects Versions: 2.0.x, 2.1
Reporter: David Jencks
Assignee: Matt Hogstrom
Fix For: 2.1
Attachments: GERONIMO-3718-1.patch, GERONIMO-3718-2.patch, GERONIMO-3718-3.patch
We had to turn off jndi reference lookup result caching since the tck is now testing that e.g. datasource lookups give you a different object each time. Some of Matt's performance tests indicate that finding the MCFWRAPPER gbean takes an inordinate amount of time.
One possibility is to, instead of caching the lookup result, look up the gbean when the jndi tree is set up for the JAVAee component. Calling e.g. $getResource() is then as fast as the resource adapter makes it to get a new connection factory. This needs a few changes in both naming and connector and connector-builder.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Next Message: [BUILD] 2.1: Failed for Revision: 606127