On Sun, Jan 14, 2018 at 01:41:36PM -0800, Anil Jangam wrote:
> Hi,
> 
> The "transact" method of OVSDB protocol mandates the sequential processing
> of the transaction. It is specificed in section 4.1.3 as follows.
> 
>    The database server executes each of the specified operations in
> the specified
>    order, except if an operation fails, then the remaining operations
>    are not executed.  The set of operations is executed as a single
>    atomic, consistent, isolated transaction.  The transaction is
>    committed if and only if every operation succeeds.
> 
> 
> In the context of this struct ordering requirement, does OVSDB protocol
> allows for parallel execution of multiple OVSDB request processing?

Yes, from the same client or different clients.

> Does the controller sends multiple requests in parallel, or in other words,
> does it sends one request before receiving the result of the previous
> request?

The controller can send multiple requests before receiving their
results.  Not all controllers take advantage of this.

> JSON_RPC specification 2.0 specifies the BATCH of requests, which can be
> executed in parallel; however, I am not sure if OVSDB protocol recommends
> the use of JSON_RPC 2.0.

The ovsdb-server implementation currently supports only JSON-RPC 1.0.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to