Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10703

Queue drainTo should be batched operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7
    • None
    • data structures
    • Docs Required

    Description

      Currently drainTo(Collection<T> to, int amount) implemented as cyclic call of poll() method, which is ineffective.

      Need to be implemented as truly batch operation - trying to read required amount of data at once.

      current design prevent high-performance data transfer cross queue.

      P.S. addAll implemented as batch, so together with right drainTo implementation, it will be complete high-performance batched read&write queue solution

      Attachments

        Activity

          People

            Unassigned Unassigned
            dimonana Dmitry Kiriy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified