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

Create interactive tutorial on using Infinispan

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              aamonten_jira Alejandro Montenegro (Inactive)
              manik_jira Manik Surtani (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived:

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