Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-95

Create interactive tutorial on using Infinispan

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 4.0.0.CR3, 4.0.0.Final
    • None
    • None
    • None
    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial
    • Low

    Description

      Should be a wiki page that takes the user through a set of examples, in an interactive fashion.

      1. Use Groovy as an interactive console (specify that interactive Java console of choice could be used: BeanShell, Jython, JRuby, even Scala)
      2. Basic usage: create cache manager, create cache, put, remove, get, replace, putIfAbsent, size. Demonstrate use of lifespans and maxAge
      3. Configure with a transaction manager, demonstrate transactional use
      4. Configure with a cache store. Demonstrate how state is persisted. Restart cache, to demonstrate durability of cached data.
      5. Configure with eviction. Demonstrate eviction with FIFO.
      6. Configure with eviction and a cache store. Demonstrate FIFO + storage
      7. Configure with REPL_SYNC + transactions. Start 2 shell instances, and demonstrate caches replicating put, get, remove. Demonstrate with transactions as well.

      For each of the above, we should create a configuration file. sample-configurations.xml, with several named caches - 'Local', 'LocalTx', 'CacheStore', 'Eviction', 'CacheStoreEviction', 'ReplicatedTx'. This sample cfg file should be shipped with the distribution so that people can refer to it.

      Attachments

        Activity

          People

            aamonten_jira Alejandro Montenegro (Inactive)
            manik_jira Manik Surtani (Inactive)
            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:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified