Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-536

The overhead of ReadAheadCache is too large

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hedwig-server
    • Labels:
      None

      Description

      Testing with 300 bytes per message, we observed that when the presentCacheSize is 128M, while the readAheadCache size is ~800M. Total ratio is 800/128 ~= 6.25 with 5.25 times overhead.
      So if user sets readAheadCache limit size to 2G, it may consumes maximum about 15G which is too large.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jiannan Jiannan Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: