You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Bk Lau <bk...@gmail.com> on 2013/11/04 22:36:34 UTC
Is JCloud vCloud-related lib thread-safe?
According to VMware, their vCloud Java SDK library
is not "thread-safe" by design.
Q: So is the JCloud's vCloud library thread-safe?.
Thanks,
BK
Re: Is JCloud vCloud-related lib thread-safe?
Posted by Bk Lau <bk...@gmail.com>.
Andrew:
You are now very clear.
/BK
On Tue, Nov 5, 2013 at 10:24 AM, Andrew Phillips <an...@apache.org> wrote:
> I was just asking the question if the jcloud api for vCloud is thead-safe,
>> given that the VMware's own Java SDK binding for vCloud is not.
>> (No Java SDK binding for vCloud involved here :) in the pom)
>>
>
> Sorry, I didn't formulate my answer clearly enough. I obviously don't know
> if the vCloud API *itself* is inherently not thread-safe - in that case, I
> don't think jclouds is doing anything magical to fix that.
>
> But if the lack of thread safety is in the *Java SDK binding* (by which
> I'm presuming we're referring to VMware's own Java libraries to talk to the
> vCloud API), then I don't think jclouds should be affected since it doesn't
> use VMware's Java libraries in its implementation.
>
> Does that make more sense? Or am I misunderstanding the question here?
>
> ap
>
Re: Is JCloud vCloud-related lib thread-safe?
Posted by Andrew Phillips <an...@apache.org>.
> I was just asking the question if the jcloud api for vCloud is thead-safe,
> given that the VMware's own Java SDK binding for vCloud is not.
> (No Java SDK binding for vCloud involved here :) in the pom)
Sorry, I didn't formulate my answer clearly enough. I obviously don't
know if the vCloud API *itself* is inherently not thread-safe - in
that case, I don't think jclouds is doing anything magical to fix that.
But if the lack of thread safety is in the *Java SDK binding* (by
which I'm presuming we're referring to VMware's own Java libraries to
talk to the vCloud API), then I don't think jclouds should be affected
since it doesn't use VMware's Java libraries in its implementation.
Does that make more sense? Or am I misunderstanding the question here?
ap
Re: Is JCloud vCloud-related lib thread-safe?
Posted by Bk Lau <bk...@gmail.com>.
Andrew:
I was just asking the question if the jcloud api for vCloud is thead-safe,
given that the VMware's own Java SDK binding for vCloud is not.
(No Java SDK binding for vCloud involved here :) in the pom)
Thanks,
On Mon, Nov 4, 2013 at 7:48 PM, Andrew Phillips <an...@apache.org> wrote:
> According to VMware, their vCloud Java SDK library
>> is not "thread-safe" by design.
>>
>> Q: So is the JCloud's vCloud library thread-safe?.
>>
>
> I may be missing something, but I can't see any dependency on the VMware
> Java libraries in the vcloud or vcloud-director POMs [1, 2]. So I would be
> tempted to cautiously say that they should be as thread-safe as the other
> jclouds APIs.
>
> Are you running into any concurrency problems?
>
> ap
>
> [1] https://github.com/jclouds/jclouds/blob/master/apis/vcloud/pom.xml
> [2] https://github.com/jclouds/jclouds-labs/blob/master/
> vcloud-director/pom.xml
>
Re: Is JCloud vCloud-related lib thread-safe?
Posted by Andrew Phillips <an...@apache.org>.
> According to VMware, their vCloud Java SDK library
> is not "thread-safe" by design.
>
> Q: So is the JCloud's vCloud library thread-safe?.
I may be missing something, but I can't see any dependency on the
VMware Java libraries in the vcloud or vcloud-director POMs [1, 2]. So
I would be tempted to cautiously say that they should be as
thread-safe as the other jclouds APIs.
Are you running into any concurrency problems?
ap
[1] https://github.com/jclouds/jclouds/blob/master/apis/vcloud/pom.xml
[2]
https://github.com/jclouds/jclouds-labs/blob/master/vcloud-director/pom.xml
Re: Is JCloud vCloud-related lib thread-safe?
Posted by Bk Lau <bk...@gmail.com>.
I watched one of the Vmware presentation on the vCloud API and the
presenter said that the vCloud Java SDK is **not thread safe by design.**
He said that you have to make it thread safe yourself if you are using the
SDK.
This seems to confirm what he said:
https://communities.vmware.com/message/1900552#1900552
On Tue, Nov 5, 2013 at 1:59 AM, Duncan Johnston Watt <
duncan.johnstonwatt@cloudsoftcorp.com> wrote:
> BK
>
> Can you point at the VMware documentation that states this?
>
> Best
>
> Duncan
>
>
> On 4 November 2013 21:36, Bk Lau <bk...@gmail.com> wrote:
>
>> According to VMware, their vCloud Java SDK library
>> is not "thread-safe" by design.
>>
>> Q: So is the JCloud's vCloud library thread-safe?.
>>
>>
>> Thanks,
>>
>> BK
>>
>
>
>
> --
> Duncan Johnston-Watt
> CEO | Cloudsoft Corporation
>
> Twitter | @duncanjw
> Mobile | +44 777 190 2653
> Skype | duncan_johnstonwatt
> Linkedin | www.linkedin.com/in/duncanjohnstonwatt
>
> Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
> Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
>
> This e-mail message is confidential and for use by the addressee only. If
> the message is received by anyone other than the addressee, please return
> the message to the sender by replying to it and then delete the message
> from your computer. Internet e-mails are not necessarily secure. Cloudsoft
> Corporation Limited does not accept responsibility for changes made to this
> message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the transmission of
> viruses, it is the responsibility of the recipient to ensure that the
> onward transmission, opening or use of this message and any attachments
> will not adversely affect its systems or data. No responsibility is
> accepted by Cloudsoft Corporation Limited in this regard and the recipient
> should carry out such virus and other checks as it considers appropriate.
>
Re: Is JCloud vCloud-related lib thread-safe?
Posted by Duncan Johnston Watt <du...@cloudsoftcorp.com>.
BK
Can you point at the VMware documentation that states this?
Best
Duncan
On 4 November 2013 21:36, Bk Lau <bk...@gmail.com> wrote:
> According to VMware, their vCloud Java SDK library
> is not "thread-safe" by design.
>
> Q: So is the JCloud's vCloud library thread-safe?.
>
>
> Thanks,
>
> BK
>
--
Duncan Johnston-Watt
CEO | Cloudsoft Corporation
Twitter | @duncanjw
Mobile | +44 777 190 2653
Skype | duncan_johnstonwatt
Linkedin | www.linkedin.com/in/duncanjohnstonwatt
Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
This e-mail message is confidential and for use by the addressee only. If
the message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message
from your computer. Internet e-mails are not necessarily secure. Cloudsoft
Corporation Limited does not accept responsibility for changes made to this
message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by Cloudsoft Corporation Limited in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.