Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JCR-1.12.0-JBC
    • Fix Version/s: JCR-1.12.0-Beta06
    • Component/s: None
    • Labels:

      Description

      We need to review all the current JBC configs (in conf/standalone and conf/cluster) and apply the following recommendations:

      1. The lockAcquisitionTimeout should not exceed 10000 or at worse 20000 because don't forget that usually a TimeoutException is due to a deadlock so no need to make the end user wait for nothing too long
      2. The JDBCCacheLoader for the lock persistence should be shared since the database is shared
      3. The algorithm class of the eviction policy used by the cache of the Indexer should be org.jboss.cache.eviction.FIFOAlgorithm since this cache is more a queue than a real cache and FIFO is more convenient for a queue
      4. The multiplexer should be used in the cluster config to avoid opening too many sockets, see an example below:
      <clustering>
      <sync />
      <!-- Here is where we specify the multiplexer stack to use. -->
      <jgroupsConfig multiplexerStack="fc-fast-minimalthreads"/>
      </clustering>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                areshetnyak Alex Reshetnyak
                Reporter:
                nfilotto Nicolas Filotto
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  3h