cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus <shadow...@gmail.com>
Subject Re: createTags is async?
Date Tue, 22 Apr 2014 18:38:50 GMT
ok, sounds good.


On Tue, Apr 22, 2014 at 11:06 AM, Alena Prokharchyk <
Alena.Prokharchyk@citrix.com> wrote:

> Marcus, its due to CS API convention - all apis added after 2.x version of
> CS, should be async (except for list* commands). It was designed this way
> after hitting the problem when initially some commands were sync (as only
> db updates were done as a part of it), then some backend calls were added
> to them which require them to become async. And it used to break API
> backwards compatibility.
>
> To avoid situation I¹ve described above, we¹ve decided that all new
> commands should be async no matter if they contain backend operations, or
> not.
>
> -Alena.
>
> On 4/22/14, 10:03 AM, "Marcus" <shadowsor@gmail.com> wrote:
>
> >Can anyone tell me off the top of their head why the createTags call is
> >async? Is it doing something other than inserting a db entry? Or perhaps a
> >better question is where the threshold is for sync vs async, for example,
> >createNetwork is sync, but is rather blocky.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message