Blogs Creating cache with wizard - Infinispan 14

Creating cache with wizard - Infinispan 14

Dear Infinispan Community,

An effective and concise way to create a cache with Infinispan Console is here. Creating a cache will now be effortless and user-centric with a wizard based intuitive approach.

With the series of prompts, now user can create a cache just by selecting configuration.

Choose your method

Enter a unique name for the cache and choose your desired way to create it.

Two options to create a cache are:
  1. Manually Adding JSON/YAML/XML configuration

  2. Wizard based selection of configuration

Getting started

If the user already has a JSON/YAML/XML file then it is preferable to go with the first option and directly edit the file.

Add configuration

But in case you are looking to create a cache from scratch then Wizard based cache creation is the best way to go ahead. This blog talks in detail about the Wizard based method.

Build configuration

Basic options

Selecting “Build cache configuration” will land on the below page containing a series of prompts or options to create your cache.

Basic options

Every option has a default value selected beforehand with tooltips providing brief information about each option.

Tooltip

Infinispan capabilities

In this step, we select features and configure basic options for the cache.

The following features can be selected:

  1. Bounded

  2. Indexed

  3. Authorization

  4. Persistence

  5. Transactional

  6. Backups

Features

Selecting a feature will provide basic options for that feature. Some fields are marked mandatory in order to move to the next step.

If the required details are not filled in, a warning will be displayed at the top.

Feature Bounded warning

After providing the required details, you can move to the next step.

Feature Bounded

More than one feature can be selected and each feature’s availability is checked. If the feature is disabled, a warning is displayed and the user can not go ahead. In such a scenario, the user can either remove that feature completely or make changes to the server.

Invalid Feature

Cache tuning

Last step in configuring the cache allows the user to tweak advanced options.

Cache tuning

On selecting a certain feature, its advanced configurations can be added.

Feature advance option

Review configuration

The configurations selected earlier are reviewed.

Review Config

The JSON configuration is presented inside a code editor, which can be modified by the user.

Cache will be created on clicking the "Create" button and user will land on the Data distribution page.

The user can also download this configuration in JSON, YAML, or XML format.

Download cache config

Get it, Use it, Ask us!

We’re hard at work on new features, improvements and fixes, so watch this space for more announcements!

Please, download and test the latest release.

The source code is hosted on GitHub. If you need to report a bug or request a new feature, look for a similar one on our JIRA issues tracker. If you don’t find any, create a new issue.

If you have questions, are experiencing a bug or want advice on using Infinispan, you can use GitHub discussions. We will do our best to answer you as soon as we can.

The Infinispan community uses Zulip for real-time communications. Join us using either a web-browser or a dedicated application on the Infinispan chat.

Dipanshu Gupta

Dipanshu is an Associate Software Engineer at Red Hat and core developer @Infinispan project. He is accountable for the development of the Infinispan console.