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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.1, 3.5.2
    • Affects Version/s: 3.4.0-rc0
    • Component/s: mongoreplay
    • Labels:
      None
    • Platforms 2016-11-21
    • Not Needed
    • v3.4

      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%
      

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

              Created:
              Updated:
              Resolved: