Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-638

Configurable throttling at the driver level

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Write Operations
    • None

    Description

      We find that we need to "throttle" our writes while ensuring that we don't negatively impact reads on our secondaries. We are working on monitoring qr, lock% and replication lag as part of a replica set "health check" method. Only once the "health check" returns a positive result will we process the updates (or deletes) to Mongo. This will ensure that we don't overwhelm the oplog with a bunch of writes that then (via high lock contention) slow down reads so much that our jbosses start to run out of threads.

      Instead of creating this method in our code and then calling it throughout our entire application, it would be ideal if we could make this a configuration of the driver that we set once and use throughout the entire application.

      Attachments

        Activity

          People

            Unassigned Unassigned
            christopher.price@mtvn.com Christopher Price
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: