Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1501

Add option to set capture buffer size to avoid packet loss

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.4.0-rc0
    • 3.4.1, 3.5.2
    • mongoreplay
    • None
    • Not Needed
    • v3.4
    • Platforms 2016-11-21

    Description

      Test consists of 8 threads each inserting 500 k documents into a single collection, followed by a single thread doing a collection scan. Two variants were run, one with empty documents, one with 1 kB documents.

      Comparison of packet statistics; each numbers is average over five runs:

                                                 RECEIVED    DROPPED   LOSS
       
      empty docs, tcpdump                          22111       1427      6%
      empty docs, mongoreplay (uncompressed)       22182       2709     12%
       
      1k docs, tcpdump                            392348      58482     15%
      1k docs, mongoreplay (uncompressed)         396419     188953     48%
      1k docs, mongoreplay (compressed)           394912     194466     49%
      

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            bruce.lucas@mongodb.com Bruce Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: