Re: [ovs-dev] [ovsdb speedup v4 3/3] ovsdb-monitor: add json cache

2015-06-08 Thread Andy Zhou
On Sat, Jun 6, 2015 at 2:58 PM, Ben Pfaff wrote: > On Mon, Jun 01, 2015 at 12:30:04AM -0700, Andy Zhou wrote: >> Although multiple jsonrpc monitors can share the same ovsdb monitor, >> each change still needs to translated into json object from scratch. >> This can be wasteful if multiple jsonrpc

Re: [ovs-dev] [ovsdb speedup v4 3/3] ovsdb-monitor: add json cache

2015-06-06 Thread Ben Pfaff
On Mon, Jun 01, 2015 at 12:30:04AM -0700, Andy Zhou wrote: > Although multiple jsonrpc monitors can share the same ovsdb monitor, > each change still needs to translated into json object from scratch. > This can be wasteful if multiple jsonrpc monitors are interested in the > same changes. > > Jso

[ovs-dev] [ovsdb speedup v4 3/3] ovsdb-monitor: add json cache

2015-06-01 Thread Andy Zhou
Although multiple jsonrpc monitors can share the same ovsdb monitor, each change still needs to translated into json object from scratch. This can be wasteful if multiple jsonrpc monitors are interested in the same changes. Json cache improves this by keeping an copy of json object generated for t