[ovs-dev] [ovsdb speedup v3 02/19] jsonrpc-server: split monitors into database back end and JSON-RPM front end

Ben Pfaff blp at nicira.com
Fri May 29 17:58:46 UTC 2015


On Thu, Apr 09, 2015 at 06:40:11PM -0700, Andy Zhou wrote:
> jsonrpc-server.c has two main functions. One deals with handling the
> jsonrpc connections, the other deals with monitoring the database.
> 
> Currently, each jsonrpc connections has its own set of DB monitors.
> This can be wasteful if a number of connections shares the same
> monitors.
> 
> This patch, and a few following refactoring patches attempts to
> split the jsonrpc handling front end off the main monitoring
> functions within jsonrpc.c.
> 
> This patch changes the monitoring functions and data structures from
> 'ovsdb_jsonrpc_monitor_xxx' into 'ovsdb_monitor_xxx'
> 
> This and the following patches move the ovsdb_monitor backend functions
> into their own file.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>
> Acked-by: Ben Pfaff <blp at nicira.com>
> 
> ---
> v1->v2: patch title change, fix comments
> v2->v3: no change

s/RPM/RPC/ in patch title.

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list