Re: [ovs-dev] [ovsdb speedup 18/18] ovsdb: add json cache

2015-04-01 Thread Ben Pfaff
On Thu, Mar 19, 2015 at 12:08:42AM -0700, Andy Zhou wrote: > Although multiple jsonrpc monitor can share the same ovsdb monitor, each > change still needs to transalted into json object from scratch. This > can be wastful is mutiple jsonrpc monitors are interested in the > same changes. > > Json c

[ovs-dev] [ovsdb speedup 18/18] ovsdb: add json cache

2015-03-19 Thread Andy Zhou
Although multiple jsonrpc monitor can share the same ovsdb monitor, each change still needs to transalted into json object from scratch. This can be wastful is mutiple jsonrpc monitors are interested in the same changes. Json chche impoves this by keeping an copy of json object generated for trans