[
https://issues.jboss.org/browse/JBIDE-11680?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-11680 at 4/27/12 6:06 AM:
-------------------------------------------------------------------
yes, that's also what I would identify as culprit.
The former service allowed one to retrieve all infos for a user in a single (bulk) request
(request user info that contained everything, the domain, the apps, the catridges etc.).
The new RESTful service does not offer this any longer. You'd have to request on a per
resource base (domain, application, key, cartridge etc.). Exceptions to this are provided
where one can request a listing of all domains/apps/keys (request all domains OR all
applications OR all keys etc.). A noticeable limitation is where one would list the
applications. The embedded cartridges are reported in a way that only contains basic
informations (ex. mysql connection url). The response does not contain links (delete,
alter, etc.) that allow resource manipulations. In order to get a complete response for an
embedded cartridge, one would have to GET the individual cartridge. The only optimisation
I currently see is to correct the explorer to load cartridges lazyly (which it obviously
does not for the moment). We could eventually also swallow the stub-response (with the
connection url only) and load the rest lazyly. Not sure if that would make a big
difference though.
IMHO the only approach that would noticeably improve things is to add the ability for bulk
request in the service (which seems in discussion).
We should also examine our current lib and see if it really caches as much as possible and
doesn't do unnecessary requests.
was (Author: adietish):
yes, that's also what I would to as culprit.
The former service allowed one to retrieved all infos for a user in a single (bulk)
request (request user info that contained everything, the domain, the apps, the catridges
etc.).
The new RESTful service does not offer this any longer. You'd have to request on a per
resource base. Exceptions to this are where you can request all domains/apps to be listed.
A noticeable limitation is where one would list the applications. The embedded cartridges
are reported in a way that only contains basic informations (ex. mysql url). The response
does not contain links (delete, alter, etc.). In order to get the all infos for a embedded
cartridge, we'd have to request info for every single embedded cartridge. The only
optimisation I currently see, that we could do on our side, is to correct the explorer to
load cartridges lazy (which it obviously does not for the moment). We could eventually
also swallow the stub-response (with the connection url only) for the cartridge and load
the rest lazyly. Not sure if that would make a big difference though.
IMHO the only approach that would noticeably improve things is to add the ability for bulk
request in the service (which seems in discussion).
We should also examine our current lib and see if it really caches as much as possible and
doesn't do unnecessary requests.
OpenShift Explorer is noticebly slower since b2
-----------------------------------------------
Key: JBIDE-11680
URL:
https://issues.jboss.org/browse/JBIDE-11680
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Priority: Critical
Fix For: 3.3.0.Beta3
Have a user with many apps, notice that when you expand the username it takes much longer
to load than before.
B2 was much faster to load the apps for a user so something is more
agreesive/timeconsuming.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira