On Thu, Apr 02, 2015 at 02:39:22PM -0700, Andy Zhou wrote: > On Wed, Apr 1, 2015 at 4:17 PM, Ben Pfaff <b...@nicira.com> wrote: > > On Thu, Mar 19, 2015 at 12:08:16AM -0700, Andy Zhou wrote: > >> This patch set implements two ideas improve ovsdb connection scaling: > >> > >> * Allow multiple jsonrpc connection to share a single ovsdb monitor, thus > >> maintaining a single set of changes. > >> > >> * With in the same monitor, cache the json object generated for an update. > >> If the same update is requested by another jsonrpc connection, the > >> cached json object can be used, avoid regenerating it from scratch. > > > > This series is nice, but it adds a lot of complication. That's fine, > > there's a lot of potential payoff, but I doubt that the existing > > testsuite really tests any of the new cases. Before this goes in I'd > > really like to see some new tests that add some confidence regarding > > correctness. Do you have an idea of how to test the new cases? > > Any idea on a simpler design, or a simpler implementation overall? > There are specific > suggestions on individual patches which I will try to implement.
I doubt that it is possible to simplify the design while maintaining the performance benefits. I think that we'll need, instead, more sophisticated tests. > I will add a few more tests that tests the new mechanisms added. May have to > add > capabilities to expose internal state using appctl. Couple tests I can > think of are: > > * Add tests for connections running at different speeds. > * Add control flags to disable sharing monitors or json cache, make > sure the results are the same. That's a good start. Thanks. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev