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

Andy Zhou azhou at nicira.com
Sat May 30 00:01:37 UTC 2015


On Fri, May 29, 2015 at 10:58 AM, Ben Pfaff <blp at nicira.com> wrote:
> 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.
Fixed.
>
> Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list