Date
1 - 4 of 4
Questions about service broker
王小锋 <zzuwxf at gmail.com...>
Hi, there
I am trying to develop a database service broker in CF, but have a question regarding to provisioning rest api, if it takes long time for the database to be ready, it will fail in binding process if the database is not ready. Is there a method to get the database service instance's status before binding to an app? Or is there any suggestions? thanks |
|
Daniel Jones
Hi,
toggle quoted message
Show quoted text
You might like to check out the forthcoming asynchronous additions to the Service Broker API: https://docs.cloudfoundry.org/services/asynchronous-operations.html It sounds like exactly what you're after. Alternatively you could pre-provision a load of databases, and have your broker maintain a pool of available ones. When each instance is destroyed, you then clean it and return it to the pool only when it is back in a state ready for someone else to use. On Wed, Aug 12, 2015 at 1:14 PM, 王小锋 <zzuwxf(a)gmail.com> wrote:
Hi, there --
Regards, Daniel Jones EngineerBetter.com |
|
王小锋 <zzuwxf at gmail.com...>
Thanks Daniel
toggle quoted message
Show quoted text
That's what I need. 2015-08-12 20:22 GMT+08:00 Daniel Jones <daniel.jones(a)engineerbetter.com>: Hi, |
|
Dieu Cao <dcao@...>
Hi,
toggle quoted message
Show quoted text
I would be particularly interested to get feedback on yours and others experience in implementing support for async operations in your service broker and if you have any suggestions for improvements in the implementation or the documentation. Thanks! Dieu CF CAPI PM On Wed, Aug 12, 2015 at 6:15 PM, 王小锋 <zzuwxf(a)gmail.com> wrote:
Thanks Daniel |
|