Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3791

Improve AsynchronousDataStore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC4
    • 1.5-RC5
    • wicket
    • None

    Description

      org.apache.wicket.pageStore.AsynchronousDataStore (ADS) is designed to wrap another IDataStore and save the serialized pages in a different thread.
      The class is only used in unit tests.
      Running org.apache.wicket.page.persistent.disk.DiskDataStoreTest.test1() with ADS seems to be actually slower than running it w/o ADS.
      We need to review the code in ADS and either improve it to scale better or drop this class completely.

      Attachments

        1. help-asyncthread.diff
          3 kB
          Antti S. Lankila
        2. AsynchronousDataStore.java
          7 kB
          Andrea Del Bene
        3. async-ds.patch
          9 kB
          Peter Ertl

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: