Tyler,
we'd be very interested in changes in this area. For the adminUI [1] we've been thinking about switching from the CC REST APIs to accessing the CCDB directly due to the poor performance of the REST APIs. For our environments we're looking at more than a 30x time difference between the two - we have some pretty big envs. I don't know if what you're suggesting will be enough for us to not make the switch to the direct DB access, but we'd certainly be interested in seeing if it helps.
[1] https://github.com/cloudfoundry-incubator/admin-ui
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Tyler Power ---07/18/2014 02:57:43 PM---Hi All, I've enhanced the generic rest object serialization/paginator code to
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/ad7b9bf1-bbc6-41b7-8d80-04d78a3a88c0%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/OF1D8E31B0.AAF8C991-ON85257D1A.000A5FE8-85257D1A.000AF939%40us.ibm.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/OF1D8E31B0.AAF8C991-ON85257D1A.000A5FE8-85257D1A.000AF939%40us.ibm.com.--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
Johannes,
there isn't much there in terms of docs - does this overlap with the adminUI?
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Johannes Hiemer ---07/19/2014 04:32:05 AM---I would really like to see this improvement getting merged. For me this is on of the biggest issues
From: Johannes Hiemer <jvhi...@gmail.com>
To: vcap...@cloudfoundry.org
Cc: ramonm...@gmail.com, goran....@gmail.com
Date: 07/19/2014 04:32 AM
Subject: Re: [vcap-dev] Performance enhancements for REST controller?
I would really like to see this improvement getting merged. For me this is on of the biggest issues with the current REST API implementation. The data redundancy on the response is neither useful, nor practical when using in client side applications (even more in mobile apps). I think it would be much better to reduce the amount and make instead additional requests to gather detailed information for a specific entity - if needed on the client side.
This week we started building a community build of cf-console (https://github.com/cloudfoundry-community/cf-console) and I think Goran and Ramon would agree as well on this topic.
On Saturday, July 19, 2014 9:33:54 AM UTC+2, James Bayer wrote:
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/ad7b9bf1-bbc6-41b7-8d80-04d78a3a88c0%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/OF1D8E31B0.AAF8C991-ON85257D1A.000A5FE8-85257D1A.000AF939%40us.ibm.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/7b6ff212-3b36-46b1-a34c-5ec44377abaa%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/OF1D8E31B0.AAF8C991-ON85257D1A.000A5FE8-85257D1A.000AF939%40us.ibm.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
Thank you,
James Bayer
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/7b6ff212-3b36-46b1-a34c-5ec44377abaa%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
Hi Johannes,
can you elaborate on what you mean by UI refreshment? We'd welcome pull-requests....
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Johannes Hiemer ---07/20/2014 03:47:22 AM---Doug, yep sorry for that, we just started out on Friday. As far as I can tell the
From: Johannes Hiemer <jvhi...@gmail.com>
To: vcap...@cloudfoundry.org
Cc: goran....@gmail.com, ramonm...@gmail.com
Date: 07/20/2014 03:47 AM
Subject: Re: [vcap-dev] Performance enhancements for REST controller?
Doug,
yep sorry for that, we just started out on Friday. As far as I can tell the seems to be some overlapping though I must admit we are trying to be more just the UI as known from pivotal, without service plans, etc. (btw. admin UI could get some UI "refreshment" :-))
Goran what do you think?
On Saturday, July 19, 2014 2:42:47 PM UTC+2, Doug Davis wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/OF1D8E31B0.AAF8C991-ON85257D1A.000A5FE8-85257D1A.000AF939%40us.ibm.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/1d1606c3-9ffa-42a9-a69a-f8dc8b1bfb5e%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/06aa9c34-b547-4d73-9cf5-4b59b2222708%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/1d1606c3-9ffa-42a9-a69a-f8dc8b1bfb5e%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+unsubscribe@cloudfoundry.org.
Tyler, yep we noticed similar (and worse) performance as we're looking at tens of thousands, not just hundreds, of records to deal with. Looking forward to your stuff.
thanks
-Doug
________________________________________________________
STSM | Standards Architect | IBM Software Group
(919) 254-6905 | IBM 444-6905 | d...@us.ibm.com
The more I'm around some people, the more I like my dog.
Tyler Power ---07/20/2014 05:06:46 PM---Great, thanks Doug. It sounds like at least a few people would like to see some progress here so I'
From: Tyler Power <tyl...@activestate.com>
To: vcap...@cloudfoundry.org
Date: 07/20/2014 05:06 PM
Subject: Re: [vcap-dev] Performance enhancements for REST controller?
Great, thanks Doug. It sounds like at least a few people would like to see some progress here so I'll look to spend a few days next week working on the PR. James I'll open an issue against the CC when I have some code ready.
Doug/Johannes we too were finding the CC Api was essentially unusable with anything more than a few applications, and short of writing our own REST Api directly on top of the CC database this was the best I could come up with in a reasonable amount of time. We have installations that have thousands of apps so our web console needed to be able to scale appropriately. I think the poor performance is a direct tradeoff of development speed vs runtime performance. The abstracted REST Api in the CC is so simple to add to and extend but doesn't cover many use cases very well yet.
As an example I just grabbed some numbers from our sandbox (medium sized installation, low - mid end hardware), with and without the patches:
GET /v2/apps?inline-relations-depth=2 - 1.5MB, 21s
GET /v2/apps?inline-relations-depth=2&include-relations=space,organization&orphan-relations=1 - 145KB, 3.5s
This was for fetching info for 50 applications which is the default page size. So numbers would vary based on if the page size had been tweaked. In our specific use case here we wanted all the app info plus we needed the name of the space and the organization each app belonged to. So we needed an inline-depth of 2. By using the new query params we were able to de-deduplicate the data in the response, as well as only fetching the specific relations we needed.
So we were able to go from being unusable to being... I guess acceptable is the word. Ideally we would be looking for sub 300ms response times on every Api call, and I think it's certainly possible by optimizing the REST framework further. Which seems entirely worthwhile considering how many people will benefit and how many people it will stop from needing to develop a custom solution.
I'll get started on the PR next week, thanks guys.
Tyler
On Friday, July 18, 2014 7:00:02 PM UTC-7, Doug Davis wrote:
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/ad7b9bf1-bbc6-41b7-8d80-04d78a3a88c0%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/06aa9c34-b547-4d73-9cf5-4b59b2222708%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.