monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 4881fda3f8bba4d95d019f8719d5c2ae2e3492


From: monotone
Subject: [Monotone-commits-diffs] Revision 4881fda3f8bba4d95d019f8719d5c2ae2e3492a9
Date: Fri, 28 Mar 2008 05:05:49 +0100

-----------------------------------------------------------------
Revision: 4881fda3f8bba4d95d019f8719d5c2ae2e3492a9
Ancestor: 223e9fc0fe8d200a058249ad74daa2bba501c8eb
Author: address@hidden
Date: 2008-03-28T03:20:34
Branch: net.venge.monotone.nuskool

Modified files:
        cmd_scgi.cc gsync.cc gsync.hh http_client.cc http_client.hh
        json_msgs.cc json_msgs.hh

ChangeLog: 

        Experiment to see if including file data and file delta objects
        with revision text in request/response pairs helps things go any
        faster. Apparently it does not but this seems like it might be
        useful anyway so we'll keep it for now. Time to get out the
        profiler.

        * cmd_scgi.cc (do_cmd): add handlers for get_full_rev and
        put_full_rev requests

        * gsync.{cc,hh} (load_full_rev, store_full_rev): new functions to
        load and store a single revision and all associated file data and
        file delta objects
        (push_full_revs, pull_full_revs): new functions to push and pull
        revisions with their associated file data and file delta objects
        (push_revs): remove transaction_guard; this method only requires
        read access to the database
        (run_gsync_protocol): use push_full_revs and pull_full_revs to
        reduce number of http round trips

        * http_client.{cc,hh} (push_full_rev, pull_full_rev): new
        functions to push and pull a single revision and all associated
        file data and file delta objects in a single request

        * json_msgs.{cc,hh}: add symbols for full_rev request/response
        types
        (file_data_record, file_delta_record): re-introduce structs
        removed in an earlier revision
        (encode_data_records, decode_data_records): new functions for
        encoding/decoding file_data_records
        (encode_delta_records, decode_delta_recordS): new functions for
        encoding/decoding file_delta_records
        (encode_msg_get_full_rev_request, decode_msg_get_full_rev_request,
         encode_msg_get_full_rev_response, decode_msg_get_full_rev_response,
         encode_msg_put_full_rev_request, decode_msg_put_full_rev_request,
         encode_msg_put_full_rev_response, decode_msg_put_full_rev_response):
        new functions for full_rev request response types


Attachment: txtyhGraGAJTz.txt
Description: Diff [223e9fc0fe8d200a058249ad74daa2bba501c8eb] -> [4881fda3f8bba4d95d019f8719d5c2ae2e3492a9]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]