Re: [ovs-dev] [PATCH v2 3/3] ovsdb: monitor: Store serialized json in a json cache.

2021-08-30 Thread Han Zhou
On Tue, Aug 24, 2021 at 12:00 PM Ilya Maximets wrote: > > Same json from a json cache is typically sent to all the clients, > e.g., in case of OVN deployment with ovn-monitor-all=true. > > There could be hundreds or thousands connected clients and ovsdb > will serialize the same json object for

Re: [ovs-dev] [PATCH v2 3/3] ovsdb: monitor: Store serialized json in a json cache.

2021-08-30 Thread Dumitru Ceara
On 8/30/21 1:23 PM, Ilya Maximets wrote: > On 8/30/21 12:54 PM, Dumitru Ceara wrote: >> On 8/24/21 9:00 PM, Ilya Maximets wrote: >>> Same json from a json cache is typically sent to all the clients, >>> e.g., in case of OVN deployment with ovn-monitor-all=true. >>> >>> There could be hundreds or

Re: [ovs-dev] [PATCH v2 3/3] ovsdb: monitor: Store serialized json in a json cache.

2021-08-30 Thread Ilya Maximets
On 8/30/21 12:54 PM, Dumitru Ceara wrote: > On 8/24/21 9:00 PM, Ilya Maximets wrote: >> Same json from a json cache is typically sent to all the clients, >> e.g., in case of OVN deployment with ovn-monitor-all=true. >> >> There could be hundreds or thousands connected clients and ovsdb >> will

Re: [ovs-dev] [PATCH v2 3/3] ovsdb: monitor: Store serialized json in a json cache.

2021-08-30 Thread Dumitru Ceara
On 8/24/21 9:00 PM, Ilya Maximets wrote: > Same json from a json cache is typically sent to all the clients, > e.g., in case of OVN deployment with ovn-monitor-all=true. > > There could be hundreds or thousands connected clients and ovsdb > will serialize the same json object for each of them

[ovs-dev] [PATCH v2 3/3] ovsdb: monitor: Store serialized json in a json cache.

2021-08-24 Thread Ilya Maximets
Same json from a json cache is typically sent to all the clients, e.g., in case of OVN deployment with ovn-monitor-all=true. There could be hundreds or thousands connected clients and ovsdb will serialize the same json object for each of them before sending. Serializing it once before storing